|
逍遥西游3【逍遥仙境】手工外网端+运营后台7 f1 J# z; Z8 u# v) Q/ e; }5 r$ P
逍遥西游3【逍遥仙境】手工外网端+运营后台) z$ G, o0 \8 o3 B- s E
0.安装CENTOS 7以上系统
1 P2 C/ ~3 X- m" ^$ K4 h1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec6 U: {7 ~5 G, |) M. ]! l# W. @
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
1 o) T1 l3 h! |4 |4 L2.设置数据库密码:/ h0 ]" b; M* e' R& H7 x
mysql -u root -pbl20166.com
0 n+ A5 R1 b1 ?# N9 v2 ^& `GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;7 \9 t2 r. V) O( k
FLUSH PRIVILEGES;
/ r2 y n: y- p& K& ?0 R* LGRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;: {+ b( e! D: e$ j; p7 H7 E, E. \
FLUSH PRIVILEGES;# u6 `; M9 L1 d
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;0 N' ~; D( O9 e3 Z/ i
FLUSH PRIVILEGES;
' P# E; `: j$ vquit3 l0 }" g9 j; k8 O( u
宝塔-安全-放行端口1:65535
F* O/ E5 `, @6 k+ J2 d& @导入数据库% w7 W1 j- f, m) x+ Y
3.宝塔-添加站点-端口81-根目录/www/wwwroot/
' v% |: S5 R* R把bl20166.tar.gz上传到根目录0 U A, V4 A% u- n
cd /
4 j8 w, d9 H( e1 Z2 x4 Itar -zxvf bl20166.tar.gz
: q) [% U( W" F+ o3 f8 l, ichmod -R 777 /home/
/ |' J; S! {! r! J& N) M! Z# nchmod -R 777 /usr/local/mongodb/
( s2 \) \; Z8 n3 S( wchmod -R 777 /usr/local/bin/redis-server
# e: R; x' }5 vchmod -R 777 /www/wwwroot/4 F# y6 e1 a/ ?
4.服务端IP修改. S* g3 F* v+ U' I* i8 V8 b
/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua5 [7 M1 ]+ S! f, e# j1 k
5.客户端IP修改
# {0 q: u1 ^3 o2 ]: _# |/ ?安卓:
" t1 ]0 }$ n' k6 u0 P8 h8 q修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里
' s0 G( |6 {6 \( m4 _ K苹果:+ r& [& A0 }) `* n
修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里
' ~' v3 N; F% G- E. A& q# o6.启动关闭
% q3 S6 P9 {+ E$ k7 O! [启动:
$ r6 h- L' W3 I O5 h, ~/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf &6 o% Q% L, G1 `( s
/usr/local/bin/redis-server /etc/redis6379.conf &
4 L2 @& O7 o) e6 G. }7 C/ d% C( bcd /home/nomogaserver; P9 Y: W, U. ]8 ?% c6 y( S+ l4 q
./serverStart.sh start
: X, o% F7 H$ Y' C- q1 H+ w关闭:9 x$ Z! T9 e8 x9 m- E
cd /home/nomogaserver6 l3 P- Z* i: \: Z1 X1 O; ]' s% B5 P
./serverStop.sh stop, X, A6 ]$ r+ b4 }
宝塔放行端口:4767 9031! P2 o, {* [/ V
后台地址:外网:816 M0 ?, q F# P* P& Y1 n
后台账号:bl201662 Y6 }- R! _' Z- o. u
后台密码:123456 |
|