Install error libdigest-sha1-perl on Ubuntu 12.04 Precise Pangolin

Even if you try running apt-get install libdigest-sha1-perl you will not find it in any repositories because the version of Perl used for Ubuntu 12.04 already includes Digest::SHA.


dpkg -i libdigest-sha1-perl_2.13-2build2_amd64.deb

(change amd64 to i386, if y on 32bit)

Install PacketFence on CentOS 6 (Section 2: Add other repository)

Add RPMforge:
rpm –import
rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Add EPEL software repository:
rpm -Uvh

Add Open Fusion RPM Repository:
rpm -Uvh


Exclude perl-Apache-Test from rpmforge and openfusion repository:

Edit /etc/yum.repos.d/rpmforge.repo and add the line exclude = perl-Apache-Test* on the section [rpmforge].
Edit /etc/yum.repos.d/openfusion.repo and add the line exclude = perl-Apache-Test* on the section [of].

Installing Hyper-V Linux Integration Services On CentOS

Add both NICs to virtual machine, download Linux Integration Components from Microsoft Download site, and mount on Hyper-V.

mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
Run from cdrom.

Shutdown, remove the Legacy Adapter, reboot.

Modify /etc/sysconfig/network-scripts/ifcfg-eth0 to match the MAC of the full-speed NIC.
Modify /etc/udev/rules.d/70-persistent-net.rules, the first device change the MAC addr to match the full-speed NIC. Comment out the “SUBSYSTEM” line underneath.
Run this command:

chattr +i /etc/udev/rules.d/70-persistent-net.rules