手游《三国我为王》Linux手工端+安卓端+搭建教程+GM后台

搭建教程

1.安装环境  服务器必须32位 6.x 
yum install -y gcc
yum install -y vim
yum install -y e2fsprogs-devel
yum install -y uuid-devel
yum install -y libuuid-devel
yum install -y bison bison-devel
yum install -y psmisc
yum install -y unzip zip
-----------------------------------------------------------------------------------------------------------------------------------------------------
2.上传home.targz到根目录
cd /
tar -zxvf home.tar.gz
chmod -R 777 /home
-----------------------------------------------------------------------------------------------------------------------------------------------------
3.安装openssl
cd /home/soft/
tar -zxvf openssl-1.0.0.tar.gz && cd openssl-1.0.0
./config --prefix=/usr/local --openssldir=/usr/local/ssl && make clean && make && make install
./config --prefix=/usr/local --openssldir=/usr/local/ssl shared && make clean && make && make install
-----------------------------------------------------------------------------------------------------------------------------------------------------
4.安装mysql

groupadd mysql
useradd mysql -g mysql -s /sbin/nologin
cd /home/soft/ && tar -zxvf mysql-5.5.62-linux-glibc2.12-i686.tar.gz
mv -f mysql-5.5.62-linux-glibc2.12-i686 /home/local/mysql5.5.62
chown -R mysql:mysql /home/local/mysql5.5.62
-----------------------------------------------------------------------------------------------------------------------------------------------------
cd /home/local/mysql5.5.62
scripts/mysql_install_db --basedir=/home/local/mysql5.5.62 --datadir=/home/local/mysql5.5.62/data --user=mysql
cp /home/local/mysql5.5.62/support-files/mysql.server /etc/init.d/mysqld
chmod +x /etc/init.d/mysqld && chkconfig --add mysqld && chkconfig --level 2345 mysqld on && chkconfig --list
-----------------------------------------------------------------------------------------------------------------------------------------------------
编辑/etc/init.d/mysqld       46  47 行
basedir=/home/local/mysql5.5.62/
datadir=/home/local/mysql5.5.62/data/ 
编辑 /etc/profile
export PATH=$PATH:/home/local/mysql5.5.62/bin
然后
source /etc/profile
-----------------------------------------------------------------------------------------------------------------------------------------------------
my.cnf  上传到 etc目录
-----------------------------------------------------------------------------------------------------------------------------------------------------
编辑/etc/ld.so.conf
加入
/usr/local/lib/
/home/local/mysql5.5.62/lib
然后
ldconfig
ln -s /home/local/mysql5.5.62/lib/libmysqlclient.so.18   /usr/lib/
-----------------------------------------------------------------------------------------------------------------------------------------------------
service mysqld start
chkconfig mysqld on
-----------------------------------------------------------------------------------------------------------------------------------------------------
mysqladmin -u root password 12345
mysql -uroot -p12345
GRANT ALL PRIVILEGES ON *.* TO root@'127.0.0.1' IDENTIFIED BY '12345' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'sants.cn' WITH GRANT OPTION;
flush privileges;
quit
-----------------------------------------------------------------------------------------------------------------------------------------------------

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源