Tag: gzip

Howto: enable HTTP Compression

How to enable HTTP Compression? In order to enable compression, you will need compression modules compiled with Apache. Apache 1.x needs mod_gzip and Apache 2.x need mod_deflate compiled with it. If  you have these module installed, you need to edit your Apache configuration file locate at “/etc/httpd/conf/httpd.conf” file and add […]

How to create archives and compressed files?

How to create a .tar, .tar.gz and .tar.bz2 file? # tar -cf example.tar example # tar -zcf example.tar.gz example # tar -jcf example.tar.bz2 example root@server [~]# ll drwxr-xr-x 2 root root 4096 Dec 6 07:02 example/ -rw-r–r– 1 root root 30720 Dec 6 08:11 example.tar -rw-r–r– 1 root root 912 […]

reconfigure CPAN module preferences

The first time you use the Perl module CPAN, a script is executed in order to properly configure several options (like the location of tar, gzip and unzip files, the cache size for the build directory, etc). If you want to modify these configuration options at a later time, you […]