Last active
December 16, 2015 23:09
-
-
Save chriswhitcombe/5512489 to your computer and use it in GitHub Desktop.
Installing tomcat6 on centos 6.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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