安装MSYS2
以下地址下载安装
https://www.msys2.org/
http://repo.msys2.org/distrib/
修改home目录
修改home目录为Windows home目录
vim /etc/nsswitch.conf
db_home: windows
安装zsh
pacman -S zsh
以下地址下载安装
https://www.msys2.org/
http://repo.msys2.org/distrib/
修改home目录为Windows home目录
vim /etc/nsswitch.conf
db_home: windows
pacman -S zsh
安装certbot
yum install certbot python2-certbot-nginx
certbot --nginx
chmod 755 `find ./ -type d `
chmod 644 `find ./ -type f`
vi /etc/sysconfig/network
#添加
HOSTNAME=your-name
vi /etc/hosts
#修改
192.168.x.x your-name your-name
#终端执行
hostname your-name