Skip to content

Instantly share code, notes, and snippets.

@chriswhitcombe
Last active December 16, 2015 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriswhitcombe/5512489 to your computer and use it in GitHub Desktop.
Save chriswhitcombe/5512489 to your computer and use it in GitHub Desktop.
Installing tomcat6 on centos 6.3
#make sure were up to date
yum update -y
#install java 7
yum install -y java-1.7.0-openjdk.x86_64
#install tomcat 6
yum install -y tomcat6 tomcat6-admin-webapps tomcat6-webapps
#edit the users file to allow admin
#vi /etc/tomcat6/tomcat-users.xml
#open the firewall port for tomcat
iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
#start tomcat6
service tomcat6 start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment