|
1.正在关闭防火墙.....
chkconfig iptables off
service iptables stop
2.安装java
rpm -ivh jdk-8u144-linux-x64.rpm
3.解压服务端并设置权限
tar -zxvf server.tar.gz
chmod -R 777 /home/
chmod -R 777 /export/
4.服务端修改
home\zidr\servers.xml
5.客户端修改
安卓:assets\config\all_platform_config.xml
苹果:Payload\twqqh.app\Data\Raw\config\all_platform_config.xml
注意下面
-------------------------------------------------
/home/au/start.sh 38行 -Xincgc -XXermSize=256m -XX:MaxPermSize=256m -Xms6G -Xmx6G
这里的6G可以 根据自己服务器内存配置,不要超过服务器内存 否则启动不了
-------------------------------------------------
./service.sh status
6.启动
cd /home/w
./service.sh start
cd /home/au
./start.sh
cd /home/zidr/android
./service.sh start
cd /home/zidr/ios
./service.sh start
7.关闭
cd /home/w
./service.sh stop
cd /home/au
./stop.sh
cd /home/zidr/android
./service.sh stop
cd /home/zidr/ios
./service.sh stop
ps:
---------------------------------------------------
./service.sh restart 重启
./service.sh status 查看
---------------------------------------------------
删档:
/home/au/xdb/里头的全清
/export/data/里头的全清
---------------------------------------------------
|
|