Monday, January 5, 2015

How to install Apache Tomcat Server on Ubuntu

Here is the simplest way to install Tomcat 7 on Linux Ubuntu 14.04
Execute these commands from terminal

sudo apt-get update
sudo apt-get install tomcat7


Try run:
sudo /usr/share/tomcat7/bin/startup.sh 

If you've got an error do this:
sudo dpkg-reconfigure tomcat7

Can't run Tomcat from Intellij Idea?
cd /usr/share/tomcat7 
ln -s /etc/tomcat7 conf 
chmod -R 655 /etc/tomcat7/

No comments: