> ==> [email protected] (會會歌的羊咩咩~~~咩~) 的文章中提到:
> 請問一下各位大大我是用FreeBSD 5.1
> 可是我的Apache 和 MySQL是自己去configure和make 的
> (也就是不用ports安裝的)
> 如果我要讓它們在重新開機後自動執行
> 哪要怎麼作呢?
> (順道問問pgSQL的啟動方法)
請將以下的東東寫入 /etc/rc.local就可以了,路徑請自行斟酌
su postgres -c "/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data &"
/usr/local/mysql/bin/mysql.server start
/home/www/bin/apachectl start
--
* Origin: 中山大學-美麗之島BBS * From: 218.172.170.37 [已通過認證]