Posts

Showing posts with the label Tomcat

Running Multiple Tomcat Instances on Single Machine

In this post we will see how to run multiple tomcat instances on single machine and under single user account. We first see the tomcat directory structure. .

How To Install Apache Tomcat 7 On CentOS 6

To install Apache Tomcat on CentOS, make sure you have the latest version of java installed on your system. Otherwise just download the Java RPM or BIN from the following link: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html Install the httpd package using YUM [root@server ~] # yum install httpd -y Start the httpd service and make it available even after reboot. [root@server ~]   # service httpd start [root@server ~]   # chkconfig httpd on Check which version of java is installed by default, on your system  [root@server ~]   # java -version   Create a directory java under /usr [root@server ~]   # mkdir /usr/java Go to the download location where you downloaded the JDK file. [root@server ~]   # cd Downloads [root@server Downloads]   # cp jdk-6u25-linux-i586-rpm.bin /usr/java [root@server Downloads]   # cd /usr/java [root@server java]   # chmod 775 jdk-6u25-linux-i586-rpm.bin  [root@ser...