当前位置: 技术问答>linux和unix
FreeBSD怎么才能让系统启动时自动启动服务?
来源: 互联网 发布时间:2015-09-01
本文导语: apache路径:/usr/local/sbin/apachectl mysql路径:/usr/local/bin/mysqld_safe 如何让FreeBSD系统启动时自动启动这些服务? | cd /etc vi rc.local /usr/local/sbin/apachect1 start /usr/local/bin/mysqld_safe & start
apache路径:/usr/local/sbin/apachectl
mysql路径:/usr/local/bin/mysqld_safe
如何让FreeBSD系统启动时自动启动这些服务?
mysql路径:/usr/local/bin/mysqld_safe
如何让FreeBSD系统启动时自动启动这些服务?
|
cd /etc
vi rc.local
/usr/local/sbin/apachect1 start
/usr/local/bin/mysqld_safe & start
vi rc.local
/usr/local/sbin/apachect1 start
/usr/local/bin/mysqld_safe & start