# cd /usr/local/src
# wget http://apache.mirror.cdnetworks.com/tomcat/tomcat-8/v8.0.0-RC10/bin/apache-tomcat-8.0.0-RC10.tar.gz
# tar zxvf apache-tomcat-8.0.0-RC10.tar.gz
# mv apache-tomcat-8.0.0-RC10 tomcat
# mv tomcat /usr/local/
# vi /etc/profile
export CATALINA_HOME=/usr/local/tomcat
export PATH=$PATH:$CATALINA_HOME/bin
#source /etc/profile
#ln -s tomcat tomcat
#vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
service iptables restart
# /usr/local/tomcat/bin/startup.sh
http://ip:8080 또는 http://localhost:8080
---option --- pathchange for tomcat
#vim /usr/local/tomcat/conf/server.xml
(Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" /)
(Context path="" docBase="/kickingplay/" reloadable="true" /)
댓글 없음:
댓글 쓰기