#Run apt-get update
➜ ~ sudo apt-get update
# - Install GNS3 Python dependencies
➜ ~ sudo apt-get install python3-setuptools python3-pyqt4 python3-ws4py python3-netifaces python3-crypto
#- Install Dynmips dependencies
➜ ~ sudo apt-get install cmake libelf-dev uuid-dev libpcap-dev
# - Download and unzip GNS3 Linux source files here
Migrade to your download directory and unzip the file
➜ unzip GNS3-1.3.10.source.zip
Results:
Archive: GNS3-1.3.10.source.zip
extracting: dynamips-0.2.14.zip
extracting: iouyap-0.95.zip
extracting: ubridge-0.9.0.zip
extracting: vpcs-0.6.1.zip
extracting: gns3-server-1.3.10.zip
extracting: gns3-gui-1.3.10.zip
# - Build and Install Dynamips
➜ ~ 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
➜ ~ cd ../..
# - Install GNS3 Server
➜ ~ unzip gns3-server-1.3.10.zip
➜ ~ cd gns3-server-1.3.10
➜ ~ sudo python3 setup.py install
➜ ~ cd ..
# - Install GNS3 GUI
➜ ~ unzip gns3-gui-1.3.10.zip
➜ ~ cd gns3-gui-1.3.10
➜ ~ sudo python3 setup.py install
➜ ~ cd ..
# - Install IOU dependencies
➜ ~ sudo apt-get install libssl1.0.0:i386
➜ ~ sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/libcrypto.so.4
➜ ~ sudo apt-get install bison
➜ ~ sudo apt-get install flex
➜ ~ git clone http://github.com/ndevilla/iniparser.git
➜ ~ cd iniparser
➜ ~ make
➜ ~ cd ..
➜ ~ sudo cp libiniparser.* /usr/lib/
➜ ~ cd iniparser
➜ ~ sudo cp libiniparser.* /usr/lib/
➜ ~ sudo cp src/iniparser.h /usr/local/include
➜ ~ sudo cp src/dictionary.h /usr/local/include
➜ ~ cd ..
# - 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
➜ ~ cd ..
# - Install VPCS
➜ ~ unzip vpcs-0.6.1.zip
➜ ~ cd vpcs-0.6.1/src
➜ ~./mk.sh
➜ ~ sudo cp vpcs /usr/local/bin
➜ ~ cd ../..
# - Install VirtualBox
➜ ~ sudo apt-get install virtualbox
# - Install Wireshark
➜ ~ sudo apt-get install wireshark
# - Install QEMU - method 1
$ sudo apt-get install qemu
# - Install QEMU - method 2 (x86 arch. only)
$ sudo apt-get install qemu-system-x86
$ sudo apt-get install qemu-utils
# - Install cpulimit
$ sudo apt-get install cpulimit
# - Start GNS3
➜ ~ gns3
Note:
Don't include ➜ ~ when copying the command as that is Deepin terminal prompt.
Enjoy!
No comments:
Post a Comment