读书人

小弟我的/etc/rc.d/rc.local的配置

发布时间: 2012-08-02 11:35:26 作者: rapoo

我的/etc/rc.d/rc.local的配置

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
sysctl -p

mkdir -p /dev/shm/eaccelerator/
chown -R www:www /dev/shm/eaccelerator/
chmod -R 777 /dev/shm/eaccelerator/


/root/memcached_start
/root/fastcgi_start
/root/nginx_start
/root/mysql_start

mount /dev/sdb1 /home/server/
sleep 2
#svnserve -d -r /home/server/svn/
service smb restart
service iptables stop

读书人网 >操作系统

热点推荐