manual : Installing Config::IniFiles

Installing Config::IniFiles, this is a requirement for using some of the Centreon included plugins. Well the “howto” on installing this is rather illusive. Well here is a “copy” paste manual for installing the perl ConfigIniFiles.

This manual assumes you have wget installed, else download the files manually using other means like windows and copying files using a scp client (putty?)

If you have wget, you should be able to copy paste the section below and end up with Config::IniFiles installed…


echo "Create an Installation directory for the module packages"
mkdir ~/installers/

echo “Go there”
cd ~/installers/

echo “Get the Modules needed to install the Config::IniFiles”
wget http://search.cpan.org/CPAN/authors/id/E/EW/EWILHELM/Module-Build-0.33.tar.gz
wget http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.49.tar.gz

echo “Unpack both the packages”
tar -xf C*.tar.gz
tar -xf M*.tar.gz

echo “Build the buildscript”
cd M*
perl Build.PL
echo “Install the build module”
Build install
cd ..

echo “Build the IniFiles Buildscript”
cd C*
perl Build.PL
cd ..

echo “Cleanup our mess”
cd ~
rm -rf ./installers/
echo “Done…”

This should be it…

Hope this helps, rgrds…

About Chris Gralike

Momenteel ben ik manager van de afdeling business continuity bij de zakelijke IT dienstverlener AMIS Services BV. Sinds 2003 ben ik actief in de ICT branche. Tussen 2003 en nu heb ik verschillende rollen vervuld. In de rollen: systeem- en netwerkbeheer, system engineer, servicemanager en nu practice manager ben ik in contact gekomen met uiteenlopende technologieën, methodologieën, ideeën, oplossingen en innovaties. Een rijke ervaring waarmee ik de klanten van Conclusion en AMIS elke dag probeer te ondersteunen. Mijn credo: 'Altijd opzoek een win-win tussen business en technologie.'

Posted on May 13, 2009, in centreon, Linux, Linux Commands, Network Monitoring, Tooling and tagged , , , , , , , , , , , , . Bookmark the permalink. 2 Comments.

  1. `cpan -i Config::IniFiles` would be faster and simpler.

  2. chrisgralike

    Must admit I never ever heard of Cpan before, and finding any manual on the subject is an almost impossible task.

    Tested it on OEL5.x and it couldnt resolve the download locations.
    Tested it on another machine and it works like a beast.

    So with both one should always be able to get them installed🙂

    Thanks for the input Alexandr🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: