原文鏈接:http://blog.phpha.com/backup/archives/1458.html
修改 /etc/rc.d/rc.local 這個文件:
例如將 apache、mysql、samba、svn 等這些服務的開機自啓動問題一起搞定:
1
2
3
4
5
6
7
|
[天涯PHP博客]-[http://blog.phpha.com]
vi
/etc/rc.d/rc.local
#添加以下命令
/usr/sbin/apachectl
start
/etc/rc.d/init.d/mysqld
start
/etc/rc.d/init.d/smb
start
/usr/local/subversion/bin/svnserve
-d
|