Monthly archive June, 2012

Step by Step guide to installing web accelerator Varnish on RHEL/CentOS 6 or 5

Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. It is installed in front of the web application and it speeds up the web application significantly. Since varnish is not available in CentOS repo, you Read More →

How to use Linux mail command?

First you need to have local smtp such as Postfix, sendmail, exim installed for the mail command to work. The mail command is a very important command for linux admins. I use it all the time in backup scripts and Read More →

How to blacklist or disable packages in CentOS/RHEL 5 or 6

You can exclude certain packages form a repository if you like. Doing so is easy, just use exclude directive in the repo defination followed by the name of the package you wish to exclude. exclude=packagename1, packagename2 As an example lets exclude mysql-server Read More →

Find Out Maximum RAM Supported By your linux machine’s motherboard

One of my friend recently asked me about a way to figure out the amount of RAM supported by his laptop. He wanted to increase the amount of RAM, so knowing the number of slots on the motherboard was also Read More →

How to find the groups I belong to in Linux?

You can use the groups command to display group memberships for any user, the same can be done using the id command. Lets run this command for user root [root@localhost ~]# groups root bin daemon sys adm disk wheel [root@localhost ~]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) Lets Read More →

How to find NFS Directory / Disk I/O Stats in Linux


The¬†iostat¬†command is used to check disk input/output statistics in real time. You can also use it to monitor disk stats for a NFS mounted disk. In case your NFS directory is slow, the first thing you should do is to Read More →

How to add epel and remi repository to CentOS/RHEL 5 or 6


Extra Packages for Enterprise Linux (EPEL) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs such as CentOS or Read More →

How to connect to svn through proxy?

Most of the users in our organisation use ubuntu as the preferred desktop OS. If you are doing the same, work with svn and use a proxy server, you have make some changes to connect to svn through proxy. Open the Read More →

Protect your repositories using protectbase plugin

The purpose of the protectbase plugin is to protect certain repositories from updates from other repositories. Repositories that are to be protected will not be updated by newer files from unprotected repositories. This plugin is recommended for anyone who routinely Read More →

Adding Pdf_Export extension to mediawiki (Print as PDF)

If you are using mediawiki as a wiki solution, you may wish to give it a boost by adding some extensions to it. One useful extension is PDF Export. PDF Export extension lets you export a wiki page as a Read More →
Back to top