内容介绍
架设教程:
文件:readme.txt
csj_file.tar.gz
csj.tar.gz
解压上面两个包
1. 系统要求:内存16G为佳,CENTOS6.5_X64
2. iptables 是防火墙文件,游戏对外就13001,16001
2. /etc/selinux/config 照tools目录下的config对应
3. 系统安装:mysql5.6,nginx,php-fpm,php5.6:
步骤:
yum -y install mysql-community-server mysql-community-libs mysql-community-client mysql-community-devel php56 php56-php-mbstring php56-php-gd php56-php-xml php56-php-mysql php56-php-fpm nc screen wget unzip lrzsz nginx
4.上面安装完之后,将本目录下的my.cnf 复制到/etc/下覆盖。
解压csj.tar.gz
将csj目录放在/data下
5.将必须的服务设置为随系统启动:
chkconfig nginx on
chkconfig php56-php-fpm on
chkconfig mysqld on
#修改mysql的密码为:qy22players
#输入下面的命令按提示操作
mysql_secure_installation
创建数据库:
CREATE DATABASE IF NOT EXISTS pf_account default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_active default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_info default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_name default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_report default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_account default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_activity default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_auction default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_cfg default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_common default charset latin1 COLLATE latin1_swedish_ci;
游客,如果您要查看本帖隐藏内容请回复
内容截图
长生诀1.png (720.2 KB, 下载次数: 61)
2019-1-17 21:24 上传
附件下载(如果本资源侵犯到您的权益,请联系在线管理员QQ:1589479632处理!)
游客,如果您要查看本帖隐藏内容请回复