Yum issue behind coorporate proxy

Issues related to configuring your network
Post Reply
zenzedoon
Posts: 1
Joined: 2020/10/12 11:11:16

Yum issue behind coorporate proxy

Post by zenzedoon » 2020/10/12 11:33:06

Hello all,
I have a probleme to get yum update , i actually work on centos 7 VM with static ip adress used behind a coorporate proxy (Zscaler) which use a coorporate cetification and user and password to get into inetrnet.
i edit the envirement fil /etc/envirenemtn to add the proxy_http and proxy_https with http_proxy=http://domain\\user@proxyIP:port
i also add the http_proxy parameter to /etc/yum.conf
when i try to get update "sudo yum update" i have the following message :Hutch1nson

Modules complémentaires chargés : fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Le réseau n'est pas accessible"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Le réseau n'est pas accessible"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Le réseau n'est pas accessible"
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f9:2a:150d::10: Le réseau n'est pas accessible"
Essai d'un autre miroir.
-bash: Could : commande introuvable
-bash: 14: : commande introuvable
[1] Termine 127 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7
[2]- Fini arch=x86_64
[3]+ Fini repo=updates

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum issue behind coorporate proxy

Post by TrevorH » 2020/10/12 14:41:22

Yum uses its own settings for proxy in /etc/yum.conf. You can see them by reading man yum.conf and searching for 'proxy'.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply