How to Install and Configure Tomcat 8 on windows
Choose zip File In Core section.
Unzip the Downloaded file and go to the folder.Now the
tomact 8 is installed but not configured.
To configure :-
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
Click OK button.
In System Variables section another time click the New button.In variable Name field write JAVA_JRE and in variable value write JRE installed directory.
C:\Program Files\Java\jre8
Click the OK button.Then check your JDK and JRE settings ,Open CMD Console and type,
set JAVA_HOME
set JRE_HOME
Goto Tomcat Configuration files are in conf folder.To add user for manage tomcat server. Open tomcat-user.xml file
Click OK button.
In System Variables section another time click the New button.In variable Name field write JAVA_JRE and in variable value write JRE installed directory.
C:\Program Files\Java\jre8
Click the OK button.Then check your JDK and JRE settings ,Open CMD Console and type,
set JAVA_HOME
set JRE_HOME
Goto Tomcat Configuration files are in conf folder.To add user for manage tomcat server. Open tomcat-user.xml file
open tomcat user.xml and type this comment
<user username="tomcat"
password="tomcat" roles="manager-gui","manager-script"/>
Startup Tomcat Server:
D:->Tomcat->bin->startup
(windows batch file) Double Click to Start Tomcat Server.
After Starting the server
In browser write address: http://localhost:8080 If you see
this website:
Shutdown Tomcat Server:
D:->Tomcat->bin->shutdown (windows batch file)
Double Click to Stop Tomcat Server.
No comments:
Post a Comment