Last active
September 11, 2017 12:57
-
-
Save AJNOURI/7db7239d208c41d0727d17068e1c8838 to your computer and use it in GitHub Desktop.
Script to install GNS3 on Xenial Openstack instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Install GNS3 | |
sudo add-apt-repository ppa:gns3/ppa | |
sudo apt-get update | |
sudp apt-get install -y python3-pip python-pip | |
### Install pyqt | |
pip3 install pyqt5 | |
sudo apt-get install -y curl | |
sudo apt-get install -y gns3-gui | |
sudo apt-get install -y gns3-server | |
# Add Oficial docker repository GPG signature | |
### Install Docker | |
# https://docs.docker.com/engine/installation/linux/ubuntu/ | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# Add apt repository sources | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
# Install Docker CE | |
sudo apt-get install -y docker-ce | |
# Docker without sudo | |
sudo groupadd docker | |
sudo gpasswd -a $USER docker | |
# Restart needed after docker installation | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment