redhat 6.x버전에서 nginx 설치하다가 오류가 찾아보니 yum list 7버전으로 nginx가 나옴... el6으로 갱신이 필요...
yum-utils 설치로 해결했다
1. 현재 yum에 nginx 정보 확인
# yum list | grep nginx
nginx-release-rhel.noarch 6-0.el6.ngx installed
nginx.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-debug.x86_64 1:1.8.0-1.el7.ngx nginx
nginx-debuginfo.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-geoip.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-geoip-debuginfo.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-image-filter.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-image-filter-debuginfo.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-njs.x86_64 1:1.16.1.0.3.5-1.el7.ngx nginx
nginx-module-njs-debuginfo.x86_64 1:1.16.1.0.3.5-1.el7.ngx nginx
nginx-module-perl.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-perl-debuginfo.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-xslt.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-module-xslt-debuginfo.x86_64 1:1.16.1-1.el7.ngx nginx
nginx-nr-agent.noarch 2.0.0-12.el7.ngx nginx
pcp-pmda-nginx.x86_64 3.10.9-9.el6 bash
2. yum-utils 설치
# yum intsll yum-utils
3. list 확인
# yum list | grep nginx
nginx.x86_64 1.16.1-1.el6.ngx @nginx
nginx-release-rhel.noarch 6-0.el6.ngx installed
nginx-debug.x86_64 1.8.0-1.el6.ngx nginx
nginx-debuginfo.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-geoip.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-geoip-debuginfo.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-image-filter.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-image-filter-debuginfo.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-njs.x86_64 1.16.1.0.3.5-1.el6.ngx nginx
nginx-module-njs-debuginfo.x86_64 1.16.1.0.3.5-1.el6.ngx nginx
nginx-module-perl.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-perl-debuginfo.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-xslt.x86_64 1.16.1-1.el6.ngx nginx
nginx-module-xslt-debuginfo.x86_64 1.16.1-1.el6.ngx nginx
nginx-nr-agent.noarch 2.0.0-12.el6.ngx nginx
pcp-pmda-nginx.x86_64 3.10.9-9.el6 bash
4. nginx 설치
# yum install nginx
정상설치 됨 ㅋㅋㅋ
5. nginx 확인
# nginx -v
nginx version: nginx/1.16.1
끝
'Linux' 카테고리의 다른 글
CenOS6 Docker 설치 (0) | 2022.03.21 |
---|---|
OpenSSL 업그레이드하기 (0) | 2022.03.21 |
Nginx + php 연동 (0) | 2022.03.21 |
centos7 nginx 설치 (0) | 2022.03.21 |
Nginx permission denied error (0) | 2022.03.21 |