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.

Solution

wget http://launchpadlibrarian.net/85191944/libdigest-sha1-perl_2.13-2build2_amd64.deb
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:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Add EPEL software repository:
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

Add Open Fusion RPM Repository:
rpm -Uvh http://repo.openfusion.net/centos6-x86_64/openfusion-release-0.6.2-1.of.el6.noarch.rpm

Update:

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 install.sh 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