Aug 1st, 2012 by jrehmert
- Login as root and run the following (accept all dependencies):
yum install python python-devel xorg-x11-proto-devel libXext-devel gcc-c++ libXrender* PyQt4 PyQt4-devel qt qt-devel qemu-img libvirt
- Download the latest GNS3 source, unpack it to /opt, create symbolic link, create subfolders and set permissions:
wget http://iweb.dl.sourceforge.net/project/gns-3/GNS3/0.8.3/GNS3-0.8.3-src.tar.gz
tar -xvf GNS3-0.8.3-src.tar.gz /opt
cd /opt
ln -s GNS3-0.8.3-src GNS3
cd GNS3
mkdir Dynamips IOS Project Cache Temp
chmod o+rw Project Temp - Change directory into Dynamips, download the binary and make it executable:
cd Dynamips
wget http://voxel.dl.sourceforge.net/project/gns-3/Dynamips/0.2.8-RC3-community/dynamips-0.2.8-RC3-community-x86_64.bin
chmod +x dynamips*.bin - Download GNS3 icon from here and link in the right locations:
cd /opt/GNS3
wget http://www.rehmert.com/wp-content/uploads/2012/08/gns3-150x150.png
ln -s /opt/GNS3/gns3.png /usr/share/icons
ln -s /opt/GNS3/gns3.png /usr/share/pixmaps - Create a /usr/bin/gns3 with the following content:
#!/bin/bash
python "/opt/GNS3/gns3" - Create app for use in app menu and launcher creation
Create /usr/share/applications/gns3.desktop with the following contents:
[Desktop Entry]
Name=GNS3
Comment=GNS3
Exec=gns3
Icon=gns3.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Development
- Now you’ll find GNS3 listed in the Applications -> Programming menu location and can create application launchers in panels or on the desktop with ease…
- Edit /opt/GNS3/src/GNS3/Node/AbstractNode.py to comment out the following lines:
if QtCore.QT_VERSION >= 0x040600:
flags = flags | self.ItemSendsGeometryChanges
To avoid the following error message:
AttributeError: 'xxxxxxxxxxx' object has no attribute 'ItemSendsGeometryChanges'