kangle 一键脚本 小樱提供

kangle 一键脚本 小樱提供

心情随笔乐云2019-08-07 9:10:51130A+A-

更新了小樱最新的php版本地址

更新时间:2019年5月7日19:06:56


1:要从CentOS 6.X 这个不用说吧!

2:代码贴过去,直接执行,懂吧!(注意,执行完要回车一下,后面一行命令没执行!)

默认账号密码:admin/kangle

MySQL:root 密码为空

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 208.67.222.222\nnameserver 8.8.
8.8\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.repowget  
CentOS6-Base-itzmx.repo -O /etc/yum.repos.d/CentOS6-Base-itzmx.reporm -rf /etc/yum.repos.d/*pel.reporm 
-rf /etc/yum.repos.d/epel-testing.repowget  
repo -O /etc/yum.repos.d/epel.repowget  
ing.repo -O /etc/yum.repos.d/epel-testing.reporpm -ivh  
CentOS/mysql-community-release-el6-5.noarch.rpmrm -rf /etc/yum.repos.d/mysql-community.reporm -rf /etc/
yum.repos.d/mysql-community-source.repowget  
-community.repo -O /etc/yum.repos.d/mysql-community.repowget  
master/CentOS/mysql-community-source.repo -O /etc/yum.repos.d/mysql-community-source.repoyum -y install
 which file wget make automake gcc gcc-c++ pcre-devel zlib-devel openssl-devel sqlite-devel quota unzip
  bzip2 libaio-develulimit -n 1048576echo "* soft nofile 1048576" >> /etc/security/limits.confecho "* 
  hard nofile 1048576" >> /etc/security/limits.confwget http://github.itzmx.com/1265578519/kangle/master
  /ent/e.sh -O e.sh;sh e.sh /vhs/kanglewget http://github.itzmx.com/1265578519/kangle/master/kangle/
  easypanel/ep.sh -O ep.sh;sh ep.shwget http://github.itzmx.com/1265578519/transmission/master/2.84/
  libevent-2.0.21-stable.tar.gztar zxf libevent-2.0.21-stable.tar.gzcd libevent-2.0.21-stable./
  configuremake -s -j 4make -s installln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.
  5ln -s /usr/local/lib/libevent-2.0.so.5.1.9 /usr/lib/libevent-2.0.so.5.1.9ln -s /usr/lib/libevent-2.0
  .so.5 /usr/local/lib/libevent-2.0.so.5ln -s /usr/lib/libevent-2.0.so.5.1.9 /usr/local/lib/libevent-2.
  0.so.5.1.9cd ..yum -y install memcached php-pecl-memcacheyum -y install php-pecl-apcrm -rf /etc/
  sysconfig/memcachedwget http://github.itzmx.com/1265578519/kangle/master/memcached/memcached -O /
  etc/sysconfig/memcachedservice memcached startchkconfig --level 2345 memcached onecho "127.0.0.1 
  download.safedog.cn" >> /etc/hostssetenforce 0 && sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' 
  /etc/selinux/configwget http://github.itzmx.com/1265578519/safedog/master/2.4/safedog_linux64.tar.
  gztar xzf safedog_linux64.tar.gzcd safedog_linux64chmod -R 777 install.py./install.pysdcmd webflag 
  0sdcmd twreuse 1sdcmd sshddenyflag 1cd ..yum -y install mysql mysql-serverrm -rf /etc/my.cnfwget 
  http://github.itzmx.com/1265578519/kangle/master/mysql/5.6/my.cnf -O /etc/my.cnfservice mysqld restart

3:安装cdn节点的,可以不用mysql,卸载代码:

yum -y remove mysql mysql*
rm -rf /var/lib/mysql/*
yum -y install mysql-libs

4:补齐自己需要的PHP版本(新版本):

wget http://github.itzmx.com/1265578519/kangle/master/php/5.2/5217/completed/tpl_php5217.sh -O tpl_php
5217.sh;sh tpl_php5217.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/5.4/5445/completed/tpl_php5445.sh -O tpl_php
5445.sh;sh tpl_php5445.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/5.5/5538/completed/tpl_php5538.sh -O tpl_php
5538.sh;sh tpl_php5538.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/5.6/5639/completed/tpl_php5639.sh -O tpl_php
5639.sh;sh tpl_php5639.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/7.0/7033/completed/tpl_php7033.sh -O tpl_php
7033.sh;sh tpl_php7033.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/7.1/7125/completed/tpl_php7125.sh -O tpl_php
7125.sh;sh tpl_php7125.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/7.2/7213/completed/tpl_php7213.sh -O tpl_php
7213.sh;sh tpl_php7213.sh

5:补齐自己需要的PHP版本(老版本)

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_php
5445.sh;sh tpl_php5445.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/5.5/5538/completed/tpl_php5538.sh -O tpl_php
5538.sh;sh tpl_php5538.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/5.6/5633/completed/tpl_php5633.sh -O tpl_php
5633.sh;sh tpl_php5633.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/7.0/7027/completed/tpl_php7027.sh -O tpl_php
7027.sh;sh tpl_php7027.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/7.1/7113/completed/tpl_php7113.sh -O tpl_php
7113.sh;sh tpl_php7113.sh

wget http://github.itzmx.com/1265578519/kangle/master/php/7.2/721/completed/tpl_php721.sh -O tpl_php
721.sh;sh tpl_php721.sh

结束

Kangle一键搭建脚本

极速编译(5-10分钟)

安装方式:


kangle一键搭建极速安装:

yum -y install wget;wget kangle.oz7o.cn/install.sh -O install.sh;sh install.sh

脚本介绍:

本脚本是一键安装Kangle+Easypanel+Mysql的集合脚本。

脚本本身集成:PHP5.2、PHP5.3、PHP5.4、PHP5.5、PHP5.6、PHP7.0、PHP7.1、PHP7.2、PHP7.3、MYSQL5.6

支持前台用户任意切换PHP5.2-7.3以适应网站程序

特点:

安装包内PHP套件以及Kangle套件均已本地化,大概编译时间10分钟

自带Kangle商业版

自带防黑功能

自带自定义错误页

自带禁止安全码登陆后台

自带用户自助泛解析

自带PHP5.2-5.3打dos补丁

支持EP面板切换PHP5.6修复dos漏洞

预先设置各PHP版本PHP.ini安全问题

自动更新MySQL5.1至MySQL5.6

一键开启sg11加密

已美化404页面到kangle包

(不定时跟进官方更新)



取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

点击这里复制本文地址 以上内容由乐云资源博客整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!

支持Ctrl+Enter提交

乐云资源博客(小O资源网) © All Rights Reserved.  
Copyright Copyright 2018-2019 小O资源网
鄂ICP备18028263号
安全联盟站长平台
Powered by 基于zblog搭建 Themes by www.oz7o.cn
网站地图| 发展历程| 留言建议| 网站管理

博客官方群×