Showing posts from February, 2013

Install Perl modules in cPanel server

While installing the Perl modules in cPanel, you might get the following error: Checking C compiler....Could not locate an executable "cc" binary....Done  ** Unrecoverable Error ** The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler. Please repair the C compiler and try again. To overcome this situation and install Perl modules like " Net::SMTP::TLS ", you need to install it manually in the server. Please follow the steps mentioned below: Step 1 . First export the following (replace username with the actual user): export PERL_MB_OPT='--install_base /home/username/perl5' export PERL_MM_OPT='INSTALL_BASE=/home/username/perl5' export PERL5LIB='/home/username/perl5/lib/perl5/i386-linux:/home/username/perl5/lib/perl5' export PATH="/home/username/perl5/bin:$PATH" Step 2 .  Then add the above lines mentioned in Step 1 to the /home/username/.bashrc Step 3 .  Download th

Configure and Enable GZIP Compression with mod_deflate in cPanel server

One way to improve the serving speed of web pages is to enable GZIP compression to compress the size of web pages been transferred. Compression, which results in reduced web page size, also has added benefit of saving bandwidth. With all the benefits of GZIP compression, it effectively offsets the performance penalty on server load caused by the compression activity. Note that Apache 1.3 uses mod_gzip, while Apache 2.x (2.0 and 2.2) uses mod_deflate. The guide focuses on Apache 2.x with mod_deflate to turn on GZIP support. Step 1#   Compiling Apache with mod_deflate Module Note: The step can be skipped if mod_deflate has already been compiled into Apache. To verify, run httpd -t -D DUMP_MODULES command on the server, and look for deflate_module (static). Login to cPanel WHM (WebHost Manager), and run EasyApache (Apache Update) under Software section. Select radio button of Previously Saved Config , and click on Start customizing based on profile button. Do whatever c