First You may go to http://tomcat.apache.org website.
Click on Tomcat 8.0 link in Download section on the left the website.
Choose zip in Cores section.
When your file is downloading, copy it into any path. I copy it into D disc.
Unzipp it and change name for tomcat8. It will be shorter name.
In this moment your tomcat server is installed. But it is time configure it.
If you want to work in tomcat server you must install java jdk environment. Last version java is in this time java 8. After instalation java set JAVA_HOME and JRE_HOME path.
So go to Start -> Control Panel -> System -> Advanced system settings. Switch to
Advanced tab -> Environment Variables. In System Variables section click the New buton.
In Variable Name field write JAVA_HOME and in Variable Value write your
JDK installed directory. In my it is C:\Program Files\Java\jdk1.8.0
In System Variables section another time click the New buton.
In Variable Name field write JAVA_JRE and in Variable Value write your
JRE installed directory. In my it is C:\Program Files\Java\jre8
Check your JDK and JRE settings. Open CMD console and type:
and type Enter.
So go to Start -> Control Panel -> Windows Firewall. Click on change settings. Switch to Exceptions tab. Click Add port. In the window in Name field write name of port, example: localhost:9090 and in Number of port field write 9090. Select TCP protocol and click the OK button. You see this name on the list. Click OK button in another window.
In the next step I must configure running default servlets. Open web.xml file and find part with default servlet.
Change value in listings parameter from false to true.
This configuration listings is handy for test.
Open context.xml configuration file and add reloadable atributte with true value. It is handy for test. Changes in code will be automatic reload on the server.
<user username=”tomcat” password=”tomcat” roles=”manager-status,manager-script,manager-gui“/>
It command start tomcat server.
In browser write address:
If you see this website:
Stopping tomcat in console write shutdown.