CentOS6.5安裝GNS3

實(shí)驗(yàn)所需軟件下載地址:http://down.51cto.com/data/2092966

在來安等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站 網(wǎng)站設(shè)計(jì)制作定制網(wǎng)站建設(shè),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站制作,成都全網(wǎng)營銷,外貿(mào)網(wǎng)站制作,來安網(wǎng)站建設(shè)費(fèi)用合理。

1、實(shí)驗(yàn)環(huán)境

[root@CentOS1 ~]# head -1 /etc/issue

CentOS release 6.5 (Final)

[root@CentOS1 ~]# uname -r

2.6.32-431.el6.i686

2、準(zhǔn)備工作

2.1、安裝圖形界面

yum -y groupinstall "Desktop"

yum -y groupinstall "X Window System"

yum -y groupinstall "Chinese Support" 

startx

2.2、安裝VNC

yum -y install tigervnc*

vncserver :1

3、安裝依賴包

yum -y install PyQt4 sip python qt qt-x11

4、安裝dynamips

[root@CentOS1 src]# ls

c3640-jk9o3s-mz.124-7a.bin  dynamips-0.2.8-RC3-community.tar.gz  GNS3-0.8.3.1-src.tar.gz

[root@CentOS1 src]# tar zxvf dynamips-0.2.8-RC3-community.tar.gz

[root@CentOS1 src]# cd dynamips-0.2.8-RC3-community

[root@CentOS1 dynamips-0.2.8-RC3-community]# make

make -C stable

make[1]: Entering directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

Linking rom2c

make[1]: cc: Command not found

make[1]: *** [rom2c] Error 127

make[1]: Leaving directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

make: *** [dynamips.stable] Error 2

[root@CentOS1 dynamips-0.2.8-RC3-community]# yum -y install gcc

[root@CentOS1 dynamips-0.2.8-RC3-community]# make

make -C stable

make[1]: Entering directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

Linking rom2c

cc: /usr/lib/libelf.a: No such file or directory

../common/rom2c.c:16:20: error: libelf.h: No such file or directory

../common/rom2c.c: In function ‘main’:

../common/rom2c.c:25: error: ‘Elf32_Ehdr’ undeclared (first use in this function)

../common/rom2c.c:25: error: (Each undeclared identifier is reported only once

../common/rom2c.c:25: error: for each function it appears in.)

../common/rom2c.c:25: error: ‘ehdr’ undeclared (first use in this function)

../common/rom2c.c:26: error: ‘Elf32_Phdr’ undeclared (first use in this function)

../common/rom2c.c:26: error: ‘phdr’ undeclared (first use in this function)

../common/rom2c.c:27: error: ‘Elf’ undeclared (first use in this function)

../common/rom2c.c:27: error: ‘img_elf’ undeclared (first use in this function)

../common/rom2c.c:42: warning: implicit declaration of function ‘elf_version’

../common/rom2c.c:42: error: ‘EV_CURRENT’ undeclared (first use in this function)

../common/rom2c.c:42: error: ‘EV_NONE’ undeclared (first use in this function)

../common/rom2c.c:47: warning: implicit declaration of function ‘elf_begin’

../common/rom2c.c:47: error: ‘ELF_C_READ’ undeclared (first use in this function)

../common/rom2c.c:49: warning: implicit declaration of function ‘elf_errmsg’

../common/rom2c.c:49: warning: implicit declaration of function ‘elf_errno’

../common/rom2c.c:49: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’

../common/rom2c.c:53: warning: implicit declaration of function ‘elf32_getphdr’

../common/rom2c.c:55: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’

../common/rom2c.c:64: warning: implicit declaration of function ‘elf32_getehdr’

make[1]: *** [rom2c] Error 1

make[1]: Leaving directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

make: *** [dynamips.stable] Error 2

[root@CentOS1 dynamips-0.2.8-RC3-community]# yum -y install elfutils*

[root@CentOS1 dynamips-0.2.8-RC3-community]# make

make -C stable

make[1]: Entering directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

Linking rom2c

/usr/bin/ld: cannot find -luuid

collect2: ld returned 1 exit status

make[1]: *** [rom2c] Error 1

make[1]: Leaving directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

make: *** [dynamips.stable] Error 2

[root@CentOS1 dynamips-0.2.8-RC3-community]# yum -y install libuuid*

[root@CentOS1 dynamips-0.2.8-RC3-community]# make

make -C stable

make[1]: Entering directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

Linking rom2c

/usr/bin/ld: cannot find -lpcap

collect2: ld returned 1 exit status

make[1]: *** [rom2c] Error 1

make[1]: Leaving directory `/usr/local/src/dynamips-0.2.8-RC3-community/stable'

make: *** [dynamips.stable] Error 2

[root@CentOS1 dynamips-0.2.8-RC3-community]# yum -y install libpcap*

[root@CentOS1 dynamips-0.2.8-RC3-community]# make && make install

(若為64位系統(tǒng),先執(zhí)行export DYNAMIPS_LIB=lib64和export DYNAMIPS_ARCH=amd64在make&&make install )

5、安裝GNS3

[root@CentOS1 src]# tar zxvf GNS3-0.8.3.1-src.tar.gz 

[root@CentOS1 src]# cd GNS3-0.8.3.1-src

[root@CentOS1 GNS3-0.8.3.1-src]# python setup.py install

6、啟動(dòng)GNS3

6.1、添加IOS鏡像

CentOS6.5 安裝GNS3

CentOS6.5 安裝GNS3

6.2、測試dynamips

CentOS6.5 安裝GNS3

CentOS6.5 安裝GNS3


6.3、添加設(shè)備

CentOS6.5 安裝GNS3

注釋掉下面兩行,重啟GNS3即可

[root@CentOS1 GNS3-0.8.3.1-src]# vim /usr/lib/python2.6/site-packages/GNS3/Node/AbstractNode.py

 62         #if QtCore.QT_VERSION >= 0x040600:

 63         #    flags = flags | self.ItemSendsGeometryChanges

6.4、設(shè)置配置終端

CentOS6.5 安裝GNS3

CentOS6.5 安裝GNS3

網(wǎng)頁標(biāo)題:CentOS6.5安裝GNS3
分享URL:http://bm7419.com/article0/jcihio.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、微信小程序關(guān)鍵詞優(yōu)化、建站公司自適應(yīng)網(wǎng)站、商城網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)