Fedora11
Installing VNUML over Fedora 11
This HowTo describes how to install VNUML over a fresh Fedora 11 installation.
Installation steps:
- Install Fedora 11 and update it:
- Install basic development tools and other packages needed by VNUML:
- Install VNUML. Dowload latest vnuml tar file from http://prdownloads.sourceforge.net/vnuml/vnuml_1.8.9.orig.tar.gz?download and:
- Install VNUML kernel. Download the latest UML kernel from http://prdownloads.sourceforge.net/vnuml/linux-um_2.6.28.10-1m.orig.tar.gz?download and:
- Install root-filesystem. Download one of the latest filesystems from [VNUML site] and
- Create ssh keys with:
- Test the installation with:
- Note: If SElinux is activated (it is by default) it gives an error when starting VNUML scenarios: SELinux is preventing linux (unconfined_t) "mmap_zero" to <Unknown> (unconfined_t)". To solve the error, it is suggested to execute the following command:
yum update
yum -y groupinstall "Development Tools" yum -y install bridge-utils readline-devel perl-Module-Build screen expat-devel libpcap-devel yum -y install perl-Net-Pcap perl-NetAddr-IP perl-Net-IPv6Addr perl-XML-DOM perl-Exception-Class yum -y install perl-TermReadKey perl-Error perl-CPAN uml_utilities xterm tunctl
tar xfvz vnuml_1.8.9.orig.tar.gz cd vnuml-1.8.9 ln -s /usr/lib/perl5 /usr/local/lib/ ln -s /usr/local/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl ./configure --with-build_modules --prefix="/usr" make make install # You have to press ENTER several times
cd /usr/share tar xfvz linux-um_2.6.28.10-1m.orig.tar.gz ln -s linux-um-2.6.28.10-1m/ linux-um mv linux-um/linux-2.6.28.10-1m /usr/share/vnuml/kernels/ ln -s /usr/share/vnuml/kernels/linux-2.6.28.10-1m /usr/share/vnuml/kernels/linux
cd /usr/share/vnuml/filesystem/ wget http://www.dit.upm.es/vnuml/download/scripts/root-fs-installer perl root-fs-installer
ssh-keygen -t rsa1
cd /usr/share/vnuml/examples vnumlparser.pl -t simple.xml -v -u root -Z -w 45
setsebool -P allow_unconfined_mmap_low 1
Disclaimer: I do not know exactly what are the security implications of executing this command. But it solves the problem and VNUML works...