云建站系统-全新188建站程序总控端-附带教程

源码介绍:

188建站系统标配配置文档

环境适用于:188建站系统对接端

步骤:

上传源码解压,然后添加数据库

修改 config.php 里面的数据库信息

内置详细教程与所需工具

ps:必须使用 kangle 面板搭建必须拥有面部管理权必须能进面部后台。

教程步骤

第一步
执行脚本安装kangle+ep+mysql (使用小樱脚本)

 

yum -y install wget

echo “timeout=120” >> /etc/yum.conf

yum -y update

yum -y install epel-release

chkconfig nscd off;service nscd stop;yum -y install dnsmasq;sed -i ‘s/#listen-address.*/listen-address=127.0.0.1/g’ /etc/dnsmasq.conf;echo -e ‘nameserver 127.0.0.1\nnameserver 1.1.1.1\nnameserver 2001:4860:4860::8888\nnameserver 2606:4700:4700::1111\nnameserver 114.114.114.114\nnameserver 223.5.5.5\nnameserver 119.29.29.29\noptions timeout:1 attempts:1 rotate’ > /etc/resolv.conf;chkconfig dnsmasq on;service dnsmasq start

rm -rf /etc/yum.repos.d/CentOS-Base.repo

wget http://github.itzmx.com/1265578519/mirrors/master/CentOS/CentOS6-Base-itzmx.repo -O /etc/yum.repos.d/CentOS6-Base-itzmx.repo

rm -rf /etc/yum.repos.d/*pel.repo

rm -rf /etc/yum.repos.d/epel-testing.repo

wget http://github.itzmx.com/1265578519/mirrors/master/EPEL/epel.repo -O /etc/yum.repos.d/epel.repo

wget http://github.itzmx.com/1265578519/mirrors/master/EPEL/epel-testing.repo -O /etc/yum.repos.d/epel-testing.repo

rpm -ivh http://github.itzmx.com/1265578519/repo/master/CentOS/mysql-community-release-el6-5.noarch.rpm

rm -rf /etc/yum.repos.d/mysql-community.repo

rm -rf /etc/yum.repos.d/mysql-community-source.repo

wget http://github.itzmx.com/1265578519/repo/master/CentOS/mysql-community.repo -O /etc/yum.repos.d/mysql-community.repo

wget http://github.itzmx.com/1265578519/repo/master/CentOS/mysql-community-source.repo -O /etc/yum.repos.d/mysql-community-source.repo

yum -y install which file wget make automake gcc gcc-c++ pcre-devel zlib-devel openssl-devel sqlite-devel quota unzip bzip2 libaio-devel

ulimit -n 1048576

echo “* soft nofile 1048576” >> /etc/security/limits.conf

echo “* hard nofile 1048576” >> /etc/security/limits.conf

wget http://github.itzmx.com/1265578519/kangle/master/ent/e.sh -O e.sh;sh e.sh /vhs/kangle

wget http://github.itzmx.com/1265578519/kangle/master/kangle/easypanel/ep.sh -O ep.sh;sh ep.sh

wget http://github.itzmx.com/1265578519/transmission/master/2.84/libevent-2.0.21-stable.tar.gz

tar zxf libevent-2.0.21-stable.tar.gz

cd libevent-2.0.21-stable

./configure

make -s -j 4

make -s install

ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5

ln -s /usr/local/lib/libevent-2.0.so.5.1.9 /usr/lib/libevent-2.0.so.5.1.9

ln -s /usr/lib/libevent-2.0.so.5 /usr/local/lib/libevent-2.0.so.5

ln -s /usr/lib/libevent-2.0.so.5.1.9 /usr/local/lib/libevent-2.0.so.5.1.9

cd ..

yum -y install memcached php-pecl-memcache

yum -y install php-pecl-apc

rm -rf /etc/sysconfig/memcached

wget http://github.itzmx.com/1265578519/kangle/master/memcached/memcached -O /etc/sysconfig/memcached

service memcached start

chkconfig –level 2345 memcached on

echo “127.0.0.1 download.safedog.cn” >> /etc/hosts

setenforce 0 && sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/selinux/config

wget http://github.itzmx.com/1265578519/safedog/master/2.4/safedog_linux64.tar.gz

tar xzf safedog_linux64.tar.gz

cd safedog_linux64

chmod -R 777 install.py

./install.py

sdcmd webflag 0

sdcmd twreuse 1

sdcmd sshddenyflag 1

cd ..

yum -y install mysql mysql-server

rm -rf /etc/my.cnf

wget http://github.itzmx.com/1265578519/kangle/master/mysql/5.6/my.cnf -O /etc/my.cnf

service mysqld restart

 

第二步
初始化并配置kangle
第一次配置 数据库密码为空, 用户名root 密码不填 端口3306 主机localhost
生成随机安全码,填写默认域名
默认域名检测 Windows系统运行CMD 输入命令 nslookup xxx.默认域名 显示和ep相同的IP即可泛解析成功
初始化并重启后修改kangle密码
进入mysql管理(用户名root 密码空) 点击修改密码 填写新密码,建议生成随机密码 复制密码 执行修改密码
进入ep面板服务器设置 粘贴或输入MySQL新密码 保存 重启kangle即可

第三步
安装PHP插件(随意搭配,可以全部复制直接执行,建议基础安装php5.6)

#安装PHP5.4
wget http://github.itzmx.com/1265578519/kangle/master/php/5.4/5445/completed/tpl_php5445.sh -O tpl_php5445.sh;sh tpl_php5445.sh

#安装PHP5.5
wget http://github.itzmx.com/1265578519/kangle/master/php/5.5/5538/completed/tpl_php5538.sh -O tpl_php5538.sh;sh tpl_php5538.sh

#安装PHP5.6(必装)
wget http://github.itzmx.com/1265578519/kangle/master/php/5.6/5633/completed/tpl_php5633.sh -O tpl_php5633.sh;sh tpl_php5633.sh

#安装PHP7.0
wget http://github.itzmx.com/1265578519/kangle/master/php/7.0/7027/completed/tpl_php7027.sh -O tpl_php7027.sh;sh tpl_php7027.sh

#安装PHP7.1
wget http://github.itzmx.com/1265578519/kangle/master/php/7.1/7113/completed/tpl_php7113.sh -O tpl_php7113.sh;sh tpl_php7113.sh

#安装PHP7.2
wget http://github.itzmx.com/1265578519/kangle/master/php/7.2/721/completed/tpl_php721.sh -O tpl_php721.sh;sh tpl_php721.sh

#重点:安装PHP插件后,在ep面板 多刷新几次,期间会出现500 直至刷新到无500

#升级ep面板的php版本(需要提前安装php5.6) 建议升级防止面板被CC [可选]
rm -rf /vhs/kangle/ext/tpl_php52/config.xml
wget http://github.itzmx.com/1265578519/kangle/master/easypanel/config.xml -O /vhs/kangle/ext/tpl_php52/config.xml
wget http://github.itzmx.com/1265578519/kangle/master/easypanel/php-node-5633.ini -O /vhs/kangle/ext/tpl_php52/etc/php-node-5633.ini
/vhs/kangle/bin/kangle -r

第四步
进入3311,找到虚拟主机[default],把主目录的www改成/home,绑定框里写入80,主机头的*改成服务器IP,最后提交更改
重新进入虚拟主机 在上面找到扩展映射 ,如果不是php5633 删除这一条扩展映射 在下面文件扩展名里输入php 扩展选择 命令php5633 增加即可

第五步
进入ep面板的产品列表,选择增加产品 选好php版本和空间数据库大小 确认提交
要使用的PHP版本的产品ID是多少 建站系统设置里的产品ID就是多少 默认是1 版本php5.6

第六步
下载/home目录安装文件 最后一行有回车

ch /home
wget http://qiniu.huangjian-ln.cn/jianzhan.home.tar.gz
tar zxvf jianzhan.home.tar.gz
rm -rf jianzhan.home.tar.gz
cd

出现任何问题,重装系统 重新执行脚本

图片展示:

特别提醒:本文由(九州源码)整理自网络,如转载请注明出处:https://www.jiuzhouym.com;
本站发布的内容若侵犯到您的权益,请邮件联系 admin@jiuzhouym.com 删除,我们将及时处理!
=========================================

免责声明:本站大部分下载资源收集于网络,不保证其完整性以及安全性,请下载后自行测试。
本站资源仅供学习和交流使用,版权归资源原作者所有,请在下载后24小时之内自觉删除。
若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。


九州源码 » 云建站系统-全新188建站程序总控端-附带教程

发表评论

提供最优质的源码资源集合

立即查看 了解详情