Steps to find the Installation date of a Operating system installed Linux CentOS and Red Hat

Steps to find the Installation date of a Operating system installed Linux CentOS and Red Hat

Steps to find the Installation date centos of a Operating system installed Linux CentOS and Red Hat On a CentOS or RedHat based Operation system You can easily find the date and time of the Server is installed. Method 1 :  Using, rpm command to find the basesystem and using the basesystem information we can use rpm -qi to find …

sar command usage and details examples

sar command usage and details examples sar command usage and details examples System Activity Report – SAR used to report on various system loads, including CPU activity, memory/paging, device load, network. Linux distributions provide sar through the sysstat package.

Example :

sar command, sar usage, sar details, sar examples

spamd crashed, cpanel spamd re-installation on the server

spamd crashed, cpanel spamd re-installation on the server spamd crashed, cpanel spamd re-installation on the server When you see the exim panic log @ /var/log/exim_paniclog you will see the below errors

When we try to restart the service using. No response or solution to the problem.

the solution is to reinstall the spamassasin By the Below commands, we …

/scripts/upcp /scripts/upcp logs

Its worth sharing, i was searching for this for long time. cPanel update logs are stored in the following directory path: Code:

The following command will display the log files in order from oldest to newest, with the most recently-modified files at the end or bottom of the list: Code:

Now do a tail -f /path to …

how-resolve-error-failchk-DB_RUNRECOVERY-Fatal-error-run-database-recovery

Now to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery

Now to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery Now to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery When trying to install an application through yum [Yellowdog Updater, Modified] You may get an error message saying from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error message is shown below.

What should we do now, its …

how-using-grep-egrep-command- find-single-multiple-words-pattern-linux-os

Using grep command to find single and multiple words pattern

Using grep command to find single and multiple words pattern Using grep command to find single and multiple words pattern Using the simple grep command, you can able to search for a single word. but, how to search multiple words or parern of words using grep command on lunux Operating Systems. For an example,  search words like error, warning, critical …

disable-root-access-server-add-another-user-to-sudo-centos-ubuntu-debian

How to disable root access to server and add another user to sudo in CentOs Ubuntu Debian

How to disable root access to server and add another user to sudo in CentOs Ubuntu Debian How to disable root access to server and add another user to sudo in CentOs Ubuntu Debian Default administrator username is root on Linux Based Operating Systems. its easy to remember the name (root) but sometimes this default name will be a problem …

creating-ssh-user-provide-permission-only-a-specific-folder

Creating ssh user and provide permission only to a specific folder

Creating ssh user and provide permission only to a specific folder Creating ssh user and provide permission only to a specific folder This process is simple and easy. First You need to login to your vps or dedicated server. Once logged in, create a user by the below command and set password for the created user. eg. earneasy is the …