Question: How to add support for additional locales? Locales on Linux are used to set the system’s language as well as other language-specific properties. This can include texts from error messages, log output, user interfaces, and if you are using a window manager such as Gnome, even Graphical User Interfaces (GUI). Locale settings can also […]
CentOS/RHEL 8
CentOS/RHEL7 – Tuned Profiles Oracle
Tuned is a set of tools and a daemon that tunes your system’s settings automatically depending on its usage. It periodically collects data from its components through plugins, which it uses to change system settings according to the current usage. You can find the system’s tuned profiles used in /lib/tuned/. When you create your own, […]
tuned-adm and Oracle
To offer the best possible performance right from the start, CentOS/RHEL 7 and 8 come with tuned. It offers a daemon that monitors system activity and provides some profiles. In the profiles, an administrator can automatically tune a system for the best possible latency, throughput, or power consumption. Based on the properties of an installed […]
“-bash: route: command not found” on CentOS/RHEL 8
The old command to set the default route is route. If no options are used, it will display a list of all routes that are currently defined on this host. When using the route command without options, it will always try to resolve the name for a given IP address, which takes some time. If […]
‘error opening class fc_host’ – systool Command Error on CentOS/RHEL 7 and 8
The Problem When running the systool command on CentOS/RHEL 7, the following error message is reported: # systool -c fc_host -v Error opening class fc_host The Solution The error occurs because the scsi_transport_fc module that is responsible for populating the contents of /sys/class/fc_host/ directory is not loaded on the system. 1. Manually load the scsi_transport_fc […]
Dependency failed for NFS server and services
The Problem Attempting to start the NFS (nfs-server.service) on CentOS/RHEL 7 fails as follows: # systemctl status nfs-server.service nfs-server.service – NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Drop-In: /run/systemd/generator/nfs-server.service.d ‘-order-with-mounts.conf Active: inactive (dead) Mar 09 16:17:10 hostname systemd[1]: Dependency failed for NFS server and services. Mar 09 16:17:10 hostname systemd[1]: nfs-server.service: […]
How to Change Default Port of Apache On RHEL/CentOS 7
If you want to change Port in the Apache configuration file it’s easy to do. You can also run a website on a different port rather than the default port. 1. Let’s check which is listening to which service: # nmap -sT -O localhost 2. Check whether Port 8000 is free or not: # lsof […]
“cannot install the best update candidate for package” – error on running dnf update
The Problem Running the ‘dnf update’ command fails with below error: # dnf update Error: Problem 1: package perl-4:5.26.3-419.el8.x86_64 requires perl-interpreter(x86-64) = 4:5.26.3-419.el8, but none of the providers can be installed – cannot install both perl-interpreter-4:5.26.3-419.el8_4.1.x86_64 and perl-interpreter-4:5.26.3-419.el8.x86_64 – cannot install the best update candidate for package perl-interpreter-4:5.26.3-419.el8.x86_64 – cannot install the best update candidate […]
How To Configure sssd To Work With Multiple Active Directory Domains in Different Forests (CentOS/RHEL)
This post describes an approach to configuring sssd in order to interact with multiple Active Directory Domains located in different forests. This method involves altering /etc/krb5.conf and /etc/sssd/sssd.conf files. 1. Join the first domain (domain1.com) from the first forest. # realm join –verbose domain1.com -U LinuxAD@DOMAIN1.COM 2. Edit /etc/krb5.conf file and add the secondary domain […]
“error: Bind to port 2222 on 0.0.0.0 failed: Permission denied” – error while starting sshd service on CentOS/RHEL
The Problem On CentOS/RHEL, the OpenSSH SSH Daemon (sshd) utilizes port 22 for incoming connection requests from remote OpenSSH SSH (ssh) and Secure File Transfer (sftp) clients. In some cases, however, System Administrators prefer to utilize separate ports to service ssh and sftp activity. In One such case, system administrator is facing below error while […]