Tomcat Installation Steps for Windows & add tomcat to eclipse
Tomcat is an open source java application server provided by Apache, it is the most popular application server for java environment.
1. Prerequisite
Tomcat doesn’t work without java, so before installing tomcat on the machine, you should install a compatible java runtime version and setup JAVA_HOME environment variable. Both java and tomcat versions should be compatible so i recommend to always install the same version for java and tomcat, in this tutorial we use java 8 and tomcat 8.
2. Installation
Download the windows service installer from here:
https://tomcat.apache.org/download-80.cgi
Install the downloaded file, pass all the setup until reaching Configuration Options.
- here you can set the service name, the shutdown port and the running port of tomcat, by default tomcat runs on port 8080, so i recommend to keep the default configuration as it is, you can always change these configuration after the installation.
- After completing the installation, the tomcat folder can be found under “C:\Program Files\Apache Software Foundation\Tomcat 8.5”.
- If you open the windows services, you find a new service called Apache Tomcat 8.5 Tomcat8, change its startup type to Automatic. ----
- To check the windows service list of services installed on windows machine use
WINDOWS KEY + R and type services.msc
And here you go, tomcat is installed as a windows service, and will start at the windows startup.
Source: https://www.programmergate.com/step-by-step-guide-for-installing-tomcat-on-windows/
Add tomcat to eclipse:
https://ibytecode.com/blog/how-to-configure-apache-tomcat-in-eclipse-ide/
Comments
Post a Comment