note: httpd web server 網頁伺服器 架建筆記

讓他總是開啟服務

檢查httpd 預設狀態
#chkconfig --list httpd
httpd 0:關閉 1:關閉 2:關閉 3:關閉 4:關閉 5:關閉 6:關閉


開啟 run level 3(多人文字模式) 5(多人圖形模式)
# chkconfig --level 35 httpd on
# chkconfig --list httpd
httpd 0:關閉 1:關閉 2:關閉 3:開啟 4:關閉 5:開啟 6:關閉


即時啟動 httpd 服務
# /etc/init.d/httpd start
正在啟動 httpd: [ 確定 ]

檢查...
利用瀏覽器在網址列輸入:"http://localhost"如果是下列圖示...

表示ok了

0 Response to "note: httpd web server 網頁伺服器 架建筆記"

張貼留言

Powered by Blogger