一、狐狸kangle一键脚本:
也叫HLPanel.目前应该只支持CENTOS6/7
HLPanel由HLshell工作室团队重新二开easypanel打造与改进.
官方网站:https://hlsh.sh
论坛:https://www.hlshell.com/
使用方法:
yum -y install wget;wget hlsh.sh -O s;sh s
二、彩虹kangle一键脚本
本脚本是一键安装Kangle+Easypanel+Mysql的集合脚本,已率先支持CentOS8操作系统。彩虹Kangle一键脚本,是一款可以一键安装Kangle+Easypanel+Mysql集合的Linux脚本。 脚本本身集成:PHP5.3~PHP8.1、MYSQL5.6,支持极速安装和编译安装2种模式,支持CDN专属安装模式。同时也对Easypanel面板进行了大量优化。
本脚本支持CentOS 6.x/CentOS 7.x/CentOS 8.x系统(其中CentOS6不支持安装PHP7.4和PHP8.0)
使用方法:
yum -y install wget;wget http://kangle.cccyun.cn/start;sh start
三、小樱kangle一键脚本
官网及介绍:
https://bbs.itzmx.com/thread-7232-1-1.html
使用方法:
rm -rf /etc/yum.repos.d/CentOS-Base.repo;curl -L -s http://github.itzmx.com/1265578519/mirrors/master/CentOS/CentOS6-Base-itzmx.repo -o /etc/yum.repos.d/CentOS6-Base-itzmx.repo
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 8.8.8.8\nnameserver 2001:4860:4860::8888\nnameserver 2606:4700:4700::1111\nnameserver 1.1.1.1\nnameserver 114.114.114.114\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 /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
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 /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
yum clean all;yum makecache
yum -y install which file wget make automake gcc gcc-c++ pcre-devel zlib-devel openssl-devel sqlite-devel quota unzip bzip2 libaio-devel bind-utils nload iftop iotop htop lrzsz
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
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
echo "127.0.0.1 client-server.safedog.cn" >> /etc/hosts
echo "127.0.0.1 update.safedog.cn" >> /etc/hosts
echo "127.0.0.1 www.safedog.cn" >> /etc/hosts
echo "127.0.0.1 fuyun.safedog.cn" >> /etc/hosts
echo "127.0.0.1 config.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
如果你完全不需要数据库运行,比如说单独跑CDN反向代理,怕mysql占内存可以卸载
yum -y remove mysql mysql*
rm -rf /var/lib/mysql/*
yum -y install mysql-libs
安装后通过访问进入后台设置,默认用户名admin,密码kangle,mysql数据库用户名root,密码空,初始化后点击左边的mysql管理进行修改root密码,修改后记得去服务器设置填写新密码
http://ip:3312/admin
php各个版本:无缝安装到kangle系统,推荐php5.3/5.5/5.6/7.1版本!
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.la一键脚本
本脚本是一键安装Kangle+Easypanel+Mysql的集合脚本。
脚本本身集成:PHP5.3、PHP5.4、PHP5.5、PHP5.6、PHP7.1、PHP7.2、PHP7.3、PHP7.4、PHP8.0、MYSQL5.6
支持前台用户任意切换PHP5.3-8.0以适应网站程序
支持前台用户任意切换CC防护盾模式
自带精品模板
请复制以下指令到ssh连接软件粘贴执行
yum -y install wget;wget https://www.kangle.la/start;chmod +x start;./start
其他脚本无缝切换至本脚本
yum -y install wget;wget https://file.kangle.la/uptodata.sh;chmod +x uptodata.sh;bash uptodata.sh
五、loshub脚本
官方介绍:https://www.loshub.com/topic/show/165/
一键脚本正式安装kangle和easypanel2.6.26
wget http://source.loshub.com/git/ep.sh -O ep.sh&& chmod 775 ep.sh && ./ep.sh 2>&1 | tee ep.log
文章评论