Fedora9

From VNUML-WIKI
Jump to: navigation, search

Installing VNUML over Fedora 9

This HowTo describes how to install VNUML over a fresh Fedora 9 installation. Note that it is a preliminary version. Let us know if it does not work for you.


Installation steps:

  1. Install Fedora 9 and make sure basic development tools are installed. Use the following command to install them if needed:
  2. yum groupinstall "Development Tools"
    
  3. Update the system with:
  4. yum update
    
  5. Install the following packages needed by VNUML:
  6. yum install bridge-utils readline-devel perl-Module-Build screen expat-devel libpcap-devel perl-Net-Pcap perl-NetAddr-IP perl-Net-IPv6Addr perl-XML-DOM perl-Exception-Class perl-TermReadKey perl-Error perl-CPAN
    
  7. Install uml_utilities:
  8. wget http://www.user-mode-linux.org/~blaisorblade/uml-utilities/uml_utilities_20060323.tar.bz2
    tar xfvj uml_utilities_20060323.tar.bz2
    cd tools-20060323
    make 
    make install
    
  9. Install VNUML. Dowload latest vnuml tar file from [VNUML site] and:
  10. tar xfvz  vnuml_1.8.4rc2.orig.tar.gz
    cd vnuml-1.8.4rc2
    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
    
  11. Install VNUML kernel. Download the latest UML kernel from [VNUML site] and:
  12.  cd /usr/share
     tar xfvz linux-um_2.6.18.1-bb2-xt-4m.orig.tar.gz
     ln -s linux-um-2.6.18.1-bb2-xt-4m linux-um 
     mv linux-um/linux-2.6.18.1-bb2-xt-4m /usr/share/vnuml/kernels
     ln -s /usr/share/vnuml/kernels/linux-2.6.18.1-bb2-xt-4m /usr/share/vnuml/kernels/linux
    
  13. Install root-filesystem. Download one of the latest filesystems from [VNUML site] and
  14. tar xvfz <filesystem.tar.gz> /usr/share/vnuml/filesystems/
    cd /usr/share/vnuml/filesystem/
    ln -s <filesystem> root_fs_tutorial
    
  15. Create ssh keys with:
  16.  ssh-keygen -t rsa1
    
  17. Test the installation with:
  18.  cd /usr/share/vnuml/examples
     vnumlparser.pl -t simple.xml -v -u root