|
逍遥西游3【逍遥仙境】手工外网端+运营后台" x- B6 P7 X4 k
逍遥西游3【逍遥仙境】手工外网端+运营后台
4 F4 P6 x- T$ [9 q `0.安装CENTOS 7以上系统7 u; N5 E7 }4 ]+ Y8 N
1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec2 u' a% Z0 M1 C9 @& M
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
; B# b2 ^) U* ?- y2.设置数据库密码: ^1 |) F* f+ a' J9 F9 Y! V# N
mysql -u root -pbl20166.com- ]" B) O1 k* O: R& V7 ]
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;" m2 _; _3 a2 o8 Y) m
FLUSH PRIVILEGES;
; r/ _% m( }9 u; HGRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
, j z( ^% K( o5 |* qFLUSH PRIVILEGES;
6 ?5 o) [9 w& K$ E. A' Z7 w, vGRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
1 h- z! D1 q3 M* S/ S) jFLUSH PRIVILEGES;# y V9 `" \0 T7 `
quit5 ^) W% ]8 s$ @- @# M' c; \- F
宝塔-安全-放行端口1:65535
( k* w: a6 z K6 a1 _) f4 o导入数据库4 Q2 F" z7 B, G4 H/ B) C
3.宝塔-添加站点-端口81-根目录/www/wwwroot/& O. H/ |; c4 r2 n( E
把bl20166.tar.gz上传到根目录' V L* \8 J9 m3 f! [9 ~8 \6 u7 t2 X
cd /; B h# G! \) @6 w3 O' I
tar -zxvf bl20166.tar.gz, _3 S9 B7 A9 q' ]: n
chmod -R 777 /home/$ U+ m& d- } p3 p0 T% R% d# q
chmod -R 777 /usr/local/mongodb/
0 B4 R9 C2 b. k; [# @7 F' C/ Mchmod -R 777 /usr/local/bin/redis-server2 C* e3 S; v8 e; T3 h9 O9 Q
chmod -R 777 /www/wwwroot/ W/ i1 Z* k; V+ D. Z, G2 Q
4.服务端IP修改
+ y3 i2 u* J' E) D7 [. h/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua
, O$ S/ S6 @- v/ I; w, U5.客户端IP修改& T# L+ G1 u# S+ ~! y* [, F2 l
安卓:& f# L! F0 }) x5 R6 g# A4 ^
修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里" g1 m1 G% w& d+ E5 C* }1 |( ]$ d" K6 V
苹果:5 p* @1 S. H) p" u& M- Z
修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里
9 X3 _0 b: g* M; G3 f1 L. S2 Z6.启动关闭: K. E. O/ c8 [" q% H
启动:
# Y) D9 {+ G* d; ?/ `3 w/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf &+ q& p9 O U7 O
/usr/local/bin/redis-server /etc/redis6379.conf &: B- x# c' g7 f$ c! Q
cd /home/nomogaserver
8 A+ e: y/ U5 E0 J3 n |1 w./serverStart.sh start; D0 T, G, _7 p/ Q+ ]8 J z
关闭:
v. v% b* K+ Ecd /home/nomogaserver. d6 ~/ ^! Z; I$ P6 \* |$ i' e" R
./serverStop.sh stop; f( n+ Q5 m. n4 J$ x
宝塔放行端口:4767 9031, ^5 {" Q0 c, B4 O
后台地址:外网:81( `2 \$ Y* S) U# D- N
后台账号:bl20166
/ j5 g$ Z) H' U- F" y后台密码:123456 |
|