Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.04 KB

README.md

File metadata and controls

33 lines (23 loc) · 2.04 KB

Bash Project Year 3 - GNS3 Installer script for Ubuntu 14.04 and derivatives (Work In Progress)

So this is my first attempt at a Bash scripting project and seeing as it is networking that I'm studying at the minute, I thought I could give back a little to new/future students on a similar path to my own. GNS3 is without a doubt THE tool aspiring sys admins should be using to emulate/test/troubleshoot network topologies, at least IMO it is!

[Running The Script]

First off, open the terminal and create a new directory (name of your choosing) with "mkdir new_directory". Next, cd into the newly created directory with "cd new_directory". This next step requires that git is installed, run "which git" which should output the path to the binary. If the output is empty that means you need to install git, run "sudo apt-get install git".

Once git is installed type "sudo git clone https://github.com/k1nk33/GNS3-Installer". Again, using the cd command, change directory to the newly created GNS3-Installer directory & make the script execuable by typing "sudo chmod u+x ./gns3-installer.sh". Now you can run the script with "sudo ./gns3-installer.sh" (sudo may prompt for your password which the script needs to install dependencies and create certain files/directories).

[Uninstall]

To uninstall run the script with "-U" switch e.g. "sudo ./gns3-installer.sh -U". You'll be presented with a menu that lets you choose which packages you'd like to remove. Only the packages that the script installs are up for grabs here, so Dynamips, VPCS and the GNS3 software can be removed using the uninstaller.

[Once Installed]

Unfortunately I can't (legally anyway) provide the Cisco IOS images required to emulate Cisco routers. My recommendations are not to go crazy downloading every IOS image you come across as that can quickly get out of hand. Instead focus on ones that provides the most features that you require. I have found that the 3725 & 3745 images suit most of my needs. I'm sure Google can help.\n

Happy hunting and I hope this made it a little easier on you. :)