安裝 Apache 服務網絡
# 注意:須要使用管理員身份運行命令行!!!命令行
# 切換到 Apache 解壓路徑中的 bin 目錄rest
$ cd <解壓目錄>/bin# 安裝 Apache 服務,‐n 參數是指定服務名稱top
$ httpd.exe ‐k install ‐n "Apache"參數
# 若是須要卸載 Apache,能夠執行如下命令httpd
$ httpd.exe ‐k uninstall ‐n "Apach管理
$ httpd.exe ‐k start ‐n "Apache"tar
# 從新啓動 Apache 服務
$ httpd.exe ‐k restart ‐n "Apache"
# 中止 Apache 服務
$ httpd.exe ‐k stop ‐n "Apach
127.0.0.1 是本地迴環地址
若是設備沒有鏈接任何網絡設備的狀況下,咱們會有一個本地回換地址 127.0.0.1 指向咱們本身的地址