首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

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

2012-08-02 
我的/etc/rc.d/rc.local的配置#!/bin/sh## This script will be executed *after* all the other init scr

我的/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

热点排行