How install and configure Tomcat 8 on windows

How to Install and Configure Tomcat 8 on windows

First you gotohttp://tomcat.apache.org Website and download tomcat 8.0

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

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.

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

WordPress.com.

Up ↑

%d bloggers like this: