Monthly Archives: July 2014

Linux 101: How to Sync Two Folders on Two Hosts

This is a genuine request from a friend of mine who has a website and needs to be backed up in a hot stand-by server in case the production goes down. The command that I am using is ‘rsync’. Firstly, … Continue reading

Posted in Linux | Leave a comment

Linux 101: How to Recovery Forgotten Root’s Password

It is recommended to avoid using root account frequently and this does cause trouble when admins suddenly would like to connect to a box under root account. One of the best ways to recover a forgotten root password is to use … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Linux 101: Vsftp Service Configuration Tutorial

I am reposting this tutorial for future’s reference. Also, to check if vsftpd service is running or not, you can use shell>service –status-all | grep vsftpd And to control vsftpd service, you can use shell>/etc/init.d/vsftpd start shell>/etc/init.d/vsftpd stop shell>/etc/init.d/vsftpd restart … Continue reading

Posted in Linux | Tagged , | Leave a comment

MySQL Newbie 002: PhpMyAdmin Error: “Wrong permissions on configuration file, should not be world writable”

The titled error message is referring to wrong permissions of configuration file “config.inc.php” and a simple chmod command will suffice: shell> chmod 0755 config.inc.php In case you wonder where to find this config.inc.php file, it is located in the same folder where PhpMyAdmin is … Continue reading

Posted in MySQL, PhpMyAdmin | Leave a comment

MySQL Newbie 001: How to Check if MySQL Service is Running on CentOS

As I am new comer in the MySQL domain, I am going to write up a few trivial posts about administrating MySQL. Today this is the first one: The BASH command you are looking for to achieve the MySQL service status … Continue reading

Posted in MySQL | Leave a comment