Created
June 13, 2019 19:34
-
-
Save goffinet/c1890cf467702f7821fc9c4f28452672 to your computer and use it in GitHub Desktop.
gns3 installation on Centos7 quick and dirty script
This file contains hidden or 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 | |
sudo yum -y install epel-release | |
sudo yum repolist | |
sudo yum -y install gcc gcc-c++ openssl-devel bzip2-devel \ | |
python36 python36-devel python36-setuptools python36-tools \ | |
elfutils-libelf-devel libpcap-devel cmake glibc-static qemu telnet putty \ | |
qt5-qtbase qt5-qtbase-devel qt5-qtsvg qt5-qtsvg-devel \ | |
wireshark-gnome openvpn | |
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6 | |
pip3 install gns3-gui --user | |
pip3 install sip --user | |
pip3 install pyqt5 --user | |
cat << EOF >> ./gns3.desktop | |
[Desktop Entry] | |
Name=GNS3 | |
Comment=Graphical Network Simulator | |
Exec=gns3 | |
Terminal=false | |
Type=Application | |
StartupNotify=true | |
Icon=$HOME/GNS3/symbols/gns3.ico | |
Categories=Development; | |
MimeType=application/x-gns3; | |
EOF | |
sudo cp ./gns3.desktop /usr/share/applications/gns3.desktop | |
# sudo openvpn file.ovpn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment