It is currently Sun Dec 08, 2019 9:32 am


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Thu May 01, 2014 11:14 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
There are a few posts about installing GNS3v1 alpha on various OSs. Now that Ubuntu 14.04 LTS is out, I figure it should be the platform of choice (until the next LTS of Mint comes out). This version has only been tested on 32 bit - if you want to try on 64bit, you are welcome but probably won't work.
Attachment:
installGNS3v1.sh.tar.gz [9.27 KiB]
Downloaded 719 times

Edit 2014-05-05: Script updated to allow downloading of the ltest release version or the latest developer version
2014-09-27: Several fixes and improvements. See below

2014-10-22 - this post has been superseded by this post on the official new sitewhere an even later version of the script can be found. This post will no longer have this script updated.


It will probably work on other versions of Ubuntu/Mint/Debian as well - but don't ask for help

So this install script does the following - you get an interactive install, so you can opt out of any

  1. Building RedNecar's recommended directory structure will create:
    $HOME/GNS3
    $HOME/GNS3/Images
    $HOME/GNS3/Images/IOS
    $HOME/GNS3/Images/IOU
    $HOME/GNS3/Images/ASA
    $HOME/GNS3/Images/Qemu
    $HOME/GNS3/Images/Junos
    $HOME/GNS3/Projects
    $HOME/GNS3/Source
  2. Install python3-pyqt4 package will also pull in python3-sip package as a dep, which is also needed for the GUI.
  3. Install latest Dynamips code from github OR from repository
  4. Install pip and setuptools.
    pip is used to get some pre-req python modules for GNS3...
  5. Install iouyap - This binary is in charge of all the networking side of IOU
    ref: topic8966.html
    -[Required to run IOU images]
  6. Fix link to libssl1.0.0 -Ref: topic8988.html
  7. Install SSH Server [Optional]
    - useful if you wish to access your VM securely
  8. Install Wireshark
  9. Install VPCS
  10. Install BBE - a hex editor utility you might find useful
  11. Install ROXTerm - a lightlweight terminal application that supports tabs
  12. Create IOURC file (you'll have to add your own licence)
    and check hosts file
  13. Download and install latest GNS3 server code from github
  14. Download and install latest GNS3 GUI code from github

Note - it will NOT bypass your IOU licencing requirements, but you might get some hints if you read the comments in the script



_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Fri May 02, 2014 4:14 pm 
Offline

Joined: Thu Apr 10, 2014 8:58 pm
Posts: 30
interesting you said 14.04 64bit will not work?? Any reason why? I am having trouble getting it working on 14.04 64 bit and wondering if that is why?


Top
 Profile  
 
 Post subject: Re: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Fri May 02, 2014 6:23 pm 
Offline

Joined: Tue Apr 01, 2014 2:11 pm
Posts: 43
Location: Ohio, US
lordhammer wrote:
interesting you said 14.04 64bit will not work?? Any reason why? I am having trouble getting it working on 14.04 64 bit and wondering if that is why?

See my post in the Ubuntu 14.04 install guide thread, here: topic9030.html
If you look a few posts past the OP, you'll see my posts where I explain the additional steps that are needed for 64-bit.

_________________
Joe Amen - Enterprise IT Consultant
CompTIA A+, Net+
CCNA in progress


Top
 Profile  
 
 Post subject: Re: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Sat May 03, 2014 8:20 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
@ josephraa

I actually started planning to do it on a 64bit Ubuntu 14.04 but also had problems, (can't remember precisely what) and I looked at all the other posts on this forum where people were having difficulties getting GNS3v1 alpha to work on 64bit, and I know the problems I had (especially with Qemu) on a previous 64bit install, so I built it on a 32bit system.

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Mon May 05, 2014 12:04 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
I have updated the script so that it now allows downloading of the latest release version or the latest developer version.

See original post

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Sat Sep 27, 2014 6:37 am 
Offline

Joined: Tue Dec 01, 2009 3:27 pm
Posts: 49
rednectar wrote:
I have updated the script so that it now allows downloading of the latest release version or the latest developer version.

See original post


I tried to install beta3 to Kubuntu 14.04 64-bit with no success :(. I followed instructions from the forum, my last hope is you rednectar to update the script working with 64-bit :).

update: i made it using this link
http://www.youtube.com/watch?v=LthM3lZX0Bc


Top
 Profile  
 
 Post subject: Re: Install script for GNS3v1 on Ubuntu 14.04 LTS
PostPosted: Sat Sep 27, 2014 10:32 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Another update:
The download link is in the original post

Here is the history:
Code:
###############################################################################
#      History
###############################################################################
# v1.0 - First version based mainly on http://forum.gns3.net/post27906.html
# v1.1 - Developer version options, uses git instead of wget.
#       wget options now get the latest RELEASE version
#        Fixed after alpha3 broke v1.0 by including --version option
# v1.2   Fixed dynamips install
#        Fixed python installer to ALWAYS include: build-essential; libelf-dev,   
#        uuid-dev, libpcap-dev, python3-dev, and python3-pyqt4
#        installs vboxwrapper, virtualbox and qemu if not installed
# v1.3   2014-08-18
#        Added Daniel Lintott's gns3-convertor to pip install
#        See http://forum.gns3.net/post35824.html
# v1.4   2014-08-20
#        Now upgrades pip packages if already installed
#        Added --version and --Full options
# v1.5   2014-08-23
#        Avoid "Press <Enter> to continue if --full or --Full" 
#       Enhanced --version output
# v1.6   2014-09-27
#        Typo in usage expression (from ./installGNS3v1.sh --help)
#        Fix bug where directories didn't get created on first run
#        Fix bug where vboxwrapper didn't install
#        Fix bug where VPCS didn't get upgraded of version 0.5b0 was detected
#        Create launch icons for desktop
#        Improved error handling (much more to do)



_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO