Hi for all!
In few lines I explain the steps to install the last version of GNS3 in the stable version of Debian (Squeeze) with Qemu support.
1. DependenciesIn first time, we needs some dependencies:
python-qt,
libncurses-dev,
libpcap-dev,
libsdl-dev,
lib1g-dev and
patch.
Apt-get and
aptitude resolve the rest of dependencies.
2. Download packets2.1-
GNS3 0.8.3 Source2.2- Dynamips 0.2.8-RC3
32bits and
64bits2.3-
Qemu 0.11.0 and
Ollive patch3. Dynamips 0.2.8-RC33.1- Create folder:
mkdir /opt/dynamips3.2- Copy binay file:
cp /path/dynamips-0.2.8-RC3-X /opt/3.3- Set execute permission:
chmod +x /opt/dynamips/dynamips-0.2.8-RC3-XIf you need, change owner user with the command:
chown -R user:user /opt/dynamips4. GNS3 0.8.34.1- Move file:
mv GNS3-0.8.3-src.tar.gz /opt4.2- Extract it:
tar xvfz GNS3-0.8.3-src.tar.gz4.3- Delete original file:
rm -rf GNS3-0.8.3-src.tar.gz4.4- Set execute permission to
gns3.pyw and
qemuwrapper.py files:
chmod +x /opt/GNS3-0.8.3-src/gns3.pyw and
chmod +x /opt/GNS3-0.8.3-src/qemuwrapper/qemuwrapper.pyIf you need, change owner user with the command:
chown -R user:user /opt/GNS35. Qemu 0.11.05.1- Extract compress file:
tar xvfz qemu-0.11.0.tar.gz5.2- Move patch file:
mv qemu-0.11.0-olive.patch qemu-0.11.05.3- Change directory and apply patch file:
cd qemu-0.11.0 and
patch -p1 -i qemu-0.11.0-olive.patch5.4- Configure compilation:
5.4.1- For 32 bits:
./configure --target-list=i386-softmmu5.4.2- For 64 bits:
./configure --target-list=x86_64-softmmu5.5- Compile:
make5.6- Install, need superuser rights:
make install5.7- Delete sources files:
rm -rf qemu-0.11.0Its create qemu binaries in
/usr/local/bin.
With this steps, we have the last version of GNS3 and Dynamips works with Qemu support. I have problems with some Olive images and later post I wanna explain it.
Sorry for languaje, I don't like translators... Grettings!
Brixton Cat.