|
逍遥西游3【逍遥仙境】手工外网端+运营后台7 |4 O' g. o, c: J% k% b Y
逍遥西游3【逍遥仙境】手工外网端+运营后台& |% X/ g; m; B! E& T, d- d) u
0.安装CENTOS 7以上系统: \9 X7 P; Q% j% Y; J2 X1 N
1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec, y+ F) w) o/ ?1 l/ p
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
) I# L& n8 d. C- W2.设置数据库密码:
7 r, E7 k9 ?2 t! q0 gmysql -u root -pbl20166.com; E' H# ]' `8 s* B% V' p& k
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
* G- k5 f4 |$ z7 j* D; ?) @7 g! GFLUSH PRIVILEGES;$ C4 R2 r) A& F5 Z
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
& e2 O; N. [+ J4 c7 Q; eFLUSH PRIVILEGES;
# A3 ~+ l& A3 R0 P( GGRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;7 h# e- p) ]$ R' k% r/ z
FLUSH PRIVILEGES;
7 H6 T" ]) ^/ F m1 f+ Pquit
9 s! ?% ^# s( }" y* ^5 ?宝塔-安全-放行端口1:65535 h9 \% ^3 z0 M- |
导入数据库
P& A! T/ m2 d6 b: }4 H, j$ W* f' R3 ~3.宝塔-添加站点-端口81-根目录/www/wwwroot/
, A1 j, L! q/ n1 u1 X把bl20166.tar.gz上传到根目录
! |9 k. Z0 M* B' P4 c! x- Ucd /4 h' c- Y8 V& w) v
tar -zxvf bl20166.tar.gz
: u) ]$ ^; V- Q" o9 m) h; @6 ?chmod -R 777 /home/, j: Q0 y/ ~% x* z" z5 y* n
chmod -R 777 /usr/local/mongodb/
& n1 i) h1 D! j: s9 R! r* wchmod -R 777 /usr/local/bin/redis-server
- p9 v/ G z2 _- M3 |& ~9 kchmod -R 777 /www/wwwroot/
) _6 r8 D p% u! q! ^: ~4.服务端IP修改
/ Q0 i. [# @" `& w0 S% @* C2 j/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua
+ {, s' a9 j; Z) f3 V9 R, w6 @' V5.客户端IP修改. L% }7 q# b/ \& i* x
安卓:; N, p' P: W$ u5 k' {9 d
修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里
! ?4 i2 A) `7 v/ j/ J* B( j* e苹果:
) h, Y: Z7 H3 {0 a+ o修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里/ z% E8 J4 G4 J* ^ h2 a
6.启动关闭1 S7 K1 G: p( i8 E: Z' J0 D
启动:9 t9 ]0 U. [, s7 {( @/ T" N- P, b
/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf &8 k4 x& R* E7 ]/ H0 B
/usr/local/bin/redis-server /etc/redis6379.conf &
: J) h, _% N- B/ n) dcd /home/nomogaserver5 l8 A6 U/ U! ^) t5 Z% E& y
./serverStart.sh start
U" C) B6 T T& l f' t关闭:+ E5 B. L! u+ ^5 l$ T% ]# g. `
cd /home/nomogaserver4 e: y: `! ?+ S1 O j/ T
./serverStop.sh stop2 w) P8 P( S5 g( f" Z5 J" [4 h
宝塔放行端口:4767 90317 U9 C1 p+ c, y: A( i* ?
后台地址:外网:817 m3 `2 w5 ]" l6 R" F2 ~
后台账号:bl20166
! a# g E5 L% M% {" z9 S, `7 q后台密码:123456 |
|