前些天去dynagen.org查看怎么配置dynamips link to real Ethernet的问题(已解决,在我的另一篇文章里),无意间发在dynagen.org网站发现有GNS这么一个东东,好长时间没有用过dynamips了,看来发展的还满快的嘛。GNS的主要优势可能就是可视化的拓扑构架,可能是从VISIO借鉴过来的吧~

1>安装qt-x11-opensource-src
#tar xzvf qt-x11-opensource-src-4.3.2.tar.gz
#cd qt-x11-opensource-src-4.3.2
#./configure
prefix默认为/usr/local/Trolltech/Qt-4.3.2
#gmake
#gmake install

设置环境变量:
PATH=/usr/local/Trolltech/Qt-4.3.2/bin:$PATH
export PATH
QTDIR=/usr/local/Trolltech/Qt-4.3.2
export QTDIR

注:PyQt-x11-gpl与QT商业的Desktop版不兼容,只能使用免费的QT。切记!!


2>安装sip
#tar xzvf sip-4.7.1.tar.gz
#cd sip-4.7.1
#python configure
#make
#make install


3>安装PyQt
#tar xzvf PyQt-x11-gpl-4.3.1.tar.gz
#cd PyQt-x11-gpl-4.3.1
#python configure
#make
#make install


4>运行gns
#tar xjvf GNS3-0.3.2-src.tar.bz2
#cd GNS3-0.3.2-src
#./gns