|
逍遥西游3【逍遥仙境】手工外网端+运营后台; q% U! \1 Z( w$ F4 k& V& [
逍遥西游3【逍遥仙境】手工外网端+运营后台
: A/ z2 J, ?/ d6 E N+ R( c$ p0.安装CENTOS 7以上系统
, C7 w' M b& d; ~5 @ c9 i# D; c1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec
/ L3 ?% @, e! X; e& ]yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh1 p1 X$ w. Q" x4 h
2.设置数据库密码:4 L8 R4 _" T* o9 h4 p
mysql -u root -pbl20166.com
' k8 b2 o) ^6 O; LGRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;, u1 G# N4 G9 e
FLUSH PRIVILEGES;* n* z6 B5 {* k9 h* H1 |- c4 w
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
6 D" V; ^7 `) Y7 g9 q7 N* J; ?FLUSH PRIVILEGES;
7 Z4 T" ?. L9 K3 ?# e' I! Z7 hGRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;% |( h) Q& h7 K- U F
FLUSH PRIVILEGES;1 D9 G9 Y3 e8 G- _9 A
quit2 H6 Z7 o* c* G4 M1 {/ a& @# H
宝塔-安全-放行端口1:65535$ L5 D N9 p8 V8 ~7 g7 J
导入数据库
2 o, q U# T( p# q% t# M- W3.宝塔-添加站点-端口81-根目录/www/wwwroot/& X, E2 a3 b, J# L2 `5 K
把bl20166.tar.gz上传到根目录5 s% I/ L& H0 g, s6 U' ^' x
cd /0 W6 V4 [) o; Z/ s
tar -zxvf bl20166.tar.gz
2 E( L6 H2 B; P! F; Ichmod -R 777 /home/
$ J8 R/ I4 ?6 f% \/ p1 cchmod -R 777 /usr/local/mongodb/+ S' d9 \7 ~& O6 W' u- e" I
chmod -R 777 /usr/local/bin/redis-server3 P+ u2 B: o# m4 W
chmod -R 777 /www/wwwroot/4 T" f: N2 x* ^: L
4.服务端IP修改
/ W8 R0 h W8 M( @2 `4 o# w/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua
! k8 m+ s3 [! C y0 Q9 m8 Q5.客户端IP修改
+ v4 p, f: E6 l) I6 _安卓:
0 |8 J& n7 y/ o& P8 _ y- _修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里
0 A% i- O/ ~" t2 s9 l# A+ a1 I苹果:
1 m p& v) ?6 N$ K3 y6 Z修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里
# \; Y( N) S1 {5 s; m: q7 c6.启动关闭
% ?. _5 T1 k" ]0 n6 k `启动:
3 D5 Q5 [ T4 Z" C+ }( x9 i3 n/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf &- e/ v `7 p; n/ x
/usr/local/bin/redis-server /etc/redis6379.conf && Q, }, c+ a3 h
cd /home/nomogaserver
4 C$ }: w' R" R8 k./serverStart.sh start6 o+ G! r L' p3 p6 R
关闭:
/ c% L* F% W8 Z3 Q' w3 |4 B" jcd /home/nomogaserver
6 j0 a& v9 V: |0 T$ c./serverStop.sh stop
: q( A3 x) S3 f% W- d宝塔放行端口:4767 9031
G+ k: k; ~ J4 q后台地址:外网:815 y/ v; X5 M9 _% G' n: X
后台账号:bl20166# l$ `3 T, ~- g
后台密码:123456 |
|