Browsing category

MiniHowTo

How to Set or Change Hostname in CentOS 7 / RHEL 7

After installing the CentOS 7 on my server, I tried to change hostname by modifying the /etc/sysconfig/network, but the change did not take an effect of the modification. Even after multiple reboots of the server, the hostname remained localhost.localdomain. I found that the procedure to change the hostname in CentOS 7 is now totally different […]

How to Update Ubuntu 13.04 to Ubuntu 14.04

Are you still running Ubuntu 13.04 and do you want to run a latest Ubuntu 14.04. Here is the guide to update the Ubuntu 13.04 to Ubuntu 14.04. Ubuntu does not support skipping the update of Ubuntu 13.10 for 14.04. So you need to first update Ubuntu 13.04 to 13.10 and then update it to […]

How To Secure MariaDB Server with mysql_secure_installation command

The mysql_secure_installation command helps us to improve the security of the MariaDB installation. With this command, You can set a password for root accounts. You can remove root accounts that are accessible from outside the local host. You can remove anonymous-user accounts. You can remove the test database (which by default can be accessed by […]

How to clear Swap Memory in Linux / CentOS / RHEL

Virtual Memory is called as Swap space in Linux and  is used when the physical memory (RAM) is full. When the system needs more memory and the RAM is full, inactive pages in the memory will be moved to the swap space. Swap is not a replacement to physical memory,  it is just a small […]