TD-Link 发表于 2011-8-25 22:57:54

GNS3 installation on ubuntu

                        First,you have to install the dynagen and python-qt4 packages.
sudo apt-get install dynagen python-qt4
Afterthat, you have to download GNS3 source for Linux. You can eitherdownload it from their website or you can use the terminal todownload it for you.cd /optsudo wget http://downloads.sourceforge.net/gns-3/GNS3-0.7.4-src.tar.bz2?downloadsudo tar -xjvf GNS3-0.7.4-src.tar.bz2?downloadsudo mv GNS3-0.7.4-src /opt/GNS3
Duringmy installation, the latest version is v0.7.4. Check this websitefirst to see what is the latest version: http://www.gns3.net/downloadCreatethe following directories inside the GNS3 directory: Dynamips, IOS,Project, Cache and tmp.cd /opt/GNS3sudo mkdir Dynamipssudo mkdir IOSsudo mkdir Projectsudo mkdir Cachesudo mkdir tmp
AddRead and Write permissions for the other users to the followingdirectories: Project, tmp and IOS.sudo chmod o+rw -R ./Projectsudo chmod o+rw -R ./tmpsudo chmod o+rw -R ./IOS
DownloadDynamips and make it executable:cd Dynamipssudo wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-x86.binsudo chmod +x ./dynamips-0.2.8-RC2-x86.bin
Thelatest version available is 0.2.8. Check this website first to seewhat is the latest version: http://www.ipflow.utc.fr/dynamips/Installthe Qemu package.sudo apt-get install qemu
Thatends the installation of GNS3. The next steps will tell you how toconfigure GNS3.Createa launcher for GNS3Inthe Desktop, create a new launcher and use the following command:python "/opt/GNS3/gns3"Oryou can use the Main Menu configuration to add one.LaunchGNS3 and go to Edit> Preferences > Terminal Settings > Preconfigurated TerminalCommands**Gnome Terminal (Linux)Youwill see that the Terminal Command will be similar to this:gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &Inthe General Settings tab, look for Paths:Configurethe Project directory:/opt/GNS3/ProjectImagedirectory:/opt/GNS3/IOSGoto the Dynamips tab and look for the Executable path:/opt/GNS3/Dynamips/dynamips-0.2.8-RC2-x86.binWorkingDirectory:/opt/GNS3/tmpGoto the Capture tab and look for the working directory for capturefiles:/opt/GNS3/ProjectGoto the Qemu tab and set the Path to qemu:/usr/bin/qemuPathto qemu-img/usr/bin/qemu-img
That’sit. You now have installed and configured GNS3 to run on Ubuntu. Youjust have to own an IOS to start setting up your routers.



http://bbs.spoto.net/xwb/images/bgimg/icon_logo.png 该贴已经同步到 TD-Link的微博

紫川凌 发表于 2011-8-25 23:25:38

星爷,你想哪样?

紫川凌 发表于 2011-8-25 23:26:46

ubuntu版GNS3。。。。。。。。。。-78-

TD-Link 发表于 2011-8-26 09:54:52

zhenglidl 发表于 2011-8-26 00:14 static/image/common/back.gif
其实不要这么麻烦,只要 sudo apt-get install gns3就行

不能定制自己喜欢的版本。。sudo apt-get install 不一定是新版本,有可能还是 0。6的   比如在10。04下。。。
另个好处是 能更清楚的了解系统对软件的安装细节。。。。。--

fanjianhua 发表于 2011-8-26 10:12:35

TD-Link 发表于 2011-8-26 09:54 static/image/common/back.gif
不能定制自己喜欢的版本。。sudo apt-get install 不一定是新版本,有可能还是 0。6的   比如在10。04下 ...

厉害~
我来支持下,哈哈~

quesj 发表于 2011-8-26 11:12:10

看不懂      -sweat-

Kevin_Liu 发表于 2011-8-26 11:57:09

-woniu7--woniu7--woniu7-

jkrh9 发表于 2011-8-26 12:31:38

阿鬼,你还是说中文吧,虽然能看的懂,但是太长了--

tea 发表于 2011-8-26 14:00:00

呵呵,我中文不太好 :)

TD-Link 发表于 2011-8-26 18:57:00

jkrh9 发表于 2011-8-26 12:31 static/image/common/back.gif
阿鬼,你还是说中文吧,虽然能看的懂,但是太长了

呵呵, 回去跟我老婆商量,减你的租金。。。。。-81-
页: [1] 2
查看完整版本: GNS3 installation on ubuntu