2012/07/20

Install Tomcat 6 in CentOS 5.8


  1. Install Tomcat 6 Process
    1. cd /etc/yum.repos.d
    2. wget 'http://www.jpackage.org/jpackage50.repo'
    3. yum update
    4. yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps
    5. service tomcat6 start
  2. If you have problems accessing the server from another machine you may need to do the following:
    1. setup
    2. "Firewall configuration"
    3. "Customize"
    4. "Other ports" 8080:tcp
    5. "Ok"
    6. service tomcat6 restart
  3. If you get a dependency error:
    1. rpm -Uvh 'http://plone.lucidsolutions.co.nz/linux/centos/images/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm'
  4. tomcat_home: /usr/share/tomcat6
  5. "tomcat" is a default execute tomcat server user.

沒有留言:

NGINX SSL/設定檔案

#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #...