vi /etc/rc.d/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /etc/init.d/httpd start #(按i插入此行) /usr/local/apache-tomcatA-6.0.35/bin/startup.sh
redhat 怎样开机自动启动apache
最新推荐文章于 2021-11-01 17:41:44 发布
本文介绍了如何在Linux系统中使用rc.local脚本进行个性化初始化设置,包括启动httpd服务和自定义Apache Tomcat应用程序。
1138

被折叠的 条评论
为什么被折叠?



