服务器
-
Kubernetes 环境配置(旧版)
准备工作 什么是 ETCD https://etcd.io/ 什么是Kubernetes https://kubernetes.io/ flannel https://github.com/flannel-io/flannel Docker Home 本例 yum 安…… -
-
Let’s Encrypt + Certbot
准备工作 CertBot 官网 https://certbot.eff.org/ Let's Encrypt 官网 https://letsencrypt.org/ 安装 EPEL sudo yum install -y epel-release 步骤 安装 在 …… -
centos7磁盘分区、格式化、挂载
1. 分区: a. 查看磁盘分区表: # fdisk -l b. 查看指定磁盘分区表: # fdisk -l /dev/sdb c. 分区命令: # fdisk /dev/sdb 常用命令: n:创建新分区…… -
-
nginx日志自动切割方法
Nginx 日志分文件有以下两个: access.log 记录哪些用户,哪些页面以及用户浏览器,IP等访问信息; error.log 记录服务器错误的日志; 一、利用脚本日志切割(按…… -
常用 Repo 源
国内镜像站收集 https://segmentfault.com/a/1190000000375848 http://mirrors.ustc.edu.cn/ For MySQL(点击查看) http://mirrors.sohu.com/mysql/ http://m…… -
LVM 灾难修复
用三块磁盘组了LVM,其中一块硬盘挂了,记录一下剩余数据挽救方法。 1.LVM介绍 LVM 简介 LVM 是逻辑盘卷管理(Logical Volume Manager)的简称,最…… -
用 ACME.SH 申请 Let’s Encrypt 证书
目前似乎是自动更新证书 简单的操作手册 https://github.com/Neilpang/acme.sh/wiki 中文版操作手册 https://github.com/Neilpang/acme.sh/wiki/…… -
Hyper-V server 2016
准备工作: 假设本地机器机器名为 [local] 远程Hyper-V 服务器机器名为 [hyperv], 用[***]来表示此处内容可根据自己需要修改,如果要直接使用,请去掉 [ 和 ] 命……