linux centos 安装tomcat
引用
下载地址
http://apache.etoak.com/tomcat/tomcat-7/v7.0.27/bin/apache-tomcat-7.0.27.tar.gz
把下载的apache-tomcat-7.0.19.tar.gz文件上传到服务器的根目录
#tarzxvfapache-tomcat-7.0.19.tar.gz
#mvapache-tomcat-7.0.19apache-tomcat
#vim/etc/profile
在文件末尾添加:
exportTOMCAT_HOME=/apache-tomcat/
#source/etc/profile
#cd/apache-tomcat/bin/
#chmod777*.sh
#bashcatalina.shstart
测试:
在客户端输入服务器的ip:8080,如下:“http://127.0.0.1:8080”
附加到系统启动
#vi/etc/rc.d/rc.local#/usr/local/tomcat/bin/startup.sh(加到文件末尾)
相关推荐
bluecarrot 2020-11-23
Attend 2020-11-17
ZHAICAN 2020-11-16
codedecode 2020-11-14
zhangbingb 2020-11-12
ykmail 2020-11-11
futurezone 2020-11-06
rikeyone 2020-11-04
橄榄 2020-11-04
WenCoo 2020-10-31
liuyuchen 2020-10-27
ROES 2020-10-24
Gexrior 2020-10-22
ZHAICAN 2020-10-20
风语者 2020-10-16
zhongguomin 2020-10-16
净无邪 2020-10-15