• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for September 2019

Linux Interview Questions – Linux Printing (CUPS)

by admin

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 […]

Filed Under: Interview Questions, Linux

How to add new host entry in /etc/hosts when a docker container is run

by admin

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. […]

Filed Under: DevOps, Docker

How to Create a tmpfs Filesystem in CentOS/RHEL

by admin

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 […]

Filed Under: Linux

How to check rpm package integrity in Linux

by admin

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 […]

Filed Under: Linux

How to Configure Nagios NRPE Client for System Monitoring (CentOS/RHEL)

by admin

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 […]

Filed Under: DevOps, Nagios

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright