Linux

How to Set & Change Hostname & FQDN (Fully Qualified Domain Name) in RHEL & CentOS 7

In a networking environment, all computer systems, be it Windows PC, Linux server or Unix mainframe, has a hostname. A hostname is a label (also known as computer name) that is assigned to a device connected to [...]

How to Find All Files with File Size Zero (0) Bytes in a Directory Recursively

In Linux operating system, to find and print the name of all files that has the file size 0 (zero) bytes, in a directory and all its sub-directories recursively, use one of the following commands: find /path/to/directory/ [...]

Grant User Sudo Access (Add to Sudoers File or Wheel Group)

In Linux operating system, most of the users log in as standard user or normal user. But occasionally, one has to have administrator or root privileges in order to perform certain administrative tasks. Normally administrative privileges are [...]

ABRT ImportError: No Module Named argparse Crash Error

Large number of error emails is sent by ABRT Daemon to web server's administrator, and system log is filled with the following message: [abrt] a crash has been detected again abrt_version: 2.0.8 cmdline: /usr/bin/python /usr/libexec/abrt-action-generate-machine-id -o /var/spool/abrt/pyhook-2015-08-06-07:11:17-55377/machineid [...]

List All Packages Installed by a Specific Repo in CentOS / RedHat with YUM

Red Hat Enterprise Linux (RHEL), Fedora, CentOS and Scientific Linux allows administrators to add and enable multiple repositories (repos) to install software packages that are not included in the default base and updates repositories. Over time, the [...]

CentOS YUM / RPM Error: rpmts_HdrFromFdno / rpmdbNextIterator: Header V3 RSA/SHA1 Signature Key ID BAD

When running YUM or RPM commands, the following errors occurred: error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID XXXXXXXX: BAD error: rpmdbNextIterator: skipping h# XXXX Header V3 RSA/SHA1 Signature, key ID XXXXXXXX BAD Error: Cannot retrieve metalink [...]

Pin It on Pinterest