|
逍遥西游3【逍遥仙境】手工外网端+运营后台, r% I' [6 y$ {
逍遥西游3【逍遥仙境】手工外网端+运营后台
: y( R3 @, O. z$ n% H6 @/ Y/ n0.安装CENTOS 7以上系统9 s- S9 N8 H* w' |$ m
1.安装宝塔 (Nginx1.16 Mysql5.6 Php5.6自行宝塔里安装)PHP安装好后-软件管理-PHP5.6设置-禁用函数-删除exec& g' G( z7 f+ Y6 G2 h; y6 Q
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
0 m0 u: J' J) Z. U) d' P2.设置数据库密码:( {6 I! w7 a V) R
mysql -u root -pbl20166.com
( ~* Q) l: s3 s* yGRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;/ ?: X: @8 u% @
FLUSH PRIVILEGES;7 H( z' {( D8 d! i& i3 o) s
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;
8 c, K% K4 j' P5 WFLUSH PRIVILEGES;
' T( B/ @2 h1 b8 o( \GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘bl20166.com’ WITH GRANT OPTION;2 Y# E) v. e( w6 T, J, X2 i
FLUSH PRIVILEGES;
' I x" K/ o, J1 m8 g3 A: A7 j9 @quit
7 m* |* j H: D7 p% X/ I1 M) ?宝塔-安全-放行端口1:65535
+ ?% y+ m( [, S" u导入数据库
% g/ a0 Q2 b* t: m, b# p3.宝塔-添加站点-端口81-根目录/www/wwwroot/
* A9 Q' z6 d! w$ y( u4 |把bl20166.tar.gz上传到根目录
0 Q8 T: ]$ ~$ `/ j& F9 C! rcd /( T' s5 Z0 ]9 C* ]; P9 j
tar -zxvf bl20166.tar.gz
+ y8 |2 _0 }4 C6 ?' Nchmod -R 777 /home/
7 `) ~ d+ v" R; f3 x( D8 y; g Achmod -R 777 /usr/local/mongodb/( w& r: N( ^# h2 t8 d8 {
chmod -R 777 /usr/local/bin/redis-server
% {' N2 i$ x& Y& q( Wchmod -R 777 /www/wwwroot/& |. c. ? a5 D' @: v
4.服务端IP修改+ @, d+ J) W* B8 k+ y! w5 U
/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua
6 w# H0 a/ w) y" D; y- Q% c9 k H5.客户端IP修改/ r) a6 ]- \5 b% g; K
安卓:
2 k! D/ D; B: a修改【IP文件】目录下的4个文件 分别覆盖到assetsrescodes.zip 和 assetsresscript.zip 里' ~8 V8 p; F/ b0 G! F
苹果:
U4 M6 I) R3 r: j修改【IP文件】目录下的4个文件 分别覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里8 W' u" N1 K& D, |2 [. U
6.启动关闭" a8 u6 R" t: p' W
启动:
9 `* ^1 [) _7 [: N: u) P/usr/local/mongodb/bin/mongod –config /usr/local/mongodb/bin/mongodb.conf &
$ B: b0 }5 f% z3 w+ ]9 Y/usr/local/bin/redis-server /etc/redis6379.conf &# d0 C! ]; B2 H+ q0 f7 ?$ [& o
cd /home/nomogaserver4 D) W5 M2 ?9 ]* T8 b
./serverStart.sh start
9 K; H( L" r+ A+ Z关闭:7 V; Q0 a+ p5 |& N( C
cd /home/nomogaserver3 [ q$ J; o# m9 {7 {. d
./serverStop.sh stop
( H4 v6 n+ X! E9 _3 p宝塔放行端口:4767 90310 g- C5 \% T( g& d3 L
后台地址:外网:814 G, F) T# R. v) w$ v
后台账号:bl20166# G- B+ O. O4 e, M% D
后台密码:123456 |
|