安装iou支持
安装iou支持(允许GNS3在UNIX上支持iOS )
sudo dpkg --add-architecture i386 sudo apt update sudo apt install gns3-iou
图形网络模拟器-3(GNS3)是一种网络软件仿真器,可帮助网络专业人员设计和构建更好的网络,共享想法和建立连接。
GNS3可用于配置,测试和故障排除虚拟化网络以模拟现实世界硬件设备。
安装docker ce
默认情况下,GNS3在构建网络实验室时使用Docker容器。
由于Docker未安装在Ubuntu中,因此运行按照以下步骤安装Docker。
首先安装以下软件包:
sudo apt install apt-transport-https ca-certificates curl software-properties-common
然后添加官方Docker GPG密钥。
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
添加Docker存储库
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
安装Docker CE:
sudo apt update sudo apt install docker-ce
将用户帐户添加到Docker组。
sudo usermod -a -G docker $USER
要正确使用GNS3,我们必须将用户帐户添加到以下组ubridge libvirt kvm wireshark中。
sudo usermod -aG ubridge $USER sudo usermod -aG libvirt $USER sudo usermod -aG kvm $USER sudo usermod -aG wireshark $USER
通过注销重新登录或者重新启动系统来重新启动用户会话。
只需转到Activities - >仪表板并搜索GNS3,然后启动。
通过APT存储库安装GNS3
有多种方法可以在Ubuntu上安装GNS3.
最快的方式是将其从其官方PPA存储库安装。
运行以下命令以添加其PPA。
sudo add-apt-repository ppa:gns3/ppa sudo apt update sudo apt install gns3-gui gns3-server
当提示是否允许非root用户使用WireShark和Ubridge时,选择“yes”两次。
┌──────────────────────────┤ Configuring ubridge ├──────────────────────────┐ │ │ │ Ubridge can be installed in a way that allows members of the "ubridge" │ │ system group to capture packets. This is recommended over the │ │ alternative of running GNS3 directly as root, because less of the code │ │ will run with elevated privileges. │ │ │ │ All users members of "sudo" or "admin" group will be added to this group │ │ by default. │ │ │ │ Without that most GNS3 features will not work. │ │ │ │ Should non-superusers be able to run GNS3? │ │ │ │ <Yes> <No> │ │ │ └───────────────────────────────────────────────────────────────────────────┘
我们还应该接受以下内容:
┌─────────────────────┤ Configuring wireshark-common ├──────────────────────┐ │ │ │ Dumpcap can be installed in a way that allows members of the "wireshark" │ │ system group to capture packets. This is recommended over the │ │ alternative of running Wireshark/Tshark directly as root, because less │ │ of the code will run with elevated privileges. │ │ │ │ For more detailed information please see │ │ /usr/share/doc/wireshark-common/README.Debian.gz once the package is │ │ installed. │ │ │ │ Enabling this feature may be a security risk, so it is disabled by │ │ default. If in doubt, it is suggested to leave it disabled. │ │ │ │ Should non-superusers be able to capture packets? │ │ │ │ <Yes> <No> │ │ │ └───────────────────────────────────────────────────────────────────────────┘
日期:2020-07-07 20:57:22 来源:oir作者:oir