migrate to git.charlotte.sh
This commit is contained in:
commit
fbd588721e
412 changed files with 13750 additions and 0 deletions
7
net-sec-controls-sec350/labs/week02/centOS_repo_fix.md
Normal file
7
net-sec-controls-sec350/labs/week02/centOS_repo_fix.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# CentOS Repo Fix
|
||||
They changed the URLs for the repos for CentOS. to fix, change the repos in yum's config:
|
||||
```
|
||||
sudo sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo
|
||||
sudo sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
|
||||
sudo sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue