啟動 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.