You can use the vi editor to view the .conf files in Linux. When you open the yum.conf file, right in the beginning you will see options under[main]. For example you will see a setting called “cachedir=”. This is where you can change the cache directory (like a temporary directory to store files during download or install)

Lets take another example, there is a setting used to specify the number of retries after which yum gives up acquiring the package. It is defined in the setting “retries=”. You can specify the number of tries here. You can insert a “throttle=”setting and specify the maximum download speed for yum so that when you are downloading huge packages, your other downloads are not affected.

Digg this

0 comments

Post a Comment

Subscribe to: Post Comments (Atom)