Skip to content

How to actually enable the mirror? #6

Answered by fardinkamal62
KaranAhlawat asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you!

If you've figured out which repo you want to use, copy the url like I did in this screenshot

Now open /etc/yum.repos.d/fedora.repo with any text editor as root and you'll see something kinda similar

Comment the metalink line; it checks & selects repo automatically
and uncomment baseurl; it hard codes repo

In the baseurl paste your https://{url}/fedora/linux and rest will be same
In the example my repo url was https://codingflyboy.mm.fcix.net/fedora/linux/ and the rest /releases/$releasever/Everything/$basearch/os/ will be same

Here I've changed /etc/yum.repos.d/fedora.repo, you can change other files of /etc/yum.repos.d too. Just check if the mirror has the resources or not.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KaranAhlawat
Comment options

Answer selected by KaranAhlawat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants