Tuesday, May 31, 2016

gns3 1.46 installation on debian and linux mint mate betsy


!Install sudo and add your user account
su -
apt-get install sudo

root@S761:/# cd /etc
root@S761:/etc# pico sudoers

ariel     ALL=(ALL:ALL) ALL (add this line, then save and close)

!Add i386 support for IOU and Run apt-get update
$ sudo dpkg --add-architecture i386
$ sudo apt-get  update


!Install GNS3 dependencies
$sudo apt-get install gcc
$sudo apt-get install python3-dev
$sudo apt-get install python3-setuptools
$sudo apt-get install python3-pyqt5
$sudo apt-get install PyQt5.QtSvg
sudo apt-get install PyQt5.QtWebSockets
$sudo apt-get install python3-ws4py
$sudo apt-get install python3-zmq
$sudo apt-get install python3-tornado
$sudo apt-get install python3-netifaces

!Install Dynamips dependencies
$sudo apt-get install cmake
$sudo apt-get install libelf-dev
$sudo apt-get install uuid-dev
$sudo apt-get install libpcap-dev



!Download and unzip GNS3 Linux source files
!unzip GNS3-1.*.*-source.zip

!Build and Install Dynamips
$cd GNS3-1.*.*-source
$unzip dynamips-0.2.14.zip
$cd dynamips-0.2.14
$mkdir build
$cd build
$cmake ..
$make
$sudo make install
$sudo setcap cap_net_admin,cap_net_raw=ep /usr/local/bin/dynamips


!Install GNS3 Server
!unzip gns3-server-1.*.*.zip
$cd gns3-server-1.*.*
$sudo python3 setup.py install

!Install GNS3 GUI
$unzip gns3-gui-1.*.*.zip
$cd gns3-gui-1.*.*
$sudo python3 setup.py install

!Install IOU prerequisites
$sudo apt-get install libssl1.0.0:i386
$sudo ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.4

$sudo apt-get install bison
$sudo apt-get install flex
$sudo apt-get install git

$git clone http://github.com/ndevilla/iniparser.git
$cd iniparser
$make
$sudo cp libiniparser.* /usr/lib/
$sudo cp src/iniparser.h /usr/local/include
$sudo cp src/dictionary.h /usr/local/include

!Install GNS3 IOUYAP app (provides network support for IOU)
$unzip iouyap-0.95.zip
$cd iouyap-0.95
$sudo make install
$sudo cp iouyap /usr/local/bin/

!Install VPCS
$unzip vpcs-0.6.zip
$cd vpcs-0.6/src
$./mk.sh
$sudo cp vpcs /usr/local/bin/

!Install Ubridge
unzip ubridge-0.9.0.zip
#cd ubridge-0.9.0
#make
#sudo make install
#cd ..


"Generating license for IOU"
*google this*


! to install qemu
sudo apt-get install qemu

!installing Virtual Box
pico /etc/apt/sources.list

!add and save the following line:
deb http://httpredir.debian.org/debian/ jessie main contrib

#apt-get update
#apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox

!To stop VirtualBox modules loading at system startup, edit /etc/default/virtualbox and set LOAD_VBOXDRV_MODULE to 0.
#pico /etc/default/virtualbox

!Install Wireshark
sudo apt-get install wireshark

!gns3 uninstallation
pip3 uninstall gns3-gui
pip3 uninstall gns3-server

!gns3 update (sample, current stable is 1.4.6)
pip3 install gns3-server==1.4.6
pip3 install gns3-gui==1.4.6

source: www.gns3.com  minor updates were added