This post covers the most often asked how-to questions about Linux printing support. What tool provides Linux printing support? CUPS, the Common Unix Printing System What kinds of printers can be attached to a Linux system? Linux support printers which are connected using any of the following: Locally Attached Printer (LPT) through a local parallel […]
Archives for September 2019
How to add new host entry in /etc/hosts when a docker container is run
This post shows how to add host-entries onto /etc/hosts on docker container when it is run. For the purpose of this post, we are using CentOS/RHEL 7 host. But this should work on any Linux host capable of running latest docker versions. Generally speaking, /etc/hosts file can not be modified before running the docker container. […]
How to Create a tmpfs Filesystem in CentOS/RHEL
tmpfs are not really used as filesystems, but just take advantage of the filesystem abstraction. Applications can do I/O on a tmpfs. tmpfs functions reside purely in memory. Creating a tmpfs special filesystem 1. Mount a new instance of tmpfs: # mkdir /mnt/tmpfs # mount -t tmpfs none /mnt/tmpfs Note: Check how much space the […]
How to check rpm package integrity in Linux
Sometimes, after we download an rpm package manually, would need to check the package integrity sha1 (md5) or signature to avoid problems once it’s installed or during the installation. Also, we may need to find other package information like vendor, description, summary. This post describes ways to check rpm package integrity as well as package […]
How to Configure Nagios NRPE Client for System Monitoring (CentOS/RHEL)
Question: How to configure CentOS/RHEL system as Nagios NRPE Client so it can be monitored from Nagios-Server for system health/performance? Enable EPEL REPO (Fedora Repository) and Install Required Packages 1. Download the epel repository packages for CentOS/RHEL 5 and 6. FOR CentOS/RHEL 6: # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm For CentOS/RHEL 5: # wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 2. Install Epel […]