根据:https://blog.csdn.net/qq_46162321/article/details/115006096
ll
# mkdir repo_bak # mv *.repo repo_bak/ # mv *.repo.bak repo_bak/ # ll
# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 查看安装情况 # ll
常用命令
bashcd /usr/local/nginx/sbin ./nginx # 启动
cd /usr/local/nginx/sbin ./nginx # 启动