Jump to content

Linux Help Blog

  • entries
    9
  • comments
    3
  • views
    1,783

Contributors to this blog

Troubleshooting CentOS 7 internet connection through proxy


rev.dennis

92 views

This has been a straight up nightmare.  My CentOS 7 server has been updating just fine via yum through our proxy and all of a sudden it stopped working.  This blog is some troubleshooting I've done to try and figure out the issue.

FIRST, validate your repos are correct.  This is what I have on my server

/etc/yum.repos.d/

-rw-r--r-- 1 root root  191 Sep 15  2015 endpoint.repo
-rw-r--r-- 1 root root  152 May 22  2018 Tuleap.repo
-rw-r--r-- 1 root root 1062 Jun 19  2018 rpmfusion-free-updates-testing.repo
-rw-r--r-- 1 root root 1002 Jun 19  2018 rpmfusion-free-updates.repo
-rw-r--r-- 1 root root  159 Aug  1  2018 cwp.repo
-rw-r--r-- 1 root root  139 Aug  1  2018 mariadb.repo
-rw-r--r-- 1 root root    0 Aug 16  2018 openproject-ce.repo
-rw-r--r-- 1 root root  971 Oct 29  2018 CentOS-SCLo-scl-rh.repo.OLD
-rw-r--r-- 1 root root  998 Dec 11  2018 CentOS-SCLo-scl.repo.OLD
-rw-r--r-- 1 root root  633 Oct  7  2019 zabbix.repo
-rw-r--r-- 1 root root  750 Mar 18  2020 remi-safe.repo.rpmsave
-rw-r--r-- 1 root root  228 Mar 18  2020 webmin.repo
-rw-r--r-- 1 root root 1062 Apr 24  2020 epel.repo
-rw-r--r-- 1 root root  750 Aug 17  2020 remi-safe.repo
-rw-r--r-- 1 root root 2605 Aug 17  2020 remi.repo
-rw-r--r-- 1 root root 1314 Aug 17  2020 remi-php80.repo
-rw-r--r-- 1 root root 1314 Aug 17  2020 remi-php74.repo
-rw-r--r-- 1 root root 1314 Aug 17  2020 remi-php73.repo
-rw-r--r-- 1 root root 1314 Aug 17  2020 remi-php71.repo
-rw-r--r-- 1 root root 1314 Aug 17  2020 remi-php70.repo
-rw-r--r-- 1 root root  456 Aug 17  2020 remi-php54.repo
-rw-r--r-- 1 root root  855 Aug 17  2020 remi-modular.repo
-rw-r--r-- 1 root root  446 Aug 17  2020 remi-glpi94.repo
-rw-r--r-- 1 root root  446 Aug 17  2020 remi-glpi93.repo
-rw-r--r-- 1 root root  446 Aug 17  2020 remi-glpi92.repo
-rw-r--r-- 1 root root  446 Aug 17  2020 remi-glpi91.repo
-rw-r--r-- 1 root root  616 Oct 23 10:53 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root 8515 Oct 23 10:53 CentOS-Vault.repo
-rw-r--r-- 1 root root 1331 Oct 23 10:53 CentOS-Sources.repo
-rw-r--r-- 1 root root  630 Oct 23 10:53 CentOS-Media.repo
-rw-r--r-- 1 root root  314 Oct 23 10:53 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  649 Oct 23 10:53 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 1309 Oct 23 10:53 CentOS-CR.repo
-rw-r--r-- 1 root root 1149 Oct 31 16:33 epel-testing.repo
-rw-r--r-- 1 root root 1314 Nov  3 17:50 remi-php72.repo
-rw-r--r-- 1 root root 1862 Feb  4 11:54 CentOS-Base.repo.OLD
-rw-r--r-- 1 root root 1062 Feb  4 15:50 epel.repo.OLD
-rw-r--r-- 1 root root 1501 Feb 26 12:14 CentOS-Base.repo

I built a brand new CentOS 7 2019 version and this is what I have

 

yum.repos.d.tar.gz

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...