The author is Java A cute new front end , The computer has just undergone a transformation , And then I reloaded it Win10Pro, All development tools have to be re installed , After some tangle, I decided to take some development tools from Windows Up to Linux On , First of all, consider Ubuntu17.04, It's said that this is a desktop version of the classic Linux 了 , But maybe I have some wonderful flowers , Then install Ubuntu I don't think it's very enjoyable in the future , Then the main position was transferred to RedHat Come up. .

First RedHat What I choose is RedHat Enterprise Linux7, This is the current server used more of a Linux, So what? , We can directly do a good job of front-end, put it on the server, and then we can access it , Easy to develop and test , Some time ago, I introduced myself to red hat in the blog park 7 Install configuration on eclipse The experience of , Of course, the installation was very successful , You can use , What about me today , by Java Web Prepare for the development of , Then download the development tools , Here, I chose Apache's Tomcat, It's also mainstream web A kind of server , In order to keep up with the trend of software development , So here's what I chose Tomcat9.0 edition , Now I'd like to attach Tomcat Download link for :https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.0.M26/bin/apache-tomcat-9.0.0.M26.tar.gz, The following is the download link of the document :https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.0.M26/bin/apache-tomcat-9.0.0.M26-fulldocs.tar.gz, Yes, of course , Here's the download tar package , I believe most people should know tar Bag .

Just go into the installation process :

tar -xzvf apache-tomcat-9.0..M26.tar.gz # Use the unpack command to unpack 
cd apache-tomcat-9.0..M26 # Enter the unpacked Directory
#Tomcat It's the green version , So it can be used after unpacking , No need to install

So this seems to be done , But there is still a hidden danger when building the project , It may cause our server to start but not access normally in the next step .

Let's continue Tomcat Use process of :

First , Create a new one project(Dynamic Web project), Here's the picture :

Then we follow the guide step by step :

spot New Runtime

Next>

Then click browser choice Tomcat The path of , Below jre Choose the one you installed before jdk1.8, Finally, click finish

One more time finish

This creates a project

Now let's add server The server :

Click on the blue words in the picture

Tomcat It's the one you just chose , Then click next Just fine

Add the new project to , So the server loads successfully , So let me test the server :

Right click selection start, Turn on the server , Then open the Firefox, Input :http://localhost:8080/

It turns out that there's something wrong with the picture above :The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

The solution is as follows :

Right click Tomcat The server , Then choose add and remove, Let's remove the project we just added , Then double-click the server

This interface appears , Choose the second of the three options in the lower left corner , Then save , again add Just restart the server to find that it can be used :

Red Hat Enterprise Linux7 To configure Tomcat More articles about

  1. Red Hat Enterprise Linux7 Installation and oracle 12c Installation

    Red Hat Enterprise Linux7 Installation and oracle 12c Installation All the parameters used in this document are in the appendix at the end of the paper Red Hat Enterprise Linux7 Installation After creating a new virtual machine , hang ...

  2. How to install win10+Red Hat Enterprise Linux Dual system ?

    1, How to install win10+Red Hat Enterprise Linux Dual system ???? There are many people. ( No investigation , Maybe I want to put it on myself ) Want to install Red Hat Enterprise Linux System , But it's not ...

  3. Configure Always On Availability Group for SQL Server on RHEL——Red Hat Enterprise Linux On the configuration SQL Server Always On Availability Group

    Here's a brief introduction to how to Red Hat Enterprise Linux Step by step create a SQL Server AG(Always On Availability Group), And the pits encountered in the configuration process ...

  4. Red Hat Enterprise Linux 7.x New characteristics

    Red Hat Enterprise Linux 7.x New characteristics RHEL7 Introduction to new features 1.      RHEL7 The current support architecture 64-bit AMD.64-bit Intel.IBM POWER.IBM ...

  5. Red Hat Enterprise Server 6.0 install Sendmail Related packages

    Because of the need in Linux The server (Red Hat Enterprise Linux Server release 6.0) Configure mail service on , Need to install Sendmail package , commonly Sendmail There are two ways to install the :R ...

  6. Red Hat Enterprise Linux 6.6 Installation experience

    Red Hat Enterprise Linux 6.6 There are five options in the installation interface of , This is the same as before Red Hat Enterprise Linux 5.x There are some differences in the installation interface of .   Install or upgrade an existing system ( ...

  7. Red Hat Enterprise Server 5.8+oracle10g( Chinese interface ) install

    Red Hat Enterprise Server 5.8+oracle10g( Chinese interface ) install VMware workstation10( virtual machine ) Next, install Red Hat Enterprise Edition 5.8 Create a virtual machine New virtual machine , choice ...

  8. Xiaobai installation linux( virtual machine )red hat enterprise linux 6

    forehead , This seems to be my first blog in name , But I didn't seem to write about him first , Don't worry , Are all the same .( I'll pretend it's the first blog in my life ) After college , It was a long time before I found that I liked it linux Of , Because I feel very tall , So I taught myself a lot about it ...

  9. Red Hat Enterprise Linux 5 Installation serial number

    To ensure that the installed components match the subscription , Red Hat Enterprise Linux 5 You need to enter an installation number . It is used to configure the installation program to provide the correct package . The installation number is included in your subscription . If you don't enter the installation number , Only the core server or Deskto ...

Random recommendation

  1. In the static method this

    1using System; 2using System.Web.Script.Serialization; 3 4namespace Demo 5{ 6    /**//// <summary ...

  2. Java Grammatical sugar 2: Automatic packing and unpacking

    Preface At the beginning, I wanted to learn automatic unpacking and automatic packing. I was attracted by the name , It sounds like it's very high-end , In fact, automatic unpacking . Automatic boxing is very simple content . Automatic unpacking and packing Java A wrapper type is provided for each basic data type . for instance ...

  3. CentOS Installation and configuration Apache php mysql

    Preparation : 1. Configure firewall , Turn on 80 port .3306 port vi /etc/sysconfig/iptables -A INPUT -m state –state NEW -m tcp -p tcp –dp ...

  4. Master slave and forwarding DNS build

    author:JevonWei Copyright notice : Original works Lord DNS install bind software package yum -y install bind systemctl start named systemctl enable ...

  5. mysql Database third bullet

    mysql Database knowledge development View The view is a virtual table ( It's not real ), Its essence is [ according to SQL Statement to get a dynamic data set , And name it ], Users only need to use [ name ] You can get the result set , And you can use it as a table . SELECT ...

  6. mybatis Of #{} Placeholders and ${} The difference between splices

    #{} Place holder : placeholder   If the basic type is passed in , that #{} The variable names in can be written at will   If the parameter passed in is pojo type , that #{} The variable name in must be pojo Properties in . attribute . attribute - ${} Splicer : String original splicing   If ...

  7. Android Special effects album ( Two )——ViewPager Render background color gradient ( The guide page )

    Android Special effects album ( Two )--ViewPager Render background color gradient ( The guide page ) home page :http://blog.csdn.net/qq_26787115/article/details/50439020 ...

  8. apply Let&#39;s Encrypt Free forever SSL certificate

    Let's Encrypt brief introduction Let's Encrypt As a free and public SSL The project is gradually spread and used by the majority of users , By Mozilla.Cisco.Akamai.IdenTrust.EFF And so on ...

  9. The applet returns to the top top rolling

    wxjs const app = getApp(); Page({ data:{ // top Label display ( Default not to show ) backTopValue:false }, // Listen to scroll bar coordinates onPageSc ...

  10. [ turn ]ORA-01555 Error summary ( One )

    Original address :http://blog.csdn.net/sh231708/article/details/52935695 This article is undo A supplement to the summary of related issues , because ORA-01555 Mistakes and undo with ...