Linux and Unix


If you need to install the excellent mod_geoip2 extension for Apache2 then it can be done fairly painlessly. First off, we need to make sure that we have gcc installed:

  If you don’t have it then you could ‘yum install gcc’, but I prefer to install all development tools because they include gcc … READ MORE

Install mod_GeoIP2 on Apache2 in CentOS 7

  If you’re looking through WHM’s process manager and you see [email protected] mentioned as one of the processes, don’t be alarmed. It’s perfectly normal and it’s definitely not some hacker called ‘Notty’ who has suddenly got root permissions. Be honest, you’re here because you thought that ūüėČ You may also have seen sshd: [email protected] in … READ MORE

Who or what is root@notty?

Yes, you can use a Linux boot CD to repair a Windows NTFS disk fault. Linux ships with a utility called badblocks. Badblocks is a Linux command in its own right that has several different modes to be able to detect bad sectors on our hard disk. Once found, it saves the references to these … READ MORE

Use linux boot disk to repair a Windows NTFS disk fault

Her’s a list of useful country codes that we can use in many rule-based filtering situations on servers. AD Andorra AE United Arab Emirates AF Afghanistan AG Antigua and Barbuda AI Anguilla AL Albania AM Armenia AN Netherlands Antilles AO Angola AQ Antarctica AR Argentina AS American Samoa AT Austria AU Australia AW Aruba AZ … READ MORE

Country codes for mod_security, CSF and htaccess

  This article tries to explain, using my own experience of server management, how to scan a Linux server for viruses and malware.   You are probably here because you have something on your server already, very often pushing out spam emails to people via php files. Or maybe you have fallen victim to the … READ MORE

Scan a Linux server for viruses and malware

In this series of articles I am trying to help server admins and owners of VPS or Dedicated servers to find viruses or malware on their servers. Part of the diagnosis of your system is to see what emails are being sent out and from which accounts. Since spammers like to use compromised servers, I … READ MORE

Find what emails are being sent from a Linux server

Here’s how to setup shared folders on a VirtualBox installation. I’ll take it one step further and map it to a drive that reconnects on logon, forcing it to be a persistent share. First, setup guest additions with “Devices”, “Install guest additions” Now share a folder on your host PC or Mac. Do this by … READ MORE

Setting up shared folders in virtual box

My useful crib-list of Bash shell commands for Linux adduser¬† Add a user to the system addgroup Add a group to the system alias¬†¬†¬† Create an alias apropos¬† Search Help manual pages (man -k) apt-get¬† Search for and install software packages (Debian/Ubuntu) aptitude Search for and install software packages (Debian/Ubuntu) aspell¬†¬† Spell Checker awk¬†¬†¬†¬†¬† Find … READ MORE

Bash shell commands for Linux