看板 FreeBSD 關於我們 聯絡資訊
※ 引述《appleboy46 (小惡魔)》之銘言: : ※ 引述《xunlu (xunlu)》之銘言: : : 首先感謝psilotum 與 chiouss 兩位的指導 : : apache正確的啟動了 : : 在此小的又有新的問題想請教各位 : : 該如何啟動mysql 6.0.6呢? (我的freebsd是安裝7.1) : 如果在 /etc/rc.conf 底下加入 mysql_enable="YES" : 請執行: : /usr/local/etc/rc.d/mysql-server start : 如果沒有: : /usr/local/etc/rc.d/mysql-server forcestart : http://www.freebsd.org/doc/zh_TW/books/handbook/configtuning-rcd.html : : 我是參考這篇啟動 : : http://firchtsai.blogspot.com/2009/01/freebsd-apache22-php-52-mysql-50.html : : 不過我不是用port安裝耶 : : 我是用sysinstall然後選 configure 然後選 pakages 找到mysql 6.0.6安裝 : : 安裝完後就不知道該怎麼辦了 : : 至於為什麼不選5.1版的 因為我看到最新就安裝了 : : 因為我想說以後要是一升級我可能也不會 : : 乾脆直接灌最新的 : : 先謝謝各位的幫忙了 最近好像都把force改用one了 http://www.freebsd.org/doc/en/books/handbook/configtuning-rcd.html Update: /etc/rc.subr # If argument has a given prefix, then change the operation as follows: # Prefix Operation # ------ --------- # fast Skip the pid check, and set rc_fast=yes # force Set ${rcvar} to YES, and set rc_force=yes # one Set ${rcvar} to YES 看來是都可以 只差在rc_force 目前有看到有用rc_force的有 bgfsck (/etc/rc.d) pure-ftpd forcestop的時候會比onestop粗暴一點 start應該都一樣 -- 國愛‧主民‧學科‧康健‧道人 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.231.23 ※ 編輯: buganini 來自: 220.135.231.23 (03/31 09:36) ※ 編輯: buganini 來自: 220.135.231.23 (03/31 09:40)