centos 8

Mysql resource is unable to start after failover due to permission change on ‘/var/lib/mysql’ directory.

If you are working on a cluster, after a sudden failover you face the issue that Mysql is unable to start. In this article, we will show you how to solve the issue. Environment Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons) Red Hat Enterprise Linux Server 7 …

Mysql resource is unable to start after failover due to permission change on ‘/var/lib/mysql’ directory. Read More »

How to disable EEE feature on the nic on RHEL7-8/Centos7-8

  Environment Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 8 CentOS 7 CentOS 8 Issue Would like to disable the (Energy Efficient Ethernet) EEE feature of the NIC. Resolution To disable EEE use the ethtool command. In the example below, EEE is disabled on eth0: # ethtool –set-eee eth0 eee off To make …

How to disable EEE feature on the nic on RHEL7-8/Centos7-8 Read More »

How to reset my MySQL database root password?

How to reset my MySQL database root password? This is a very common issue if you are working in a big environment or a system where everything is automated. People always forgot their MySQL password. This article will help you recover your password without any data corruption. Environment Red Hat Enterprise Linux including: Red Hat …

How to reset my MySQL database root password? Read More »

ulimit unlimited Bye Bye CentOS 8 with 2021

How to set ulimit or change the default soft or hard limit for the number of user’s processes?

  Environment RHEL/CentOS 5 RHEL/CentOS 6 RHEL/CentOS 7 RHEL/CentOS 8 Issue The default configuration file for ulimit  is   /etc/security/limits.d/90-nproc.conf  for (RHEL5, RHEL6), /etc/security/limits.d/20-nproc.conf   for (RHEL7) and for RHEL 8 we have to create file  /etc/security/limits.d/20-nproc.conf specifies the default nproc limits as,: * soft nproc 1024 root soft nproc unlimited Even  when logged in as root, the ulimit shows a different value: $ …

How to set ulimit or change the default soft or hard limit for the number of user’s processes? Read More »

How to Use vi Editor in Linux and vi Editor Cheat-Sheet with 38 Shortcut

How to Use vi Editor in Linux and vi Editor Command in Linux How to Use vi Editor in Linux and vi Editor Command in Linux vi Editor : . vi is the symbolic link of vim and this default editor comes with Linux based OS. This is very popular among sysadmins. This a very …

How to Use vi Editor in Linux and vi Editor Cheat-Sheet with 38 Shortcut Read More »