VPSMATE
  • HOME
  • NEWS
  • VPS
  • DEDICATED
  • ARCHIVES
  • GoDaddy
  • SCRIPT
  • TOOLS
    • Traceroute
    • Benchmark
    • Useful Sites
  • Themes
  • GFW
VPSMATE
VPS COUPON & PROMOS | VPS & DEDICATED SERVERS OFFERS | VPS REVIEWS
  1. Home
  2. Tips
  3. This article

How to setup fastestmirror in CentOS 8 Dnf

2020年11月23日 392Browse 0Like 0Comments

Dnf by default does not choose the fastest mirror, but this can be changed by editing the dnf.conf file.

The dnf.conf file is in /etc/dnf/dnf.conf.

Edit the file


sudo nano /etc/dnf/dnf.conf

Once the file opens the content should look something like this.


[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False

fastestmirror=1
max_parallel_downloads=8

Let’s add fastmirror to the config and enable it.

 

Add below the line skip_if_unavaiable=True the following.


fastestmirror=1

The dnf.conf should look like this.


[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True

skip_if_unavailable=True
fastestmirror=1
max_parallel_downloads=8

Save the file.

Run the following command.


sudo dnf clean all

Related

Tags: None
Last updated:2020年11月23日

VPSMATE

stay absorbed stay excellent

Like
< Previous

Comments

Cancel reply

Highly Recommended!
Vultr
Links
Suggested Web Hosting
Suggested VPS
1.Unmetered G Port & Unlimited Backups 3.Fast Replies 4.Free credits 5.Torrent Friendly A Name You Can Trust
Digitalocean,$5/Mo-512m KVM+20GSSD

Budgetvm 1G Ram/3IP/80G/$48/yr

Photonvps/512mKVM/10GSSD/5.95$

Linode, Top Xen VPS Company

VPS.net, Top Cloud VPS Company

Domain Discounts
DMCA.com Protection Status

COPYRIGHT © 2020 VPSMATE. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS