|
逍遥西游3【逍遥仙境】手工外网端+运营后台
1 Q5 }* b! l! p! i: B* J6 Z8 J' V逍遥西游3【逍遥仙境】手工外网端+运营后台 E7 E, ]8 ?6 S1 N. B% a
0.安装CENTOS 7以上系统
, v* p4 r" f' m$ L+ @: T) F+ Y1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec
& ~/ ?! B/ L O. p+ `( Lyum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh \+ ?+ [4 d9 `' @& W9 X* V
2.设置数据库密码:9 j5 W( a Y6 Z+ ?+ X; l$ {4 |
mysql -u root -pbl20166.com6 F) u. V6 u0 e3 ?3 a/ j
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
9 v1 X" f7 ^1 U' A `FLUSH PRIVILEGES;3 Z7 w$ F3 E" `9 T
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;/ v& L" u% D* L: e5 ^! k+ w
FLUSH PRIVILEGES;
- W, F) k( \: y2 |' WGRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;7 M: h. V% u/ y9 r
FLUSH PRIVILEGES;
" X' f% G1 Y1 B' A6 U( X& squit8 u2 j! c, j2 q. V$ u+ H+ W
宝塔-安全-放行端口1:65535
- C& L; m& Q9 J4 i导入数据库 k+ q7 W* H% R1 H1 ]7 ~) G0 N- H
3.宝塔-添加站点-端口81-根目录/www/wwwroot/
$ E3 s: o& v, i; G2 {: w5 D- G把bl20166.tar.gz上传到根目录
* S1 i# c' C6 d9 L- Ccd /
0 n1 \, P/ L' ^+ k' _% Wtar -zxvf bl20166.tar.gz6 P) c& [8 B. s( S I: x
chmod -R 777 /home/& b) R5 j5 n% }: ^9 y& o: H) Z- E
chmod -R 777 /usr/local/mongodb/2 K. ?- v" l/ |9 X0 B
chmod -R 777 /usr/local/bin/redis-server/ Y# g6 `+ R/ k
chmod -R 777 /www/wwwroot/5 e2 C2 h' h) e; G0 p; [, E* p
4.服务端IP修改
/ X0 r6 H, V [% ^1 k# I! s/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua
3 l; z) m2 E7 h6 }5.客户端IP修改
1 J6 s. o+ U: N! N安卓:- f* x" p% A/ s7 U1 z2 W! p
修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里
3 j' i; s1 R P$ \- c" w# h苹果:( ]. P; U* n$ b8 m/ ^+ L# t0 I2 u) M
修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里
2 R* @3 \1 H7 v2 p6.启动关闭
. {0 C$ \: G' U {4 v启动:
- `$ D4 q& G C/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf && i5 ?; o& {2 E+ K
/usr/local/bin/redis-server /etc/redis6379.conf &2 X' L3 ~. c% D6 X3 T/ I$ {" B* E0 q
cd /home/nomogaserver
9 s9 y3 p# J! I8 c./serverStart.sh start/ z0 K9 `( G# A; e5 } S8 F
关闭:7 c5 \/ R: V S3 s8 q
cd /home/nomogaserver
5 B+ L3 ]. q! e% N: z./serverStop.sh stop: e# N' r7 s2 q$ @% `; B/ p
宝塔放行端口:4767 9031# Y/ ?8 V$ Y; J. N- H n" [9 s
后台地址:外网:817 o* O. F4 z2 }7 Z( ^4 C% E- Y
后台账号:bl20166
4 @4 ?6 Y+ h ], b/ v后台密码:123456 |
|