Apache Tomcat 8 Installation on Ubuntu 14.04
Apache Tomcat, often referred to as Tomcat, is an open-source Java Servlet Container developed by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, JavaServer Pages (JSP), Java EL, and WebSocket, and provides a "pure Java" HTTP web server environment in which Java code can run.
Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation, released under the Apache License 2.0 license, and is open-source software.
1) A machine with Ubuntu 14.04 LTS operating system installed.
2) Apache Tomcat 8 software (Download Here)
Apache Tomcat 8 Installation
The following steps to install tomcat on your machine.
Step 1 - Installing java 7. Open a terminal (CTRL + ALT + T) and type the following sudo command.
Check it installed properly or not.
Step 2 - Creating tomcat directory. Open a terminal (CTRL + ALT + T) and type the following $ sudo command.
Step 3 - Change the ownership and permissions of the directory /usr/local/tomcat. Here 'hduser' is an Ubuntu username.
Step 4 - Change the directory to /home/hduser/Desktop , In my case the downloaded apache-tomcat-8.0.30.tar.gz file is in /home/hduser/Desktop folder. For you it might be in /downloads folder check it.
Step 5 - Untar the apache-tomcat-8.0.30.tar.gz file.
Step 6 - Move the contents of apache-tomcat-8.0.30 folder to /usr/local/tomcat
Step 7 - Edit $HOME/.bashrc file by adding the java and catalina path.
Step 8 - Reload your changed $HOME/.bashrc settings
Step 9 - Change the directory to /usr/local/tomcat/bin
Step 10 - Starting the tomcat web server.
Step 11 - Check the web here. Open a browser and type the following URL.
Step 12 - Stoping the tomcat web server.
Please share this blog post and follow me for latest updates on