当前位置: 首页 > 工具软件 > Packetfence > 使用案例 >

PacketFence安装

咸玄天
2023-12-01

PacketFence是一套优秀的NAC系统,关键是开源的,不过其安装需要仔细点:

本人系统环境 RHEL 6.3

1. YUM UPDATE 保证系统最新

2.下载3个第三方源,用于PackeFence

    rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.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

3.在/etc/yum.repos.d下, 保证rpmforge.repo, eple.repo 和 openfusion.repo中所有部分如下修改:

    enabled=0

4.在/etc/yum.repos.d/rpmforge.repo下,[rpmforge]部分,增加一行

    exclude = perl-Apache-Test*

5.在/etc/yum.repos.d/openfusion.repo,[of]部分,增加

    exclude = perl-Apache-Test*

6.安装3个包

   yum install perl-Net-Telnet perl-XML-Simple perl-SOAP-Lite --enablerepo=rpmforge-extras,rpmforge 这个是必须的

7.增加一个源文件 /etc/yum.repos.d/PacketFence.repo

   [PacketFence]
name=PacketFence Repository
baseurl=http://inverse.ca/downloads/PacketFence/RHEL6Server/$basearch
gpgcheck=0

(注:按照PakcetFence文档里的设置,找不到下载源的,要自己摸索下)

8.如果全安装,包括DNS server, database server, DHCP server, RADIUS server,则用

   yum groupinstall --enablerepo=PacketFence,epel,rpmforge,of Packetfence-complete

  只装核心部分

  yum install --enablerepo=PacketFence,epel,rpmforge,of packetfence

9.安装完毕后,输入 http:// Pakcefent的IP:1444/configurator 就进入设置界面了.

 

 类似资料: