wiki:oid/WorkLog/09-01-16

Version 2 (modified by jazz, 16 years ago) (diff)

--

2009-01-16

  • 安裝 Tomcat 5.5
    oceandb:~# apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
    oceandb:~# cat << EOF > /etc/tomcat5.5/tomcat-users.xml
    
    <?xml version='1.0' encoding='utf-8'?>
    <tomcat-users>
      <role rolename="admin"/>
      <role rolename="manager"/>
      <user username="${YOUR_NAME}" password="${YOUR_PASSWORD}" roles="admin,manager"/>
    </tomcat-users>
    
    oceandb:~# /etc/init.d/tomcat5.5 restart