Difference between revisions of "Vnx-install-fedora"
(Created page with "== Installation over Fedora 11 (Draft) == Follow this steps to install VNX over Fedora 11: <ul> <li>Install packages:</li> yum -y groupinstall "Development Tools" yum install...") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Title|VNX Installation over Fedora}} | |
Follow this steps to install VNX over Fedora 11: | Follow this steps to install VNX over Fedora 11: | ||
Line 11: | Line 11: | ||
yum install perl-Exception-Class perl-ExtUtils-MakeMaker tunctl screen wget | yum install perl-Exception-Class perl-ExtUtils-MakeMaker tunctl screen wget | ||
yum install libxml2-devel gnutls-devel device-mapper-devel uml_utilities | yum install libxml2-devel gnutls-devel device-mapper-devel uml_utilities | ||
− | yum install roxterm xterm graphviz perl-AppConfig | + | yum install roxterm xterm graphviz perl-AppConfig tree libio-pty-perl curl w3m picocom expect pv |
<li>Install libvirt 0.8.5:</li> | <li>Install libvirt 0.8.5:</li> | ||
Line 46: | Line 46: | ||
mkdir /tmp/vnx-update | mkdir /tmp/vnx-update | ||
cd /tmp/vnx-update | cd /tmp/vnx-update | ||
− | wget -N http:// | + | wget -N http://vnx.dit.upm.es/vnx/vnx-latest.tgz |
tar xfvz vnx-latest.tgz | tar xfvz vnx-latest.tgz | ||
cd vnx-* | cd vnx-* | ||
Line 52: | Line 52: | ||
<li>Create the VNX config file (/etc/vnx.conf). You just can move the sample config file:</li> | <li>Create the VNX config file (/etc/vnx.conf). You just can move the sample config file:</li> | ||
− | mv /etc/vnx.conf. | + | mv /usr/share/vnx/etc/vnx.conf.sample /etc/vnx.conf |
<li>Disable host firewall or, alternatively, configure "tun" type network interfaces as trusted interfaces (System->Firewall->Trusted Interfaces).</li> | <li>Disable host firewall or, alternatively, configure "tun" type network interfaces as trusted interfaces (System->Firewall->Trusted Interfaces).</li> | ||
− | <li>Download root file systems from http://idefix.dit.upm.es/download/vnx/filesystems and | + | <li>Download root file systems from http://idefix.dit.upm.es/download/vnx/filesystems and install them following these [[Vnx-install-root_fs|instructions]]</li> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
=== Additional install steps for Dynamips support === | === Additional install steps for Dynamips support === | ||
Line 110: | Line 82: | ||
idle-pc get R | idle-pc get R | ||
Once you know the idle-pc value for your system, include it in /etc/vnx.conf file. | Once you know the idle-pc value for your system, include it in /etc/vnx.conf file. | ||
+ | |||
+ | <!-- Not needed. bios-olive.bin file installed with vnx | ||
=== Additional install steps for Olive support === | === Additional install steps for Olive support === | ||
Line 123: | Line 97: | ||
</ul> | </ul> | ||
+ | --> |
Latest revision as of 13:38, 6 March 2015
VNX Installation over Fedora
Follow this steps to install VNX over Fedora 11:
- Install packages:
yum -y groupinstall "Development Tools" yum install qemu-kvm libvirt virt-manager virt-viewer perl-XML-LibXML yum install perl-XML-DOM perl-NetAddr-IP perl-Readonly perl-TermReadKey yum install perl-Net-Pcap perl-Net-IPv6Addr perl-Net-Telnet perl-Error yum install perl-Exception-Class perl-ExtUtils-MakeMaker tunctl screen wget yum install libxml2-devel gnutls-devel device-mapper-devel uml_utilities yum install roxterm xterm graphviz perl-AppConfig tree libio-pty-perl curl w3m picocom expect pv
/etc/init.d/libvirtd stop wget http://libvirt.org/sources/libvirt-0.8.5.tar.gz tar xfvz libvirt-0.8.5.tar.gz cd libvirt-0.8.5 ./configure --without-xen --prefix=/usr && make && make install /etc/init.d/libvirtd start
wget http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Sys-Virt-0.2.4.tar.gz tar xfvz Sys-Virt-0.2.4.tar.gz cd Sys-Virt-0.2.4 perl Makefile.PL make install
ln -s /usr/bin/qemu-kvm /usr/bin/kvm
mkdir /tmp/vnx-update cd /tmp/vnx-update wget -N http://vnx.dit.upm.es/vnx/vnx-latest.tgz tar xfvz vnx-latest.tgz cd vnx-* ./install_vnx
mv /usr/share/vnx/etc/vnx.conf.sample /etc/vnx.conf
Additional install steps for Dynamips support
- Install Dynamips and Dynagen:
wget http://downloads.sourceforge.net/project/dyna-gen/dynamips%20Linux%20RPM/0.2.8-RC2/dynamips-0.2.8RC2-1.i386.rpm rpm -i dynamips-0.2.8RC2-1.i386.rpm wget http://downloads.sourceforge.net/project/dyna-gen/dynagen%20source%20_%20Linux/dynagen%200.11.0/dynagen-0.11.0-1.fc9.noarch.rpm rpm -i dynagen-0.11.0-1.fc9.noarch.rpm
- Add dynamips to system start-up and start it manually for this time:
chkconfig --add dynamips /etc/init.d/dynamips start
- Download and install cisco IOS image:
cd /usr/share/vnx/filesystems # Cisco image wget ... c3640-js-mz.124-19.image ln -s c3640-js-mz.124-19.image c3640
- Calculate the idle-pc value for your computer following the procedure in http://dynagen.org/tutorial.htm:
dynagen /usr/share/vnx/examples/R.net console R # type 'no' to exit the config wizard and wait # for the router to completely start idle-pc get R
Once you know the idle-pc value for your system, include it in /etc/vnx.conf file.