我希望 Apache2 启动 att boot。这就是我所拥有的
ls -l
在
/etc/init.d/rc5.d
列出了许多其他内容,其中包括:
lrwxrwxrwx 1 root root 10 Aug 18 10:35 S12apache2 -> ../apache2
/etc/init.d/
确实位于'apache2'中。在ls -l
apache2 列表中
-rwxr--r-- 1 root root 10635 Feb 18 22:09 apache2
/sbin/chkconfig -a apache2
印刷
apache2 0:off 1:off 2:off 3:on 4:off 5:on 6:off
为了让 Apache 在启动时启动,这不应该是必要的吗?
我通常开始手动使用sudo /usr/sbin/rcapache2 restart
/尼克拉斯