nginx二进制安装
作者:互联网
目录
一:二进制安装nginx
1.下载CentOS源
2.安装CentOS源
[root@localhost ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-7-reg.repo
3.下载epel源(失败显示未找到命令)
4.解决依赖
[root@localhost ~]# yum -y install yum-utils
5.安装Epel源
[root@localhost ~]# yum-config-manager --add-repo=https://repo.huaweicloud.com/epel/7/x86_64/
6.安装nginx
[root@localhost ~]# yum install nginx --nogpgcheck
--nogpgcheck : 公钥认证
标签:epel,CentOS,二进制,repo,nginx,yum,安装 来源: https://www.cnblogs.com/goOJBK/p/15757193.html