
Ich bin auf ein kleines Problem mit meinem CentOS7-Server gestoßen. Es handelt sich um einen virtuellen Server hinter einem Proxy und er kann eine Verbindung zum Internet herstellen, aber er kann Yum nicht verwenden. Immer wenn ich es versuche, erhalte ich die Fehlermeldung:
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
Obwohl ich den Proxy konfiguriert habe in/etc/Umgebung:
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.*'
und in/etc/yum.conf:
proxy=http://url:8088/
proxy_username=user_name
proxy_password=password
Ich habe es sogar erklärt in/root/.bash_profile:
export http_proxy="http://url:8088/"
und in/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.*'
Ich verstehe wirklich nicht, warum die Authentifizierung immer noch fehlt. Hat jemand eine Idee, wie man das lösen kann?