"/usr/local"
in this example, because I'll pretend I'm root, and I have permission to write there.).If you needed to change the port in Step 0 (e.g. to 8888), you'll need to edit /usr/local/apache-tomcat-5.5.17/conf/server.xml too. Change the line that startscd /usr/local unzip apache-tomcat-5.5.17.zip
to<Connector port="8080"...
<Connector port="8888"...
<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="standard"/> <role rolename="manager"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="admin" password="mysecret" roles="standard,manager"/> <user username="role1" password="tomcat" roles="role1"/> <user username="both" password="tomcat" roles="tomcat,role1"/> </tomcat-users> |
/usr/local/apache-tomcat-5.5.17/bin/startup.sh