08 2020 档案
k8s集群搭建
摘要:高速镜像源:清华源、华为源、阿里源 0. centos wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.huaweicloud.com/repository/conf/CentOS-7-anon.repo 1. docker-ce 阅读全文
posted @ 2020-08-31 17:55 51core 阅读(185) 评论(0) 推荐(0)
一些内核参数
摘要:net.ipv4.tcp_syncookies = 1net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_tw_recycle = 1net.ipv4.tcp_fin_timeout = 30net.ipv4.tcp_timestamps = 0 vm.swappines = 阅读全文
posted @ 2020-08-31 17:36 51core 阅读(335) 评论(0) 推荐(0)
rsync服务配置和使用
摘要:rsync使用系统账号在服务器之间同步文件时,默认一般是22端口,一般建议加上-e参数指定端口,特别是使用非22端口时,如:rsync -avuz -e 'ssh -p 2222' user@remote-server:/path/to/remote/folder /path/to/local/fo 阅读全文
posted @ 2020-08-31 16:43 51core 阅读(1081) 评论(0) 推荐(1)