0
点赞
收藏
分享

微信扫一扫

docker部署matomo网站访问统计工具

老北京的热干面 2023-10-22 阅读 19

软件安装

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

举报

相关推荐

0 条评论