Configuration
Helm Mirror Sources in China
· β˜• 1 min read
The official Helm repo https://charts.helm.sh/stable is unreachable from some machines in China, so you need to configure a mirror. 1. Official Repo 1 helm repo add stable https://charts.helm.sh/stable 2. Git Pages Mirror 1 helm repo add stable https://burdenbear.github.io/kube-charts-mirror/ See kube-charts-mirror for a reference on building a self-hosted, self-controlled mirror.

Certificates in Kubernetes
· β˜• 3 min read
I am using Kubernetes 1.15.3; the way different versions handle this may vary. 1. About Certificates A root certificate is self-signed A root certificate is issued by itself. Browsers have the CA certificates of common certificate vendors built in. That is why browsers trust the next-level certificates issued by those vendors.

A Few Things to Do After Installing CentOS
· β˜• 2 min read
1. Replacing the Repository Mirror First, back up the official repository. 1 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup Download the new repository to /etc/yum.repos.d/ CentOS 5 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo CentOS 6 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo CentOS 7 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo Generate the metadata cache. 1 yum makecache 2. Accessing NTFS File Systems The Linux kernel currently only supports reading Microsoft’s NTFS file system.

Nginx Configuration Problem Record
· β˜• 1 min read
1. server_name Has No Effect Symptom: Nginx reverse-proxies two applications, and the configuration details are as follows. It turned out that requests to b.chenshaowen.com and a.chenshaowen.com both returned responses from service A. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 server