centos 7

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

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 »

RHEL 7 Slow Login – Delay in SSH login

RHEL 7 Slow Login – Delay in SSH login  Why does it take a long time to get on login prompt after successful authentication with ssh with correct credentials? ISSUE: It takes more than 20 sec to login with ssh Delay happens after successful login authentication  you find below error message in /var/log/secure  sshd[19312]: pam_systemd(sshd:session): …

RHEL 7 Slow Login – Delay in SSH login 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 »

How to Check and Disable Selinux in Centos7/8, RHEL 7/8

How to check and disable Selinux  in Centos7/8, RHEL 7/8 SELinux – Security-Enhanced Linux It is a security architecture that gives you more control over the system that others can access. It was integrated into Linux in 2003. SELinux is enabled by default and you can check SELinux status with the command sestaus. SELinux usage …

How to Check and Disable Selinux in Centos7/8, RHEL 7/8 Read More »

How to Use and Enable/Disable Firewall in Centos7/8, RHEL 7/8

How to Check and Disable Firewall  in Centos7/8, RHEL 7/8 As we know the firewall is very important for our system or server security. In some cases where you have an external firewall in your network or you are using a different firewall, you need to disable the firewall. Few sysadmins disable the firewall for …

How to Use and Enable/Disable Firewall in Centos7/8, RHEL 7/8 Read More »

How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution – 2021 Updated

How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution – 2021 Updated  This is an updated tutorial to install Google Chrome on Rhel 7 /Centos. Many of us facing dependencies issues in installing Google Chrome. Google Chrome is a web browser from Google Chrome available free to use. Chrome …

How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution – 2021 Updated Read More »