Difference between revisions of "Fedora7"

From VNUML-WIKI
Jump to: navigation, search
(Installing VNUML over Fedora 7)
(Installing VNUML over Fedora 7)
Line 1: Line 1:
 
==Installing VNUML over Fedora 7==
 
==Installing VNUML over Fedora 7==
 +
 +
This HowTo describes how to install VNUML over a fresh Fedora 7 installation. Note that it is a preliminary version. Let us know if it does not work for you.
  
 
<br>
 
<br>
Line 16: Line 18:
  
 
<br>
 
<br>
 
This HowTo describes how to install VNUML over a fresh Fedora 7 installation. Note that it is a preliminary version. Let us know if it does not work for you.
 
  
 
Installation steps:
 
Installation steps:

Revision as of 14:30, 22 September 2007

Installing VNUML over Fedora 7

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


Important note:

Do not use <consoles> with id=0 (use id="1" instead). For example, edit your scenarios and change:

   <console id="0">xterm</console>

to:

   <console id="1">xterm</console>

If you use console id="0" the scenarios will start and work normally, but the virtual machines will hang when stopping the scenario using "-d" option.


Installation steps:

  1. Install Fedora 7 and make sure basic development tools are installed.
  2. Update the system with:
  3. yum update
    
  4. Install the following packages needed by VNUML:
  5. yum install bridge-utils readline-devel perl-Module-Build screen expat-devel libpcap-devel
    
  6. Install the following perl modules:
  7. perl -MCPAN -e "install Net::Pcap; Net::IPv6Addr; NetAddr::IP"
    

    If any of the modules does not install correctly, try with "force". For example:

    perl -MCPAN -e "force install Net::Pcap"
    
  8. Install uml_utilities:
  9. wget http://www.user-mode-linux.org/~blaisorblade/uml-utilities/uml_utilities_20060323.tar.bz2
    tar xfvj uml_utilities_20060323.tar.bz2
    cd tools-20030323
    make 
    make install
    
  10. Install VNUML kernel. Download "linux-um" package from VNUML site and: <7li> cd /usr/share tar xfvz linux-um_2.6.18.1-bb2-xt-2m.orig.tar.gz ln -s linux-um_2.6.18.1-bb2-xt-2m linux-um mv linux-um/linux-um_2.6.18.1-bb2-xt-2m /usr/share/vnuml/kernels ln -s /usr/share/vnuml/kernels/linux-um_2.6.18.1-bb2-xt-2m /usr/share/vnuml/kernels/linux
  11. Install root_fs. Download root-fs-instaler installer script from http://www.dit.upm.es/vnumlwiki/index.php/Root-fs-installer and:
  12.  cd /usr/share/vnuml/filesystems
     perl root-fs-instaler
    
  13. Create ssh keys with:
  14.  ssh-keygen -t rsa1
    
  15. Test the installation with:
  16.  cd /usr/share/vnuml/examples:
     vnumlparser.pl -t simple.xml -v -u root