雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 4714|回复: 13

GNS3 installation on ubuntu

  [复制链接]
发表于 2011-8-25 22:57:54 | 显示全部楼层 |阅读模式
                       
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 ... rc.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/download
Createthe 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 GNS3
Inthe 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/Project
Imagedirectory:
/opt/GNS3/IOS
Goto the Dynamips tab and look for the Executable path:
/opt/GNS3/Dynamips/dynamips-0.2.8-RC2-x86.bin
WorkingDirectory:
/opt/GNS3/tmp
Goto the Capture tab and look for the working directory for capturefiles:
/opt/GNS3/Project
Goto the Qemu tab and set the Path to qemu:
/usr/bin/qemu
Pathto 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.




该贴已经同步到 TD-Link的微博

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2011-8-25 23:25:38 | 显示全部楼层
星爷,你想哪样?
发表于 2011-8-25 23:26:46 | 显示全部楼层
ubuntu版GNS3。。。。。。。。。。
 楼主| 发表于 2011-8-26 09:54:52 | 显示全部楼层
zhenglidl 发表于 2011-8-26 00:14
其实不要这么麻烦,只要 sudo apt-get install gns3就行

不能定制自己喜欢的版本。。sudo apt-get install 不一定是新版本,有可能还是 0。6的   比如  在10。04下。。。
另个好处是 能更清楚的了解系统对软件的安装细节。。。。。
发表于 2011-8-26 10:12:35 | 显示全部楼层
TD-Link 发表于 2011-8-26 09:54
不能定制自己喜欢的版本。。sudo apt-get install 不一定是新版本,有可能还是 0。6的   比如  在10。04下 ...

厉害~
我来支持下,哈哈~
发表于 2011-8-26 11:12:10 | 显示全部楼层
看不懂        
发表于 2011-8-26 11:57:09 | 显示全部楼层

点评

黄金右脚。。。。  发表于 2011-8-26 19:00
发表于 2011-8-26 12:31:38 | 显示全部楼层
阿鬼,你还是说中文吧,虽然能看的懂,但是太长了
发表于 2011-8-26 14:00:00 | 显示全部楼层
呵呵,我中文不太好 :)
 楼主| 发表于 2011-8-26 18:57:00 | 显示全部楼层
jkrh9 发表于 2011-8-26 12:31
阿鬼,你还是说中文吧,虽然能看的懂,但是太长了

呵呵, 回去跟我老婆商量,减你的租金。。。。。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-12-23 02:37 , Processed in 0.099569 second(s), 22 queries , Gzip On.

快速回复 返回顶部 返回列表