How to create a swap on Ubuntu 14.04

What is a Swap Partition ? A linux swap partition becomes useful when your server’s RAM gets full. When your RAM gets full, then your swap partition will act as a RAM for your other applications. But does not this mean this is a great alternative to having a large RAM, because a swap partition […]

How to search or find a File / Folder on your Linux Server ?

To locate files or folders on your Linux server through command line or bash, you can use the ‘find‘ command. The syntax for the find command is as follows : find {dirctory_to_search} {search_by} {pattern_to_search} [action] For Example, if you wish to search a file called ‘filename.php’ by name on the entire server. fine / -name […]

How to update to Ubuntu 14.04 LTS on Linux Server

Before upgrading it is always recommended that you create a backup first. Step 1 : Check the current version of Ubuntu uname -mrs lsb_release -a This should return an output in the following format : Linux 3.2.0-51-generic x86_64 No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise Step […]

How to setup GeoIP to track location of IP addresses

GeoIP is a PHP extension, which is used to get all the information like, city, state, country, longitude / latitude etc for any IP address. You can use this extension to track the visitors to your site. It can help you prepare better analytic for your user-base with the information collected. To install GeoIP, we […]