Difference between revisions of "Suse 10.2"
Line 54: | Line 54: | ||
make install (Note: answer "NO" if asked "Are you ready for manual configuration?") | make install (Note: answer "NO" if asked "Are you ready for manual configuration?") | ||
− | <li> Download root filesystem (root_fs_tutorial-0.4.1.bz2) from [http://www.dit.upm.es/vnuml/#download VNUML site] and | + | <li> Download root filesystem (root_fs_tutorial-0.4.1.bz2) from [http://www.dit.upm.es/vnuml/#download VNUML site] and: |
</li> | </li> | ||
− | cp root_fs_tutorial-0.4. | + | cp root_fs_tutorial-0.4.1.bz2 /usr/local/share/vnuml/filesystems |
cd /usr/local/share/vnuml/filesystems | cd /usr/local/share/vnuml/filesystems | ||
− | bunzip2 root_fs_tutorial-0.4. | + | bunzip2 root_fs_tutorial-0.4.1.bz2 |
− | ln -s root_fs_tutorial-0.4. | + | ln -s root_fs_tutorial-0.4.1 root_fs_tutorial |
− | <li> Download guest kernel (linux-2.6. | + | <li> Download guest kernel (linux-2.6.16.27-bs2-xt-1m.tar.bz2) from [http://www.dit.upm.es/vnuml/#download VNUML site] and: |
</li> | </li> | ||
mkdir /usr/local/share/vnuml/kernels/src | mkdir /usr/local/share/vnuml/kernels/src | ||
− | cp linux-2.6. | + | cp linux-2.6.16.27-bs2-xt-1m.tar.bz2 /usr/local/share/vnuml/kernels/src |
cd /usr/local/share/vnuml/kernels/src | cd /usr/local/share/vnuml/kernels/src | ||
− | tar xfvj linux-2.6. | + | tar xfvj linux-2.6.16.27-bs2-xt-1m.tar.bz2 |
− | cp linux-2.6. | + | cp linux-2.6.16.27-bs2-xt-1m/linux-2.6.16.27-bs2-xt-1m .. |
cd .. | cd .. | ||
− | ln -s linux-2.6. | + | ln -s linux-2.6.16.27-bs2-xt-1m linux |
− | <li> Installation is finished. | + | <li> Installation is finished. Test simple.xml example to see if everything works: |
</li> | </li> | ||
− | vnumparser.pl -t /usr/local/share/vnuml/examples/simple.xml -v | + | vnumparser.pl -t /usr/local/share/vnuml/examples/simple.xml -v -u root -Z |
Note: if you execute the example from a "root" session, you should add the option "-u root" at the end of the line. There are some pending bugs that prevent a simulation to work when executed as "vnuml" user (the default when you do not use -u option) from a root session. | Note: if you execute the example from a "root" session, you should add the option "-u root" at the end of the line. There are some pending bugs that prevent a simulation to work when executed as "vnuml" user (the default when you do not use -u option) from a root session. | ||
</ol> | </ol> |
Revision as of 23:16, 28 January 2007
Installing VNUML over Open Suse 10.2
Important note: |
---|
There is a problem with vnuml 1.7.3 in Suse related with vnumlize functionality. The parser hangs after printing:
To avoid the problem, just type "crtl-C" afert the above message or better use the "-Z" option to disable vnumlize functionallity: vnumlparser.pl -t simple.xml -v -u root -Z This problem does not happen with vnuml 1.8 version. |
Installation steps:
- Install "bridge-utilities" which is available from Yast2
- Download uml-utilities from http://download.opensuse.org/distribution/10.2/repo/oss/suse/i586/uml-utilities-20040406-35.i586.rpm and install them:
- Install the following perl modules from CPAN using this command:
- Download the latest version of vnuml parser from VNUML site and install it:
- Download root filesystem (root_fs_tutorial-0.4.1.bz2) from VNUML site and:
- Download guest kernel (linux-2.6.16.27-bs2-xt-1m.tar.bz2) from VNUML site and:
- Installation is finished. Test simple.xml example to see if everything works:
rpm -i uml-utilities-20040406-35.i586.rpm
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.
tar xfvz vnuml_1.7.3.orig.tar.gz cd vnuml-1.7.3 ./configure --with-build_modules make make install (Note: answer "NO" if asked "Are you ready for manual configuration?")
cp root_fs_tutorial-0.4.1.bz2 /usr/local/share/vnuml/filesystems cd /usr/local/share/vnuml/filesystems bunzip2 root_fs_tutorial-0.4.1.bz2 ln -s root_fs_tutorial-0.4.1 root_fs_tutorial
mkdir /usr/local/share/vnuml/kernels/src cp linux-2.6.16.27-bs2-xt-1m.tar.bz2 /usr/local/share/vnuml/kernels/src cd /usr/local/share/vnuml/kernels/src tar xfvj linux-2.6.16.27-bs2-xt-1m.tar.bz2 cp linux-2.6.16.27-bs2-xt-1m/linux-2.6.16.27-bs2-xt-1m .. cd .. ln -s linux-2.6.16.27-bs2-xt-1m linux
vnumparser.pl -t /usr/local/share/vnuml/examples/simple.xml -v -u root -Z
Note: if you execute the example from a "root" session, you should add the option "-u root" at the end of the line. There are some pending bugs that prevent a simulation to work when executed as "vnuml" user (the default when you do not use -u option) from a root session.