Fedora7

From VNUML-WIKI
Revision as of 14:24, 22 September 2007 by David (talk | contribs) (Installing VNUML over Fedora 7)
Jump to: navigation, search

Installing VNUML over Fedora 7


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.


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:

  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 "bridge-utilities" which is available from Yast2
  11. Download uml-utilities from here and install them:
  12. rpm -i uml-utilities-20040406-35.i586.rpm
    
  13. Install the following perl modules from CPAN using this command:
  14.  perl -MCPAN -e "install Net::Pcap; install Module::Build; install Net::IPv6Addr; force install NetAddr::IP"
    

    Note: basic c/c++ development tools (gcc, make, etc) must be installed for this step to work.

  15. Download the latest version of vnuml parser from VNUML site and install it: