码迷,mamicode.com
首页 > Web开发 > 详细

Ubuntu下apache开机自启

时间:2017-06-13 23:47:11      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:自启   update   ber   span   init   word   查看   art   http   

将apachectl 拷贝
cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd 2、设置开机自己启动 或者用 sysv-rc-conf #sudo update-rc.d -f httpd defaults service httpd start 即可 查看状态 # service httpd status

Ubuntu下apache开机自启

标签:自启   update   ber   span   init   word   查看   art   http   

原文地址:http://www.cnblogs.com/if-then/p/7003933.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!