`
sunnylocus
  • 浏览: 869840 次
  • 性别: Icon_minigender_1
  • 来自: 美国图森
社区版块
存档分类
最新评论

Linux系统开机,tomcat自动启动

 
阅读更多

修改配置文件,使tomcat自动启动

(假设tomcat的安装路径位于 /opt/apache-tomcat5.5.26目录下)

  1. 在root根目录下,输入 vi /etc/profile
  2. 在profile文件中加入下面几句话
  3.    cd /opt/apache-tomcat5.5.26/bin
  4.    chmod 777 *  // 把bin目录下的所有文件的权限设置最大,否则将不能运行
  5.    ./startup.sh
  6. 保存退出

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics