centos7 

1.安装宝塔

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

安装

mysql 5.6

php 5.6

redis 6.0

放行1:65535

安装 Jexus 独立版 用于在linux下运行asp.net

curl https://jexus.org/release/x64/install.sh|sudo sh

修改mysql配置

[mysqld]

character_set_server = utf8

lower_case_table_names=1

2.数据库密码设置chahar.vip执行以下指令

mysql -uroot -pchahar.vip

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'chahar.vip' WITH GRANT OPTION;

create user 'admin'@'127.0.0.1' identified by 'MOQIkaka$#@!12345678';

create user 'admin'@'localhost' identified by 'MOQIkaka$#@!12345678';

create user 'admin'@'%' identified by 'MOQIkaka$#@!12345678';

grant all privileges  on *.*  to "admin"@'localhost';

grant all privileges  on *.*  to "admin"@'127.0.0.1';

grant all privileges  on *.*  to "admin"@'%';

create database a_dzzmq_activity_i_a;

create database a_dzzmq_charge;

create database a_dzzmq_chat;

create database a_dzzmq_gamemanage_i_a;

create database a_dzzmq_gamemodel_i_a;

create database a_dzzmq_login;

create database a_dzzmq_managecenter;

create database chatservercenter_a_o;

create database crossserver_a_o;

create database gamemodel_a_o;

create database gsc_a_o;

create database s1_sdgat;

create database s1_sdgat_log;

create database sdgat_socketservercenter_a_o;

flush privileges;

exit   回车退出

连接数据库手动导入 不然太慢

解压服务端  批量搜索  服务器端和数据库文件49.232.79.93

全改成你的IP 然后打包回 sants.zip

上传sants.zip 到根目录 解压

cd /

unzip home.zip

chmod -R 777 /home

chmod -R 777 /www/web

cd /usr/jexus/siteconf

unzip siteconf.zip

apk修改

smail/com/hy/mid/MidConfig.smali 7行 

.field public static MID_IP:Ljava/lang/String;

assets\src\network\HttpClient.lua 237 

local retUrl = "http://ip:88/login_tw/API/ServerList_Client.ashx"

启动网站服务

cd /usr/jexus

jws restart

jws restart s1


启动服务端

cd /home

./start.sh


停止服务端

cd /home

./stop.sh


停止网站

cd /usr/jexus

jws stop

--------服务端修改IP文件-----------------

----------  \chahar\home\Chat\ChatServerCenter_a_o\config.xml

----------  \chahar\home\Chat\ChatServer_a_o\config.xml

----------  \chahar\home\Chat\ChatServer_a_o_2\config.xml

----------  \chahar\home\CrossServer\CrossServer_a_o\config.xml

----------  \chahar\home\DataTransfer\DataTransferDispatcher\config.xml

----------  \chahar\home\DataTransfer\DataTransferProcessor\config.xml

----------  \chahar\home\GameServerCenter\GameServerCenter_a_o\config.xml

----------  \chahar\home\Socket\Socket_a_o\SocketServerCenter_a_o\config.xml

----------  \chahar\home\Socket\Socket_a_o\SocketServer_a_o\config.ini

----------  \chahar\www\web\s1_sdgat\Web.config

--------服务端修改IP文件-----------------


射雕三部曲

射雕三部曲

射雕三部曲

射雕三部曲

免费下载
分类免费资源
授权免费版
语言其他 + mysql
演示-
发布于1月前
更新于1月前