Tomcat安装并与Apache整合,安装SVN-WebClient
直接去 http://tomcat.apache.org下载二进制包(Binary Distributions)就不需要安装了,解压后直接运行bash文件即可运行Tomcat。
事先要设置好JAVA_HOME
echo $JAVA_HOME
/opt/java/jdk1.6.0_25
开启:
$ /home/orisun/develop/apache-tomcat-7.0.16/bin/startup.sh
停止:
/home/orisun/develop/apache-tomcat-7.0.16/bin/shutdown.sh
当然每次这么启动也太麻烦了,搞个简短一点的命令,在~/.bashrc中添加:
alias tomcat_start='/home/orisun/develop/apache-tomcat-7.0.16/bin/startup.sh'
alias tomcat_stop='/home/orisun/develop/apache-tomcat-7.0.16/bin/shutdown.sh'
alias tomcat_restart='tomcat_stop && tomcat_start'
在浏览器中输入 http://localhost:8080/
相关推荐
Kafka 2020-09-18
Wepe0 2020-10-30
杜倩 2020-10-29
windle 2020-10-29
minerd 2020-10-28
mengzuchao 2020-10-22
Junzizhiai 2020-10-10
bxqybxqy 2020-09-30
风之沙城 2020-09-24
kingszelda 2020-09-22
大唐帝国前营 2020-08-18
yixu0 2020-08-17
TangCuYu 2020-08-15
xiaoboliu00 2020-08-15
songshijiazuaa 2020-08-15
xclxcl 2020-08-03
zmzmmf 2020-08-03
newfarhui 2020-08-03
likesyour 2020-08-01