How to clear the yum cache Rumi, October 20, 2013 When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages To purge the old package information completely, execute the following command: yum clean headers To clean any cached xml metadata from any enabled repository, execute the following yum clean metadata If you wish to clean all the cached files from any enabled repository at once, execute the Following command: yum clean all Related Administrations Configurations (Linux) CnetOSYum
Allow firewalld for webmin access after post installation August 4, 2019 FirewallD is an IPv6 compatible firewall mechanism used in recent Linux distributions (RedHat/Fedora/CentOS) replacing good old iptables. Related Read More
Mrtg: example cfg for memory, cpu, disk etc. September 5, 2011 CPU Usage /etc/mrtg/cpu.cfg WorkDir: /var/www/mrtg LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Target[localhost.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@127.0.0.1+ ssCpuRawSystem.0&ssCpuRawSystem.0:public@127.0.0.1+ ssCpuRawNice.0&ssCpuRawNice.0:public@127.0.0.1 RouterUptime[localhost.cpu]: public@127.0.0.1 MaxBytes[localhost.cpu]: 100 Title[localhost.cpu]: CPU Load PageTop[localhost.cpu]: Active CPU Load % Unscaled[localhost.cpu]: ymwd ShortLegend[localhost.cpu]: % YLegend[localhost.cpu]: CPU Utilization Legend1[localhost.cpu]: Active CPU in % (Load) Legend2[localhost.cpu]: Legend3[localhost.cpu]: Legend4[localhost.cpu]: LegendI[localhost.cpu]: Active LegendO[localhost.cpu]: Options[localhost.cpu]: growright,nopercent Memory Usage /etc/mrtg/mem.cfg LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Target[localhost.mem]: .1.3.6.1.4.1.2021.4.6.0&.1.3.6.1.4.1.2021.4.6.0:public@localhost… Read More
Ping behind proxy using httping March 5, 2021 You can use utility httping for that. It sends a HEAD request (by default) to a web server and measures the time it took to get a response. The utility is available through a number of repositories for different OS’es and Linux distros: Ubuntu: sudo apt install httping Alpine: sudo… Read More