quinta-feira, 28 de julho de 2011

Installing Tomcat 6 on CentOS 5

May be a niche post but after some fighting with my virtual server running CentOS 5 it boiled down to a really simple solution:
1cd /etc/yum.repos.d
2wget 'http://www.jpackage.org/jpackage50.repo'
3yum update
4yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps
5service tomcat6 start
If you have problems accessing the server from another machine you may need to do the following:
1setup
2"Firewall configuration"
3"Customize"
4"Other ports" 8080:tcp
5"Ok"
6service tomcat6 restart
UPDATE:
If you get a dependency error try this:
1rpm -Uvh 'http://plone.lucidsolutions.co.nz/linux/centos/images/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm'
More info:http://plone.lucidsolutions.co.nz/linux/centos/jpackage-jpackage-utils-compatibility-for-centos-5.x
(update provided by Tony, thanks)

Nenhum comentário:

Postar um comentário