软件安装
cat /etc/redhat-release && uname -a
CentOS Linux release 7.8.2003 (Core)
Linux centos7-1 3.10.0-1127.el7.x86_64
systemctl stop firewalld && systemctl disable firewalld
echo SELINUX=disabled > /etc/sysconfig/selinux
cp -pv /etc/sysctl.conf /etc/sysctl.conf.bak
echo net.ipv4.tcp_syncookies = 1 >> /etc/sysctl.conf
echo net.ipv4.tcp_tw_reuse = 1 >> /etc/sysctl.conf
echo net.ipv4.tcp_tw_recycle = 1 >> /etc/sysctl.conf
echo net.ipv4.tcp_fin_timeout = 10 >> /etc/sysctl.conf
echo net.ipv4.ip_forward = 1 >> /etc/sysctl.conf
sysctl -p
yum install -y yum-utils git docker-ce-18.06.3.ce
systemctl daemon-reload
systemctl start docker && systemctl enable chronyd docker
docker --version
Docker version 18.06.3-ce, build 6d37f41
docker pull mysql:5.7
docker pull matomo:latest
docker pull nginx:1.10.2
标签:sysctl,etc,matomo,echo,访问,ipv4,conf,docker From: https://blog.51cto.com/mailfile/7977782