本文共 948 字,大约阅读时间需要 3 分钟。
cp -r /qeedoodb/cron /qeedoodb/cron1
cp -r /var/www/html/amfphp /var/www/html/amfphp1所有cron1脚本中amfphp改为amfphp1
vi /qeedoodb/cron1/restartArmy.sh runArmy.sh修改为runArmy1.sh、runArmy.php修改为runArmy1.php、amfphp修改为amfphp1 cd /var/www/html/amfphp1/services/battle/ mv runArmy.sh runArmy1.sh && mv runArmy.php runArmy1.php vi runArmy1.sh runArmy.php修改为runArmy1.phpvi /qeedoodb/cron1/restartBattle.sh
runBattle.sh修改为runBattle1.sh、runBattle.php修改为runBattle1.php、amfphp修改为amfphp1 cd /var/www/html/amfphp1/services/refresh mv runBattle.sh runBattle1.sh && mv runBattle.php runBattle1.php vi runBattle1.sh runBattle.php修改为runBattle1.phpvi /var/www/html/amfphp1/config/ConfigData.php
const MEM_PORT = 8087;复制一个memcached,修改对应的端口
cd /etc/rc.d/init.d/ cp memcached memcached1 vi memcached1 8080 修改为8087 vi /qeedoodb/cron1/startup.sh memcached修改为memcached1资源服中 services.xml 中 amfphp修改为amfphp1
服务器授权
本文转自 holy2009 51CTO博客,原文链接:http://blog.51cto.com/holy2010/367258
转载地址:http://ntsuo.baihongyu.com/