Re: [問題] 請問apache怎麼重新啟動?
※ 引述《sadcafe (sadcafe)》之銘言:
: 請教各位一下
: apache22怎麼重新啟動
: 我執行 # /etc/rc.d/init.d/httpd restart
: 出現 /etc/rc.d/init.d/httpd: Command not found.
: 執行 # service httpd restart
: 出現 service: Command not found.
: 請問是怎麼一回事,該怎麼啟動
: 謝謝!
你確定你參考的資料是 FreeBSD ??
/etc/rc.d/init.d/xxxxd restart
service xxxxd restart
是 Linux 的東東
FreeBSD 果如由 ports安裝大多是
/usr/local/etc/rc.d/xxxx.sh start|stop|restart
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.245.58
※ 編輯: style520 來自: 140.112.245.58 (09/29 23:19)
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章
0
18