Install ClamAV on CentOS 6.0

To install ClamAV antivirus on CentOS 6.0 along with automatic updates and a nightly full system scan please use the following process:

1. Change to your SRC install directory:

# cd /usr/src

2. Download the ClamAV installation package, ClamAV database, ClamAV development libraries and ClamAV daemon for your operating system type (32 bit of 64 bit):

For 32 bit:

# wget

For 64 bit:

# wget Continue reading "Install ClamAV on CentOS 6.0"

Install Dell OpenManage on CentOS 6.x

The Dell OpenManage Server Administrator (OMSA) on is a great (and free) Dell hardware monitoring and management system available for Windows and RedHat Linux. It can also be installed on CentOS 6.0 (32bit and 64bit) using the following process:

1. Login to your server via SSH.
2. Change directories to your SRC install

# cd /usr/src

3. Create an install script:

# nano -w

4. Cut and paste the following text:

# Dell OpenIPMI & OpenManage Installer
# Revision: July 22nd 2011
D=`date '+%d%m%y'`
echo "Dell OpenIPMI & OpenManage Automatic Installer"
echo "Revision: July 22nd 2011"
echo "Installing Dell Yum Repository..." Continue reading "Install Dell OpenManage on CentOS 6.x"

Install EPEL Repo on CentOS

The Extra Packages for Enterprise Linux (or EPEL) can be installed on any CentOS 4, CentOS 5 or CentOS 6 server using the following commands:

CentOS 4

# rpm -Uvh

CentOS 5

# rpm -Uvh

CentOS 6

# rpm -Uvh

Once you have completed the installation you can install packages from EPEL using:

# yum install package-name

Plesk Error: Table mysql.servers doesn’t exist

You may receive a “Table ‘mysql.servers’ doesn’t exist” error message while adding a database user in Plesk or while restarting the MySQL service. The complete error message is:

Error: Connection to the database server has failed:
Table 'mysql.servers' doesn't exist


Can't open and lock privilege tables:
Table 'mysql.servers' doesn't exist

This problem occurs when MySQL server is upgraded from an older to a newer version and the upgrade remains incomplete. Since MySQL often introduces new tables with the newer versions, you need to run the “mysql_fix_privilege_tables” script located in the “/usr/bin/” directory so that the MySQL administrative database is updated with the latest contents thus fixing the privileges of the database users as well.

To fix the issue, SSH to your server as root and execute the command:

# mysql_fix_privilege_tables --user=admin --password=`cat /etc/psa/.psa.shadow` --verbose

This will resolve the issue and allow new user additions and MySQL configuration changes.

WPScan – WordPress Security Scanner

WPScan is a vulnerability scanner which checks the security of WordPress installations using a black box approach – scanning without any prior knowledge of what has been installed.


  •     Username enumeration (from author querystring and location header)
  •     Weak password cracking (multithreaded)
  •     Version enumeration (from generator meta tag)
  •     Vulnerability enumeration (based on version)
  •     Plugin enumeration (2220 most popular by default)
  •     Plugin vulnerability enumeration (based on version) (todo)
  •     Plugin enumeration list generation
  •     Other misc WordPress checks (theme name, dir listing, …)


WPScan requires two non native Ruby gems, typhoeus and xml-simple. It should work on both Ruby 1.8.x and 1.9.x.

sudo apt-get install libcurl4-gnutls-dev
sudo gem install –user-install typhoeus
sudo gem install –user-install xml-simple Continue reading “WPScan – WordPress Security Scanner”