Ubuntu initial installation of jdk and tomcat

sudo apt-get update 

 

Download jdk tomcat and unzip it

 

 

open etc/profile

Configure JAVA_HOME at the end of the file

export JAVA_HOME=/usr/java/jdk1.7.0

 

 

configure server.xml

8080 to 80

 <Context docBase="bbtu" path="/" reloadable="true" source="org.eclipse.jst.jee.server:bbtu"/></Host>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326432610&siteId=291194637