CentOS Network Install Instructions

This is a simple guide to installing CentOS via CentOS Network Install (netinstall). You can save yourself a lot of time by doing a network install and only installing the base packages rather than downloading a 3.6GB DVD ISO or the six CD-ROM images. 1. Start by downloading the small 14MB CentOS-5.8-x86_64-netinstall.iso image […]

How to create a local ISO Storage Repository on Citrix XenServer

In order to create virtual machines based on ISO disks, you need a local ISO Storage Repository on Citrix XenServer. There are several options of ISO Storage repositories in Xen Server based on the location of the repository. You should check the location based on the available space and your […]

[News] – Twitter, PayPal reveal database performance

This excellent article talks about database performance on very big system at Twitter and Paypal. The article is originated from  iTnews.com.au Driving big performance using MySQL Engineers at Twitter, Paypal have joined Facebook in offering a look under the hood of the massive MySQL deployments that drive their web services. Database […]

Pagination with large dataset

This article mentions common problems when performing pagination on a big data set and solutions to overcome them. Scenario When querying with a large dataset, we often use SELCT …. ORDER BY a,b,c LIMIT M, N , but do we know how does this query perform? Let’s look at the […]

Install PHPUnit to work with NetBeans in Windows

PHPUnit is the de-facto standard for unit testing in PHP projects. It provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results. Install PEAR Download go-pear.phar Run php go-pear.phar Install PHPUnit If using a local installation, […]

Disable AMDs CPU-scaling (AMD cool and quiet)

Our centos system with AMD Cool and Quite activated seems to be slower under load than without cpu scaling. Another point is running a vmware server on such a host – will this feature work probably? Follow these steps to turn it off, just to make sure 😉 To immediate […]

Apache – Nginx – PHP – MySQL – Some configuration notes

This article mentions show popular configuration notes in popular softwares on PHP-based server: Apache, Nginx, PHP, and MySQL. 1. MySQL Should use MySQLTunner tool to analyze query_cache_size parameter is used to allocate an amount of memory to cache the frequently executed queries and return the result set back to the client. E.g.: 128M […]

MySQL Replication :: Add a new slave server

This post explains how to add a new slave to the existing MySQL replication. New slave server can be added to the MySQL replication without stopping master or shutting down existing slave server. You will have to temporarily stop replication on the slave server in order to take the current […]

CentOS 6 with Python 2.6.7: Yum broken: No module named yum

This article shows how to solve the error when installing Python 2.6.7 on CentOS 6: “Yum broken: No module named yum”. When installing the dropbox service in Linux command line, I did compile python 2.6.7 from source, and after that, the yum command line stopped working. As you can see, […]

Location aware DNS with Bind

This article provides basic background about location aware DNS and how to setup it to work with Bind. Article can be found at Geolocation-aware DNS with Bind. This can be referred to Bind-GeoIP and GeoDNS Bind Patch. Some bash script can be found at http://phix.me/geodns/ Can also refer to the topic “How to build […]