Developers guide
Chapter 4
Copyright © 2008-2013 Inverse inc.
Installation 10
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-
release-0.5.3-1.el6.rf.`uname -m`.rpm
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/`uname -i`/epel-
release-6-8.noarch.rpm
# rpm -Uvh http://repo.openfusion.net/centos6-`uname -i`/openfusion-
release-0.6.2-1.of.el6.noarch.rpm
Then disable these repositories by default. Under /etc/yum.repos.d/ edit rpmforge.repo, epel.repo
and openfusion.repo and set enabled to 0 under every section like this:
enabled = 0
Under RHEL 6.x / Centos 6.x, you must exclude perl-Apache-Test from rpmforge and openfusion repository.
Edit /etc/yum.repos.d/rpmforge.repo and add to the section [rpmforge] the line:
exclude = perl-Apache-Test*
Edit /etc/yum.repos.d/openfusion.repo and add to the section [of] the line:
exclude = perl-Apache-Test*
RHEL 6.x
Note
These are extra steps are required for RHEL 6 systems only. Derivatives such as CentOS
or Scientific Linux don’t need to take the extra steps.
RedHat Enterprise Linux users need to take an additional setup step. If you are not using the RHN
Subscription Management from RedHat you need to enable the optional channel by running the following
as root:
rhn-channel --add --channel=rhel-`uname -m`-server-optional-6
RedHat doesn’t seem to provide perl-Net-Telnet perl-XML-Simple perl-SOAP-Lite packages.
PacketFence needs it so we will install it from the rpmforge-extras repository now:
yum install perl-Net-Telnet perl-XML-Simple perl-SOAP-Lite --enablerepo=rpmforge-
extras,rpmforge
Debian and Ubuntu
All the PacketFence dependencies are available through the official repositories.