centos7安装docker
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
uname -r
yum -y update
yum remove docker docker-common docker-selinux docker-engine
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker [...]
CC攻击防护,Centos增加最大连接数,Kangle防CC
使用Kangle拦截功能,Kangle安装:https://html5code.org/type/competitive-system/html/52.html修改centos最大连接数vi /etc/sysctl.conf增加字段net.ipv4.tcp_syncookies = 1
net.netfilter.nf_conntrack_max=1048576sysctl -p #保存修改文件打开数vi /etc/systemd/system.conf修改字段DefaultLimitNOFILE=1024000 #这里需要修改
DefaultLimitNPROC=1024000 #这里也需要修改编辑/etc/security/limits.confvi /etc/security/limits. [...]
docker下ffmpeg镜像安装
docker Mysql5.7镜像单独一键安装
此脚本适合单独安装mysql5.7使用if [ ! -d "/home/ximijia_cn_docker/mysql" ];then \
if [ ! -d "/home/ximijia_cn_docker" ];then \
mkdir /home/ximijia_cn_docker;\
fi
cd /home/ximijia_cn_docker;\
wget https://v.ximijia.cn/mysql_data.tar.gz -O /home/ximijia_cn_docker/mysql_data.tar.gz;\
tar -zxvf  [...]
已安装docker一键盘安装Kangle-docker
当前安装脚本适合已安装docker的centos7使用if [ ! -d "/home/ximijia_cn_docker/etc" ];then \
wget https://v.ximijia.cn/etc.tar.gz -O etc.tar.gz;\
cd /home/;\
tar -zxvf etc.tar.gz;\
cd /root;\
fi
if [ ! -d "/home/ximijia_cn_docker/home" ];then \
mkdir -p /home/ximijia_cn_docker/home;\
[...]
centos7 docker下kangle镜像一键全新安装
当前安装脚本适合没有安装docker的centos7使用uname -r
yum -y update
yum remove docker docker-common docker-selinux docker-engine
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install docker -y
service&nb [...]