CCL Home Page
Up Directory CCL t025.html
slide

Jan K. Labanowski: "Tomcat, servlets, JSPs and other friends"

Tomcat installation

The RPMs put files in many different places:
  • docs: /usr/share/doc/regexp-1.2, /usr/share/doc/tomcat4-4.0.2, /usr/share/doc/xerces-j-1.4.4, /usr/share/doc/xerces-j-manual-1.4.4. Read the /usr/share/doc/tomcat4-4.0.2/TOMCAT4.README.RPM
  • jars: /usr/share/java/*
  • javadoc: /usr/share/javadoc/*
  • tomcat: /var/tomcat4
  • config: /etc/tomcat4/conf/tomcat4.conf
  • startup: /etc/rc.d/init.d/tomcat4
  • tomcat script: /usr/bin/dtomcat4
It also creates user tomcat4 in your /etc/passwd, /etc/shadow and /etc/group. As a root, you may want to assign a password to this user and chown the files which it uses.
passwd tomat4
cd /var/tomcat4
chown -R tomcat4:tomcat4 .

Modified: Wed Feb 13 20:23:37 2002 GMT
Page accessed 352 times since Sun Feb 20 14:16:57 2011 GMT