服务器启动脚本 /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

原文地址:https://www.cnblogs.com/thrillerz/p/3964851.html