From the course: Linux: Package Management for CentOS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure Yum clients

Configure Yum clients - Linux Tutorial

From the course: Linux: Package Management for CentOS

Start my 1-month free trial

Configure Yum clients

- [Instructor] The Yum configuration file is /etc/yum.conf. The first configuration item we'll look at is the cache setting. Setting this to zero means Yum won't keep downloaded headers or packaged files. Setting it to one will keep these files around. And generally set it to zero, because after installing, I really don't need to keep the packages anymore. The second item we'll look at is the Yum logfile location. This should be /var/log/yum.log. This can be handy for troubleshooting Yum. The next thing we want to focus on is gpgcheck, which should be set to one. Setting it to zero turns off GPG signature checking on packages. We definitely want this feature turned on. In this course, we've added several plug-ins. This is the global setting allowing them to be used. To see which plug-ins are installed, open our terminal and type yum info yum. Here we see our loaded plug-ins. The last item tells us the name of the package that determines the version of CentOS we're running. On CentOS…

Contents