yum groupinstall -y "Development tools" "Additional Development" "Debugging Tools" "System administration tools" "Compatibility libraries" "Console internet tools"
yum install -y transfig wget texi2html libaio-devel dev86 glibc-devel e2fsprogs-devel gitk xz-devel bzip2-devel pciutils-libs pciutils-devel SDL-devel libX11-devel gtk2-devel bridge-utils PyXML qemu-img mercurial texinfo libuuid-devel
hmaccalc ncurses-devel zlib-devel openssl-devel python-devel bridge-utils libtool-ltdl xorg-x11-drv-evdev xorg-x11-drv-fbdev xorg-x11-drv-i810-devel xorg-x11-drv-via-devel xorg-x11-proto-devel xorg-x11-server-sdk xorg-x11-xtrans-devel
glibc-devel.i686 texinfo libuuid-devel iasl python-lxml uuid-devel bridge-utils
openssl openssl-devel ncurses ncurses-* python-devel
make gcc screen vim wget tcpdump ntp ntpdate man smartmontools links lynx ethtool xorg-x11-xauth
wget -c http://bits.xensource.com/oss-xen/release/4.1.3/xen-4.1.3.tar.gz
tar zxf xen-4.1.3.tar.gz
cd xen-4.1.3
make world
make install
sed -i 's/#(network-script network-route)/(network-script network-route)/g' /etc/xen/xend-config.sxp
sed -i 's/#(vif-script vif-route)/(vif-script vif-route)/g' /etc/xen/xend-config.sxp
/sbin/chkconfig --add xend
/sbin/chkconfig --add xencommons
/sbin/chkconfig --add xendomains
/sbin/chkconfig --level 35 xend on
/sbin/chkconfig --level 35 xendomains on
/sbin/chkconfig --level 35 xencommons on