I'm using fedora 23 and I want to change the default settings in
dnf in order to use a specific server mirror from here.
There are multiple options, you can hard code it (
/etc/yum.repos.d/fedora.repo) or using
In order to use
fastmirror you must first activate it:
then using this command
dnf config-manager --add-repo add the mirror you want to use, you can add multiple mirrors and the fastest one will be used.
sudo dnf config-manager --add-repo http://ftp.byfly.by/pub/fedoraproject.org/linux/releases/23/Everything/x86_64/os/
You must use the path
/linux/releases/23/Everything/x86_64/os/ for fedora 23 releases and for fedora 23 updates
/linux/updates/23/x86_64/ otherwise will not work.
To change Fedora Mirror and some setting to reach highest speed do this
Edit the dnf configuration file
sudo nano /etc/dnf/dnf.conf
Add the following lines:
deltarpm=false keepcache=true ip_resolve=4
It depends on your own that you like DeltaRPM or not (true or false). Google it to find what exactly it does.
/etc/yum.repos.d/ directory there are files that need a small edit.
The main file is
country=us (use your own country code) to the end of all of the "
metalink" lines for the fedora repo files in
It's better to use de, nl or any european country that have the strong, fast servers. Bandwith capacity matters and not ping.