Install Tomcat 7 on Ubuntu

Quick notes how to install Apache Tomcat 6 on Ubuntu 14.10

Install tomcat and admin

Set up security

Change login and password in /etc/tomcat7/tomcat-users.xml

Restart tomcat service

Try http://localhost:8080 , it should be fine.

If you are not able to open manager at localhost:8080/manager with your login and password, try to edit /etc/tomcat7/server.xml. Find the section  <Engine name="Catalina" defaultHost="localhost">  and add element  <Realm className="org.apache.catalina.realm.MemoryRealm" />  just after it. After this change the Engine section should start like like

Restart Tomcat again

http://localhost:8080 and http://localhost:8080/manager should be good now.

 

Leave a Reply

Your email address will not be published.