Linux系统下Kangle Web环境一键脚本合集

Shell脚本 Qwluoye 阅读: 12612次 0评论

【原创·版权所有】

  • Kangle官方一键安装脚本。

这个不做评论,安装官方脚本的人不多

*仅附带php53,需要自行编译安装其他版本。点此查看并自行选择PHP版本添加

yum -y install wget;wget http://download.kangleweb.com/easypanel/ep.sh -O ep.sh;sh ep.sh

 

erw.png

 

  • [推荐]KOS工具箱旗下Kangle eP一键脚本

多家国内IDC服务器提供商强烈推荐,安全稳定,完全适配KOS工具箱的增强功能

*内含全套PHP版本

yum install -y curl wget && sh <(curl kangle.kostool.cn/Kangle_For_KosTool?$RANDOM)

 

  • 狐狸第三方Kangle eP一键脚本

狐狸基于PHP7写的EP,部分插件和服务需要用户自行调试,不推荐使用

*内含全套PHP版本

yum -y install wget;wget hlsh.sh -O s;sh s

 

  • Kangle.pw第三方Kangle eP一键脚本

【点点失踪,该脚本目前无法正常使用】基于小樱脚本核心内容,并补充添加其他功能

*内含全套PHP版本

yum -y install wget;wget http://kangle.pw/install;sh install

 

  • [推荐]小樱第三方Kangle eP一键脚本

稳定、高效,由经验资深的Kangle兴趣者编写,不断修复最新漏洞,脚本有点长,直接全部复制粘贴到SSH回车即可

*仅附带php53,需要自行编译安装其他版本。点此查看并自行选择PHP版本添加

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
nameserver 208.67.222.222
nameserver 8.8.8.8
nameserver 114.114.114.114
nameserver 119.29.29.29
options 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
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

 

  • 以下各PHP版本,可无缝添加到Kang eP系统

博主推荐安装PHP5.6、7.1版本即可,其他版本并无太大区别

*如果全部安装,可以复制、粘贴到SSH,安装全版本

wget http://github.itzmx.com/1265578519/kangle/master/php/5.2/5217/completed/tpl_php5217.sh -O tpl_php5217.sh;sh tpl_php5217.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/5.4/5445/completed/tpl_php5445.sh -O tpl_php5445.sh;sh tpl_php5445.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/5.5/5538/completed/tpl_php5538.sh -O tpl_php5538.sh;sh tpl_php5538.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/5.6/5633/completed/tpl_php5633.sh -O tpl_php5633.sh;sh tpl_php5633.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.0/7027/completed/tpl_php7027.sh -O tpl_php7027.sh;sh tpl_php7027.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.1/7113/completed/tpl_php7113.sh -O tpl_php7113.sh;sh tpl_php7113.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.2/721/completed/tpl_php721.sh -O tpl_php721.sh;sh tpl_php721.sh

 

  • 进儿第三方Kangle eP一键脚本

免编译安装、速度快,但稳定性和效率相对来说不如其他编译安装脚本

*内含全套PHP版本

yum -y install wget;wget http://kangle.1ilo.cn/kangle.sh -O kangle.sh;sh kangle.sh

 

  • Tzhost第三方Kangle eP一键脚本

不做评价,没有用过

*内含全套PHP版本

yum -y install wget unzip;wget http://kangle.in/install;sh install

 

  • 彩虹脚本第三方Kangle eP一键脚本

彩虹的脚本很长时间没有更新,所以很多漏洞没有修复,不推荐使

*内含全套PHP版本

yum -y install wget;wget http://kangle.odata.cc/start;sh start

 

推荐:

KOS工具箱是一个主要面向Kangle EP系统的Linux Shell脚本管理工具。
它包含了Kangle EP环境的PHP安全配置、防黑防扫爆底层程序、精准防CC攻击、EP泛解析插件等等功能,和Linux系统下的SSH端口修改、时间匹配等等一键功能。欢迎体验,官方网站:kos.qwblog.cn

 

扩展文章:

1.《Linux安装kangle(康乐)网站管理面板的简易教程第三步:配置ep服务面板》

2.如果不会使用ep主机,请访问《Kangle(康乐)的网页后台ep控制面板使用快速入门

 

 

【Qwluoye原创·版权所有】第三方盗取内容应负法律责任!!

 

喜欢 (0)

文章评论已关闭!