Install Python 2.7 on CentOS 6
CentOS 6 comes with python 2.6, to install python 2.7, first install gcc and dependencies yum yum -y install gcc yum -y…
CentOS 6 comes with python 2.6, to install python 2.7, first install gcc and dependencies yum yum -y install gcc yum -y…
When you have multiple websites hosted on a server, if you want to access one of the site using curl to IP…
rkhunter is a software used to check your server for rootkits. The official site is http://rkhunter.sourceforge.net/ On Ubuntu, install with Before you…
On Ubuntu 18.04 server, apache crashed. On checking apache error log, found following [Mon Aug 13 23:19:24.625927 2018] [mpm_prefork:emerg] [pid 2378] (43)Identifier…
To block all traffic from a country in CSF Firewall edit file /etc/csf/csf.conf vi /etc/csf/csf.conf Find the line CC_DENY = “” In…
To see login history on a Linux system, you can use the “last” command. On the screenshot above, it shows “admin.serverok.i” for…
mysqldump is a command used to backup MySQL databases. To take backup, run To backup with triggers, routines, and events –opt combines…
To find a string inside files in a folder, use Or Or To search for multiple strings, use See ack better grep…
Monitor file changes in your Website PHP Script to pull changes from GIT Repository How to protect .git folder using htaccess Git…
This script can be used to notify you when a file changed in your website. This is useful when you want to…
When copying a large site form a shared server using rsync, the rsync process on get killed, this may be done by…