设置Apache(httpd)和Nginx 开机自启动

 2023-02-25    386  

 方法1:

进入目录: vi  /etc/rc.d/rc.local

#设置apache 和 nginx 开机自启动
/usr/sbin/apachectl start
/usr/sbin/nginx start
设置Apache(httpd)和Nginx

以上所述是小编给大家介绍的设置Apache(httpd)和Nginx 开机自启动,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对77isp云服务器技术网的支持!

原文链接:https://77isp.com/post/34359.html

=========================================

https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。