在CentOS 5.5上安装 Tomcat5.5 及JRE

来源:互联网 发布:网络黑客面具的来源史 编辑:程序博客网 时间:2024/05/17 01:01

 

下载

apache-tomcat-5.5.31.tar.gz

jre-6u23-linux-i586-rpm.bin

 

从这里下载tomcat起动文件(脚本)(文件名:tomcat)

 

http://www.satollo.net/wp-content/plugins/download-monitor/download.php?id=13

 

gunzip apache-tomcat-5.5.31.tar.gz

tar xvf apache-tomcat-5.5.31.tar

mv apache-tomcat-5.5.31 /usr/tomcat

 

chmod a+x jre-6u23-linux-i586-rpm.bin

./jre-6u23-linux-i586-rpm.bin

 

mv tomcat /etc/init.d/

chmod a+x /etc/init.d/tomcat

chown root:root /etc/init.d/tomcat

chkconfig --add tomcat

chkconfig --list

 

原创粉丝点击