Domain Name Search | www.
   
VPS Memory
Requirements
VPS Support
Learn How You
Can Get Started Today
Need Help Choosing
The Right Plan?
Transferring From
Another Provider?
How To Order?
   

 

 

 

 

Tomcat VPS Hosting

 

How to install Tomcat 4, 5, 6 on VPS

 

We offer three versions of Tomcat server:

 

  • Tomcat 4.1.37
  • Tomcat 5.5.26
  • Tomcat 6.0.16

 

 

To install tomcat server, you need to log into your VPS account via SSH and on command prompt type: yum -y install eroute-tomcat4

 

VPS Tomcat4 installation

 

After few seconds, Tomcat 4.1.37 is installed in /var/tomcat4/ directory & configured!

Wasn't that easy ?! :)

 

To start tomcat you would type: service tomcat4 start

 

To restart tomcat 4 you would need to type: service tomcat4 restart

 

 

Now lets say you have changed your mind and decided to use Tomcat 6.0.16 instead of Tomcat 4.1.37. This can be done easily:

 

1) Switch off Tomcat 4 by command: service tomcat4 stop

2) Remove Tomcat 4 by command: yum remove eroute-tomcat4

3) Install Tomcat 6.0.16 by command: yum -y install eroute-tomcat6

4) Start Tomcat 6 by command: service tomcat6 start

 

After that go to: http://youip-or-yourdomain/ in your browser and you'll see Tomcat 6 welcome page.

 

Tomcat manager is also configured, to access tomcat manager you would go to:

http://yourip-or-yourdomain/manager/html

 

There you would need to type in username & password already specified in:
/var/tomcat6/conf/tomcat-users.xml.

 

Tomcat installation folders are:

Tomcat 4 server folder is located in: /var/tomcat4/ directory.

Tomcat 5 server folder is located in: /var/tomcat5/ directory.

Tomcat 6 server folder is located in: /var/tomcat6/ directory.

 

There you will find "webapps" folder where you will upload your JSP pages, java classes, libraries etc..

 

 
Host With Confidence
* 30 Days Money Back Guarantee
* 100% Safe, Secure Ordering
* We Value Your Privacy
Ask A Question
   
 Name:
 Email: