Server Administration & Management

How to install threaded Perl

Perl is normally installed without thread support, but you may need to install threaded perl on your server to fulfill requirement for any application or for perl based software development.

This require additional -Dusethreads parameter used during the configuration step of installation. Below are the exact steps that you can follow to install threaded perl on your server :

# wget http://www.cpan.org/src/perl-5.8.8.tar.gz

# tar -xzvf stable.tar.gz

# cd perl-5.8.8

# ./Configure -Dprefix=/usr -Dusethreads

# make

# make test

# make install

and you are done !

May 26, 2012 Posted by | Tips & Tricks, Unix/Linux | , , , | Leave a comment

How to install the LWP perl module (libwww-perl) for CSF Firewall

If you want to install CSF Firewal in New Linux Server, On installing CSF firewall, you got following error :-

# ./install.sh

Configuring for OS

Checking for perl modulesfailed
You need to install the LWP perl module (libwww-perl) and then install csf

To fix the error, install LWP perl module (libwww-perl)

# yum install perl-libwww-perl


# cpan
cpan> h [Obtaining help]
cpan> install Bundle::LWP [Installing LWP]

June 14, 2011 Posted by | CSF, Firewall | , , , , | 4 Comments