How to Change Timezone Linux on RHEL 6/7 and CentOS 6/7

This post assumed that we will change the System Timezone from the command line without using redhat-config-date. There are several files and directories that are used for time zones. In RHEL 6 and RHEL 6, there is one directory that very useful to select the appropriate time zone which is /usr/share/zoneinfo directory. Sometimes we forget to set …

Read more

How to Delete User Account in Linux

There is an easy way to delete the user account on linux which is using userdel command. You can read the manual page of this userdel command by typing ‘man userdel‘ at you terminal as below: Example : Userdel with option -r will removed user’s home directory and the user’s mail spool Userdel without -r will only removed user from /etc/passwd, /etc/group and /etc/shadow but the following directory still …

Read more

How to Configure Linux TCP keepalive Setting

In line with the increase in internet users, the traffic and workload on the web server is also increased. Hence, the webmaster or system administrator needs to make sure that the web server is able to accommodate a sufficient number of TCP connections. If your web server has begun to show an increase in the …

Read more