启动 Apache 网页伺服器

L86duntu 内建 Apache 网页伺服器,预设是不启动,使用者可手动启动它。

设定开机时自动启动 Apache

在 L86duntu 中输入 update-rc.d apache2 defaults 指令:

86LubuntuC1

当您看到如下图讯息(红框处),代表设定成功:

86LubuntuC5

输入下面指令重新开机,即可让设定生效:

    reboot

设定开机时不启动 Apache

在 L86duntu 中输入 update-rc.d -f apache2 remove 指令:

86LubuntuC3

当您看到如下图讯息(红框处),代表设定成功:

86LubuntuC6

输入下面指令重新开机,即可让设定生效:

    reboot


黑客天地主页面

The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.