Java 5 설치

$ sudo apt-get install sun-java5-jdk

Installing Apache Tomcat 5

$ sudo aptitude install tomcat5 tomcat5-admin tomcat5-webapps

Run, Stop, And Restart Apache Tomcat

Use the following command to run Apache Tomcat:

$ sudo /etc/init.d/tomcat5 start

To stop it, use :

$ sudo /etc/init.d/tomcat5 stop

Finally, to restart it, run :

$ sudo /etc/init.d/tomcat5 restart

Using Tomcat5

You can find tomcat up and running (if you have followed the previous steps) at the following ip:

127.0.0.1:8180 

Installing Sesame

Login exception 발생시

sudo vi /etc/tomcat5.5/policy.d/04webapps.policy

를 하여 다음 문장을 추가한다.

// Required for Sesame
permission java.util.PropertyPermission "java.io.tmpdir", "read";

ZbmonWiki: ubuntu (2006-11-23 08:48:26에 zbmon가(이) 마지막으로 수정)