Difference between revisions of "Vnx-install-fedora"
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 tree libio-pty-perl | + | yum install roxterm xterm graphviz perl-AppConfig tree libio-pty-perl curl |
− | |||
− | |||
<li>Install libvirt 0.8.5:</li> | <li>Install libvirt 0.8.5:</li> |
Revision as of 21:35, 23 May 2012
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
/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://idefix.dit.upm.es/download/vnx/vnx-latest.tgz tar xfvz vnx-latest.tgz cd vnx-* ./install_vnx
mv /etc/vnx.conf.samble /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.