参考:http://dearseven.blog.163.com/blog/static/1005379222013764440253/ linux 下启动tomcat [root@test233 bin]# sh startup.sh Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program 解决办法:给.sh文件授
Linux 下启动两个tomcat 闲来无事学习nginx,想要配置个load balance.可是先决条件是:得有两个web容器.两个电脑是不用想了.只能想办法在一个机器上启动两个tomcat.原以为挺简单的,只要改改port就好了.谁知单单改port压根不会成功.网上找了很多解决方案,要么繁杂的要死,要么说的云里雾里的.于是决定结合网上的说法和自己的想法,重新写一个方案. 先说解决方案吧.(我用的是tomcat-7.0.62,安装的路径是/usr/local/apache-tomcat-7.
linux nginx 启动脚本 [root@webtest76 ~]# vi /etc/init.d/nginx #!/bin/bash # nginx Startup script for the Nginx HTTP Server # this script create it by jackbillow at . # it is v. version. # if you find any errors on this scripts,please contact jackbillow.