Linux serverNETWORK ADMINISTRATIONS

How to install GNS3 on Centos 7

Step1.Disable SELinux and firewalld/iptables
———————————————

/etc/sysconfig/selinux
change the setting from enforcing to permissive

service firewalld stop
systemctl disable firewalld

Step2: Installing the pre-requisites
——————————————

yum install yum-utils epel-release wget
yum group install “Development Tools”
yum install elfutils-libelf-devel libpcap-devel cmake glibc-static qemu telnet
yum install qt5-qtbase qt5-qtbase-devel qt5-qtsvg qt5-qtsvg-devel

Step3: Installing python SIP and PyQT5
—————————————–

3.1 Installing Python 3.6
—————————–

yum install -y https://centos7.iuscommunity.org/ius-release.rpm
yum install python36u python36u-pip python36u-devel python36u-tools python36u-setuptools

3.2 Installing SIP from source
———————————–

cd /tmp
wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.7/sip-4.19.7.tar.gz
tar xvfz sip-4.19.7.tar.gz
cd sip-4.19.7
python3.6 configure.py
make
make install

3.3 Installing PyQT5 from source.
—————————————-

cd /tmp
wget https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.10/PyQt5_gpl-5.10.tar.gz
tar xzf PyQt5_gpl-5.10.tar.gz
cd PyQt5_gpl-5.10
python3.6 configure.py –qmake /usr/bin/qmake-qt5
make
make install

Step4: Installing GNS3 GUI and Server
——————————————–

pip3.6 install gns3-gui gns3-server pyqt5

Step5. Installing Dynamips
——————————-

cd /tmp
git clone https://github.com/GNS3/dynamips.git
cd dynamips/
mkdir build
cd build/
cmake .. -DDYNAMIPS_CODE=stable
make
make install

Step6. Installing VPCS
————————–

cd /tmp
svn checkout http://svn.code.sf.net/p/vpcs/code/trunk vpcs
cd vpcs/src
./mk.sh 64
install -m 755 vpcs /usr/local/bin

Step7. Installing ubridge
—————————–

cd /tmp
git clone https://github.com/GNS3/ubridge.git
cd ubridge
make
make install

Step8. Installing IOU support
———————————-

cd /tmp
git clone http://github.com/ndevilla/iniparser.git
cd iniparser
make
cp libiniparser.* /usr/lib/
cp src/iniparser.h /usr/local/include/
cp src/dictionary.h /usr/local/include/
cd ../
git clone https://github.com/GNS3/iouyap.git
cd iouyap
make
make install

Video created based on https://mjstealey.com/installing-gns3-on-centos-7/

My Youtube Channel
——————

https://www.youtube.com/user/sandeepsuresh2006

My Website
———-

http://www.networkninja.co.in

My Facebook Page
—————-

https://www.facebook.com/NetworkNinja01/

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *