摘要: Ubuntu18.04源 cat > /etc/apt/sources.list <<eof # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main r 阅读全文
posted @ 2021-05-18 19:16 AlexG 阅读(242) 评论(0) 推荐(0)
摘要: nginx简介 Nginx:engine X ,2002年开发,分为社区版和商业版(nginx plus ) 2019年3月11日 F5 Networks 6.7亿美元的价格收购 Nginx是免费的、开源的、高性能的HTTP和反向代理服务器、邮件代理服务器、以及TCP/UDP代理服务器 解决C10K 阅读全文
posted @ 2021-05-17 20:31 AlexG 阅读(225) 评论(0) 推荐(0)
摘要: Install Docker Compose 1. Official Installation Documentation #sudo curl -L "https://github.com/docker/compose/releases/download/1.29.0/docker-compose 阅读全文
posted @ 2021-05-17 06:57 AlexG 阅读(104) 评论(0) 推荐(0)
摘要: 配置源 确认版本 添加镜像加速器 https://docs.docker.com/engine/release-notes/19.03/ for centos7 # wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/ 阅读全文
posted @ 2021-05-17 06:53 AlexG 阅读(224) 评论(0) 推荐(0)
摘要: 目录部署方式1. 基础环境准备1.1 基础初始化1.2 安装docker2. 部署harbor及haproxy高可用反向代理2.1 镜像加速配置2.2 高可用master可配置3. 初始化master节点4. 初始化node节点5. master节点kubeadm init初始化5.1基于文件初始化 阅读全文
posted @ 2021-05-16 20:34 AlexG 阅读(371) 评论(0) 推荐(0)
摘要: Portainer是一个轻量级的管理UI,它允许你轻松地管理你的Docker和Kubernetes集群 https://documentation.portainer.io/v2.0/deploy/ceinstalldocker/ https://hub.docker.com/r/portainer 阅读全文
posted @ 2021-05-16 16:08 AlexG 阅读(73) 评论(0) 推荐(0)
摘要: set env db_host=136.198.111.110 db_password=db.3NIoTP7 db_port=3081 db_user=order db_name=order_from db_table=product 备份表 mysqldump -h${db_host} -u${d 阅读全文
posted @ 2021-05-15 09:28 AlexG 阅读(55) 评论(0) 推荐(0)
摘要: 内核TCP参数优化 net.ipv4.tcp_fin_timeout = 2 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_keepalive_time = 阅读全文
posted @ 2021-05-15 09:18 AlexG 阅读(258) 评论(0) 推荐(0)
摘要: 集群资源查看 kubectl get nodes #查看节点状态 kubectl get cs #kubectl检查组件健康状态 kubectl get pods kubectl get all kubectl get svc $serviceames kubectl get ep kubectl 阅读全文
posted @ 2021-05-15 09:11 AlexG 阅读(133) 评论(0) 推荐(0)
摘要: 问题现象 windows server 2008作为测试环境跳板机,但是没有配置官方的rdp授权,限制用户登录数,限制使用rdp服务的可授权使用时长(120天) 作为GUI环境的综合跳板机,发现至少配置以下内容才能满足使用需要(机房环境统一GUI入口审核) 不限制用户登录数 不限值rdp登录时长 用 阅读全文
posted @ 2021-05-13 21:21 AlexG 阅读(3424) 评论(0) 推荐(0)