Skip to content

Instantly share code, notes, and snippets.

@AJNOURI
Last active July 9, 2016 14:42
Show Gist options
  • Save AJNOURI/8f0d0e5dc9a3f4c3cc55a318e52071f3 to your computer and use it in GitHub Desktop.
Save AJNOURI/8f0d0e5dc9a3f4c3cc55a318e52071f3 to your computer and use it in GitHub Desktop.
Install GNS3 + Docker on Mint 18
#!/bin/bash
#### GNS3 v1.5.0 from pip3
sudo apt install -y python-pip python3-pip python-setuptools python3-setuptools python3-dev xvfb x11vnc vncviewer
sudo pip3 install pyqt5
sudo pip3 install gns3-gui==1.5.0
sudo pip3 install gns3-server==1.5.0
#### Docker
sudo apt-get install -y apt-transport-https
echo deb https://get.docker.com/ubuntu docker main | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo apt-get update && sudo apt-get -y install -y docker.io cgroup-lite
sudo usermod -a -G docker $USER
#### uBridge
sudo apt-get install -y libpcap-dev
git clone git://github.com/GNS3/ubridge.git
cd ubridge
make
sudo make install
sudo touch /usr/local/bin/ubridge.ini
#### Upgrade to v1.5.1
sudo apt-get -y install git
git clone https://github.com/GNS3/gns3-server
cd gns3-server/
git checkout v1.5.1
sudo python3 setup.py install
cd ..
git clone https://github.com/GNS3/gns3-gui
cd gns3-gui/
git checkout v1.5.1
sudo python3 setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment