How To Setup Virtualisation With KVM On A CentOS (SolusVM Slave)

Steps To Setup: Part 1 – Disk Setup Fdisk is the most commonly used command to check the partitions on a disk. The fdisk command can display the partitions and details like file system type. However it does not report the size of each partitions. $ sudo fdisk -l You cannot create a Linux partition …

Compile and Install a LAMP(Linux/Apache/MySQL/PHP) Server from Source

Most out-of-the-box Red Hat Linux installations will have one or more of the LAMP components installed via RPM files. I personally believe in installing things like this from source, so I get the most control over what’s compiled in, what’s left out, etc. But source code installs can wreak havoc if overlaid on top of …

Using More Than Two IPs (bind) In Lighttpd For Virtual Hosting

Virtual hosting is nothing but the provision of Web server hosting services so that a company (or individual) doesn’t have to purchase and maintain its own Web server and connections to the Internet. Lighttpd does support or allows you to bind more than two IP address simultaneously using $SERVER[“socket”].. For example, IP # 1: 192.168.1.1 domain domain.com IP # …

Install GeoIP Module For Country/City Level Geo Targeting (NGINX)

Install MaxMind C API Type the following commands to install MaxMind C API: # cd /tmp # wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz # tar -zxvf GeoIP.tar.gz # cd GeoIP-1.4.6 # yum install zlib-devel # ./configure # make # make install You need to configure dynamic linker run time bindings as follows: # echo ‘/usr/local/lib’ > /etc/ld.so.conf.d/geoip.conf Run ldconfig to activate …