Download the source fromsourceforge.net

1. wget http://easynews.dl.sourceforge.net/s...zip-1.X.YY.tgz

Untar the source

2. tar -xzf mod_gzip-1.X.YY.tgz

3. cd mod_gzip*

Set the apxs binary directory as /usr/local/apache/bin/apxs in the Makefile

4. vi Makefile and set APXS?=/usr/local/apache/bin/apxs

Now make and make install

5. make

6. make install

Open apache conf and add the following things:

7. vi /usr/local/apache/conf/httpd.conf

and add the following:

LoadModule gzip_module libexec/mod_gzip.so
AddModule mod_gzip.c

Now restart apache.
8. service httpd restart

That's it. Mod_gzip is enabled