Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Centos/Redhat/Fedora
You won't find detailed instructions for GNS3 installation on Centos/Redhat/Fedora
over the net, So I decided to make one for our certcollection members. Installing
GNS3 on Centos/Redhat/Fedora can be very tedious task. But If you follow my Steps
given below you can setup and run GNS3 without any difficulty. Since Qt 4.5.1
binary which is required for GNS3 is not available for these OS's, we'll have to
compile it from the source.
IMP:: Installation of all this packages will take a lot of time. So do it in the free time.
OK lets roll
First we'll have to install dependencies
[user@admin ~]$ su
Password: (Type in your root password here)
[root@admin /]# yum install python python-devel xorg-x11-proto-devel libXextdevel
[root@admin /]# yum install gcc-c++
mins or so
[root@admin qt-x11-opensource-src-4.5.1]#PATH=/usr/local/Trolltech/Qt-4.5.1/bin:
$PATH
[root@admin qt-x11-opensource-src-4.5.1]#export PATH
[root@admin qt-x11-opensource-src-4.5.1]#cd ..
[root@admin tmp]#wget http://cvs.fedoraproject.org/lookaside/pkgs/sip/sip4.8.1.tar.gz/859e5b103ba5a083e4f2021eb6d99b26/sip-4.8.1.tar.gz
[root@admin tmp]#tar xzf sip-4.8.1.tar.gz
[root@admin tmp]#cd sip-4.8.1
[root@admin sip-4.8.1]#python configure.py
[root@admin sip-4.8.1]#make
[root@admin sip-4.8.1]#make install
[root@admin sip-4.8.1]#cd ..
[root@admin tmp]#wget http://cvs.fedoraproject.org/lookaside/pkgs/PyQt4/PyQtx11-gpl-4.5.2.tar.gz/997269d78aced5b1105edb155d49e248/PyQt-x11-gpl4.5.2.tar.gz
[root@admin tmp]#tar xzf PyQt-x11-gpl-4.5.2.tar.gz
[root@admin tmp]#cd PyQt-x11-gpl-4.5.2
[root@admin PyQt-x11-gpl-4.5.2]#python configure.py
[root@admin PyQt-x11-gpl-4.5.2]#make <=====This will take 30-60 mins
[root@admin PyQt-x11-gpl-4.5.2]#make install
We are done with compiling part, now lets download GNS3 source files
http://space.dl.sourceforge.net/project/gns-3/GNS3/0.7.3/GNS3-0.7.3-src.tar.bz2
GNS3-0.7.3-src.tar.bz2
GNS3-0.7.3-src
&& rm
GNS3-0.7.3-src.tar.bz2
/opt/GNS3
These directories will be used by GNS3 such as projects where your working
projects will be stored, cache, temp, IOS images, etc.
[root@admin
[root@admin
[root@admin
[root@admin
[root@admin
[root@admin
[root@admin
[root@admin
[root@admin
opt]#cd /opt/GNS3
GNS3]#mkdir Dynamips
GNS3]#mkdir IOS
GNS3]#mkdir Project
GNS3]#mkdir Cache
GNS3]#mkdir tmp
GNS3]#chmod o+rw -R ./Project
GNS3]#chmod o+rw -R ./tmp
GNS3]#chmod o+rw -R ./IOS
Fire up GNS3
Happy Learning
New GNS3 0.7.4 released , New GNS3 source fix for this tutorial
OLD
Quote
We are done with compiling part, now lets download GNS3 source files
[root@admin tmp]#cd /opt
[root@admin opt]#wget http://space.dl.sourceforge.net/project/gns3/GNS3/0.7.3/GNS3-0.7.3-src.tar.bz2
[root@admin opt]#tar -xjvf GNS3-0.7.3-src.tar.bz2 && rm GNS3-0.7.3-src.tar.bz2
[root@admin opt]#mv GNS3-0.7.3-src /opt/GNS3
New
Quote
[root@admin tmp]#cd /opt
[root@admin opt]#wget http://nchc.dl.sourceforge.net/project/gns3/GNS3/0.7.4/GNS3-0.7.4-src.tar.bz2
[root@admin opt]#tar -xjvf GNS3-0.7.4-src.tar.bz2 && rm GNS3-0.7.4-src.tar.bz2
[root@admin opt]#mv GNS3-0.7.4-src /opt/GNS3