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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS/RHEL 7

How to Disable VNC Server from Xinetd in CentOS/RHEL 7

by admin

Question: How do I stop the xinetd daemon from starting VNC Server processes? 1. Go to xinetd configuration file /etc/xinetd.d/vnc-server. Modify the file and look for the line disable = no and set the value to yes. # vi /etc/xinetd.d/vnc-server service vnc-server-1 { disable = no socket_type = stream protocol = tcp wait = yes […]

Filed Under: CentOS/RHEL, CentOS/RHEL 7, Linux

How to Uninstall/Remove GNOME from CentOS/RHEL 7

by admin

The GNU Network Object Model Environment, also known as GNOME, is a powerful and easy-to-use environment consisting primarily of a panel, a desktop, and a set of desktop tools with which program interfaces can be constructed. GNOME is designed to provide a flexible platform for the development of powerful applications. But sometimes, you may want […]

Filed Under: CentOS/RHEL, CentOS/RHEL 7, Linux

CentOS/RHEL7 – Tuned Profiles Oracle

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux, oracle

tuned-adm and Oracle

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux, oracle

“-bash: route: command not found” on CentOS/RHEL 7

by admin

The route command is used to show/manipulate the IP routing table. The simplest command with ‘route’ is to run it without any options or arguments which will return the IP routing table. The equivalent command with ip is as follows: $ ip r where r stands for route. The route command was deprecated in CentOS […]

Filed Under: CentOS/RHEL, CentOS/RHEL 7, Linux

‘error opening class fc_host’ – systool Command Error on CentOS/RHEL 7 and 8

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

Dependency failed for NFS server and services

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

How to Change Default Port of Apache On RHEL/CentOS 7

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

“cannot install the best update candidate for package” – error on running dnf update

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

How To Configure sssd To Work With Multiple Active Directory Domains in Different Forests (CentOS/RHEL)

by admin

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

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright