Tomcat installation method
1. After downloading Tomcat from this site, get a compressed package locally on your computer.
2. Use360 compressionThe software decompresses it, and it’s ready after the decompression is complete. (Remember the storage location of the decompressed file, which will be used later in the environment variable configuration)
How to use Tomcat
Tomcat environment variable configuration tutorial
1. Right-click [This Computer]-->Select [Properties]->[Advanced System Settings]-->[System Variables].
2. Then, click the [New] button under the "System Variables" box. (1) Create a new CATALINA_BASE variable. Variable name: CATALINA_HOME variable value: Tomcat installation location, which is the location of the bin file in the folder you just unzipped.
3. Create a new CATALINA_HOME variable. Variable name: CATALINA_HOME variable value: The variable value is the same as above. Fill in the installation location of Tomcat.
4. Find the Path variable and click Edit. Variable name: Path Variable value: %CATALINA_HOME%bin.
5. Open the cmd command prompt, enter startup and press Enter, you can see that Tomcat has started successfully.
How to change the default port number in tomcat
1. For the installation path of tomcat, go to the conf directory and open the server.xml file.
2. After opening the server.xml file, you can see that the default port is 8080.
3. You can modify it yourself.
4. If you want to use multiple tomcats at the same time, you also need to change the 8009 port. Here, change the port to 18009
5. Change port 8005, here change the port to 18005
6. After restarting tomcat, enter "http://localhost:9999/" in the browser and open tomcat, which means the setting is successful. You can also open another tomcat to check whether both tomcats can be enabled.
7. If it is an installed version of tomcat, you will be prompted to set the port during installation.
Tomcat FAQ
How to deploy web project on tomcat
1. Integrate tomcat into eclipse. Click on Servers in eclipse to configure a container. If the Servers are not displayed, you need to check the servers through windows--show view.
2. Eclipse adds a local tomcat container. Click "create a new server" under servers
3. Or enter the service configuration through windows--preferences--servers.
4. In the preferences window that opens, enter server in the input box at the top, then select Runtime and click [add] on the right.
5. Select the Tomcat version to install on your computer, and select [next] after completion.
6. Select the Tomcat installation location. Click [finish] after completing the selection.
7. Add and delete web projects on the tomcat container. Right-click "Add and Remove" on tomcat to add a web project and select the project to the right.
8. Start tomcat and load the web project on tomcat. Right-click on tomcat and click "Start", or click the "start" icon on the toolbar to start the web project.
Tomcat update log
Sweep the bug out and carry it out to the end
Optimize user feedback issues and improve detailed experience
Huajun editor recommends:
Tomcat is a powerful office development software that supports any system of win7 and win10. Tomcat has also been continuously updated and improved, and various more practical functions have continued to be added. It is currently one of the most popular web application servers on the Internet. The editor has also carefully prepared for youQuick Easy FTP Server,Foxmail Server,xampp,SDF Viewer,WinShell






























Useful
Useful
Useful