|
逍遥西游3【逍遥仙境】手工外网端+运营后台
- S+ h( J% v' P! N( n# e逍遥西游3【逍遥仙境】手工外网端+运营后台( t+ \$ @ F2 P' t0 L0 {5 ^" S
0.安装CENTOS 7以上系统5 V% ]; ` d! j$ D0 S7 S" V
1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec2 M& K# C% b w% H2 }& l
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh) U! O7 v: o- l% v3 k& L( ^
2.设置数据库密码:1 B* `5 m7 [( Z" J4 r' ^, c* a$ c
mysql -u root -pbl20166.com: ~: j' E/ t2 c2 B: U% D4 c
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
9 @$ ]0 K0 t, t3 P) oFLUSH PRIVILEGES;
/ h9 H9 t% p1 \" y5 x3 t6 jGRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
5 x) e) W. n HFLUSH PRIVILEGES;; b; Y, x5 ]' U" Q! `
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
9 K9 c" ?4 O% U: M) v+ sFLUSH PRIVILEGES;
2 f: j7 r) Z- S# _& S. G6 Uquit" E* s, I6 [- `/ U
宝塔-安全-放行端口1:655353 M8 {, f/ p8 \: ~: b, B
导入数据库+ } j7 o, `5 l! i( d6 W
3.宝塔-添加站点-端口81-根目录/www/wwwroot/
4 L) o8 w. [) H" c6 Y/ w) H把bl20166.tar.gz上传到根目录
7 F) M8 [1 @7 ]6 w }; tcd /
0 l6 n L' U7 Ctar -zxvf bl20166.tar.gz
$ N+ _+ Y+ v6 N# uchmod -R 777 /home/9 h7 N$ I) \$ i/ J) R$ c
chmod -R 777 /usr/local/mongodb/" W- X) `) p ^
chmod -R 777 /usr/local/bin/redis-server% U5 A1 v2 m, G* H2 w& E
chmod -R 777 /www/wwwroot/
- y% j+ u, @0 G9 h) c" @4.服务端IP修改
2 W. Y2 @ h/ `! k- l; s" W/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua
( D9 ^. D) R# a, H7 _( [" r( u0 C& a5.客户端IP修改
. J8 G" ]+ h8 p. M! Q安卓:; ~2 y! z/ ]: K6 E; y" m
修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里" m1 H! O! s$ I6 |7 j0 H9 q
苹果:
) v* J( |& J& j* o9 y; s+ f修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里
6 O2 |1 A" z' N9 l6 t0 S2 t# C6.启动关闭7 l- \$ @- x' f A
启动:
2 ?/ N* Q O) C5 P$ C0 L$ E/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf &" f: K" { x/ V. F; \% d
/usr/local/bin/redis-server /etc/redis6379.conf &
- A& A1 Z$ f" P- ~6 hcd /home/nomogaserver
1 B+ V7 g' D9 G* y8 b4 k./serverStart.sh start
- t0 J$ j, |. f( ?关闭:) s0 j0 ]6 B- F9 l, i5 z r. \+ W
cd /home/nomogaserver+ c; K9 e( X* @2 A: @9 ]
./serverStop.sh stop! ~0 D$ H+ ^2 _6 B- Q! W
宝塔放行端口:4767 9031# M8 o G3 C L I5 ]
后台地址:外网:81
* u w1 |# _3 h! B7 o# E4 R后台账号:bl20166
& h) c2 P( u3 `0 u+ o$ {后台密码:123456 |
|