Recover Deleted File in Linux

I still clearly remembered once I confused <mv> with <rm> and I deleted my assignment which cost me a whole weekend. That time, I wanted to execute the command: mv xxx.c src/xxx.c (I wanted to put all source code in src folder) but what I really typed in the terminal was: rm xxx.c src/xxx.c
>>Read More

Add Swap in CentOS

Today when I tried to compile an opensource software in my DigitalOcean VPS, I encountered a weird problem: every time when I ‘make’ it, the command ends with error message “Killed”. However, I didn’t press “CTRL+C” all the time. Then I keyed in command ‘top’ and I saw ‘gcc’ used up my memory!
>>Read More

Web Server Security

The security configuration of a web server is very important especially when some confidential data is stored in its database. However, I didn’t do anything to ensure the safety of my server after I installed operating system into it. So I decide to make up this today.
>>Read More