
CentOS7 서버에서 약간의 문제를 발견했습니다. 프록시 뒤의 가상 서버이며 인터넷에 연결할 수 있지만 yum을 사용할 수는 없습니다. 시도할 때마다 오류가 발생합니다.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?
release=7&arch=x86_64&repo=os&infra=stock error was
14: HTTP Error 407 - Proxy Authentication Required
프록시를 구성했지만/etc/환경:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
그리고/etc/yum.conf:
proxy=http://url:8088/
proxy_username=user_name
proxy_password=password
에서도 선언했는데/root/.bash_profile:
export http_proxy="http://url:8088/"
그리고/etc/wgetrc:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
어떻게 아직도 인증이 누락되었는지 정말 모르겠습니다. 이 문제를 해결하는 방법에 대한 아이디어가 있는 사람이 있나요?