setup tomcat5 in CentOS
sudo yum install *tomcat5*
/etc/init.d/tomcat5 start
/etc/init.d/tomcat5 stop
edit /etc/tomcat5/tomcat-users.xml as
<tomcat-users>
<role rolename="manager"/>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="admin" password="admin" roles="manager,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
/etc/init.d/tomcat5 start
website:
/var/lib/tomcat5/webapps