红帽 linux 安装gns3,Ubuntu 14.04 LTS 64-bit安装GNS3 1.3.7

在Ubuntu 14.04 LTS 64-bit安装GNS3 1.3.7过程,全英文。

Updated for GNS3 version 1.3.7

Please NOTE: This document has been updated for GNS3 1.3.7 and is no longer applicable to earlier versions of GNS3.

GNS3 runs great on Ubuntu, and it's easy to install. This quick tutorial provides the steps to install GNS3, with IOU support, on Ubuntu 14.0.4.1 LTS 64-bit. When finished, you'll still have to install an IOU license file (for IOU support), IOU image files, and IOS image files; GNS3 does not provide any of those files, so you'll have to acquire them on your own.

e27d606ec36eae7a6d371c74d5692631.png

--- GNS3 is installed from a Terminal command line ---

# - After opening a terminal, I recommend changing to your user directory.

$ cd ~

# - Run apt-get update

$ sudo apt-get  update

# - Install GNS3 Python dependencies

$ sudo apt‐get install python3‐setuptools

$ sudo apt‐get install python3‐pyqt4

$ sudo apt‐get install python3‐ws4py

$ sudo apt‐get install python3‐netifaces

#- Install Dynmips 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 (Download )

$ unzip GNS3-1.3.7-source.zip

dynamips-0.2.14.zip  gns3-server-1.3.7.zip  vpcs-0.6.zip

gns3-gui-1.3.7.zip  iouyap-0.95.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.7.zip

$ cd gns3-server-1.3.7

$ sudo python3 setup.py install

$ cd ..

# - Install GNS3 GUI

$ unzip gns3-gui-1.3.7.zip

$ cd gns3-gui-1.3.7

$ 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

$ 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

$ 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.zip

$ cd vpcs-0.6/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

Add your IOU License file, IOU/IOS images, and you're ready to create  projects, so launch GNS3 and get started!

# - Start GNS3

$ gns3

That's it. Have fun!

0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值