服务器启动脚本 /etc/rc.local

#启动php-frm
/home/www/php/sbin/php-fpm

#启动搜索引擎
/home/www/se/bin/xs-ctl.sh start

#启动lighttpd
/home/www/lighttpd/sbin/lighttpd -f /home/www/lighttpd/conf//lighttpd.conf

#启动svn服务
svnserve -d -r /var/svndata

#启动mysql
/home/www/mysql/bin/mysqld_safe --defaults-file=/home/www/mysql/conf/my.cnf --ledir=/home/www/mysql/bin/ >/dev/null &

#启动redis
/home/www/redis/bin/redis-server /home/www/redis/conf/redis.conf

posted @ 2014-09-10 17:25  thrillerz  阅读(248)  评论(0编辑  收藏  举报