Tomcat VPS Hosting Install Instructions
A2 Hosting offers Tomcat Hosting! Tomcat is available for install in the CentOS, Debian, Fedora, and Ubuntu 10.04 templates on our VPS Hosting packages. It can be installed by running the following as root in your VPS: (the quickinstaller is not compatible on our Managed VPS plans)
sh /usr/sbin/quickinstaller.sh
Choose the "Install Tomcat" from the presented menu. The install process will run through updating your VPS, and then install TomCat with all the default settings. After installation you can find Tomcat running on port 8080:
yourvpsip:8080
For Example:
192.168.0.1:8080
You will be presented with the default Tomcat "Welcome Page"
To access the TomCat WebApp manager, you will need to setup users. This is done in the tomcat-users.xml file which you will find in /opt/tomcat-7/conf directory. There are examples of how a user needs to be setup within the file. Just copy the example and change the settings as you need them.
For Example:
<user username="mytomcatuser" password="tomcatrules" roles="manager-gui"/>
After you add your user information, you will need to stop and restart Tomcat for the change to take effect:
/opt/tomcat-7/bin/catalina.sh stop /opt/tomcat-7/bin/catalina.sh start
You can now access your web based manager for TomCat. If you need help with the Manager you will find the documentation here: TomCat Manual