Download Tomcat8:
Find the Latest link from: http://tomcat.apache.org/download-80.cgi
wget http://mirrors.ispros.com.bd/apache/tomcat/tomcat-8/v8.0.24/bin/apache-tomcat-8.0.24.tar.gz
Install Tomcat8:
tar -xzvf apache-tomcat-8.0.24.tar.gz
mv apache-tomcat-8.0.24 /opt/tomcat
Create Tomcat User and Groups:
groupadd tomcat
useradd -g tomcat -d /opt/tomcat tomcat
usermod -G www-data tomcat
chown tomcat:tomcat /opt/tomcat -R
Download the Tomcat8 init Script and move to /etc/init.d/
wget http://www.mogilowski.net/wp-content/plugins/download-monitor/download.php?id=21
Initialize tomcat:
chmod +x /etc/init.d/tomcat
update-rc.d tomcat defaults
Activate the Tomcat Users:
nano /opt/tomcat/conf/tomcat-users.xml
Edit the code:
<
pre> <//pre>