Difference between revisions of "Fedora11"

From VNUML-WIKI
Jump to: navigation, search
Line 27: Line 27:
 
<li>Install VNUML. Dowload latest vnuml tar file from [[http://www.dit.upm.es/vnumlwiki/index.php/Download VNUML site]] and:
 
<li>Install VNUML. Dowload latest vnuml tar file from [[http://www.dit.upm.es/vnumlwiki/index.php/Download VNUML site]] and:
 
</li>
 
</li>
  tar xfvz vnuml_1.8.4rc2.orig.tar.gz
+
  tar xfvz vnuml_1.8.9.orig.tar.gz  
  cd vnuml-1.8.4rc2
+
  cd vnuml-1.8.9
 
  ln -s /usr/lib/perl5 /usr/local/lib/
 
  ln -s /usr/lib/perl5 /usr/local/lib/
 
  ln -s /usr/local/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl
 
  ln -s /usr/local/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl

Revision as of 16:28, 7 January 2010

Installing VNUML over Fedora 11 (draft)

work in progress....do not use yet...

This HowTo describes how to install VNUML over a fresh Fedora 11 installation.

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 uml_utilities
    
  7. Install VNUML. Dowload latest vnuml tar file from [VNUML site] and:
  8. 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
    
  9. Install VNUML kernel. Download the latest UML kernel from [VNUML site] and:
  10.  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
    
  11. Install root-filesystem. Download one of the latest filesystems from [VNUML site] and
  12. tar xvfz <filesystem.tar.gz> /usr/share/vnuml/filesystems/
    cd /usr/share/vnuml/filesystem/
    ln -s <filesystem> root_fs_tutorial
    
  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