溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

14.EVE-NG更新方便,不費勁兒!

發(fā)布時間:2020-07-06 18:57:05 來源:網絡 閱讀:9829 作者:sms1107 欄目:MySQL數據庫

文章列表(關注微信公眾號EmulatedLab,及時獲取文章以及下載鏈接)

1、EVE-NG介紹(EVE-NG最好用的模擬器,仿真環(huán)境時代來臨?。?/span>

2、EVE-NG安裝過程介紹

3、EVE-NG導入Dynamips和IOL

4、EVE-NG導入QEMU鏡像

5、EVE-NG關聯SecureCRT,VNC,Wireshark

6、EVE-NG網卡橋接,帶您走進更高級的實驗

7、EVE-NG硬盤擴容,存儲海量鏡像

8、EVE-NG定制個人鏡像,腳本快速導入

9、EVE-NG容納H3C、Huawei,吞并GNS3

10、EVE-NG鏡像來啦!打造國內最大的EVE交流圈

11、EVE-NG鏡像再次來襲,無所不能!

12、EVE-NG鏡像增持,走上神壇!

13、EVE-NG內存不夠?教您擴大虛擬內存!

14、EVE-NG更新方便,不費勁兒!

15、EVE-NG小眾鏡像,助力嘗鮮!

16、EVE-NG體驗Seafile,拋棄10K/s網盤

17、......

點擊查看配套視頻教程!



14.EVE-NG更新方便,不費勁兒!



EVE-NG更新方便,不費勁兒!



目前我的EVE-NG版本是2.0.3-59

14.EVE-NG更新方便,不費勁兒!

?

?


【在線更新】

?


由于EVE-NG服務器在國外,你們懂的,速度很慢,不建議用在線更新!

?


官方更新方法如下:


apt-get update????

apt-get upgrade (更新底層ubuntu可用的更新包,這里面不僅包含了eve-ng,也包含其他更新包)

?

root@eve-ng:~#apt-get update

Get:1 http://security.ubuntu.com/ubuntuxenial-security InRelease [102 kB]????

Get:2 http://us.archive.ubuntu.com/ubuntuxenial InRelease [247 kB]???????????

Get:3 http://us.archive.ubuntu.com/ubuntuxenial-updates InRelease [102 kB]???

Get:4 http://security.ubuntu.com/ubuntuxenial-security/main amd64 Packages [257 kB]

……

……

…...

?

root@eve-ng:~#apt-get upgrade

Reading package lists... Done

Building dependency tree??????

Reading state information... Done

Calculating upgrade... Done

The following packages have been kept back:

? linux-headers-generic linux-headers-virtual linux-p_w_picpath-virtual linux-virtual

The following packages will be upgraded:

??apt apt-utils distro-info-data dpkg dpkg-dev eve-ngghostscript libapt-inst2.0 libapt-pkg5.0 libdns-export162

? libdpkg-perl libfreetype6 libgs9 libgs9-common libicu55 libisc-export160 libnspr4 libnss3 libnss3-nssdb libsystemd0

? libudev1 libxslt1.1 linux-libc-dev login mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server

? mysql-server-5.7 mysql-server-core-5.7 ntp openvswitch-common openvswitch-pki openvswitch-switch

? openvswitch-testcontroller passwd python3-software-properties software-properties-common systemd systemd-sysv udev

41 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Need to get 68.1 MB of archives.

After this operation, 65.5 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

?

總共有41個包,如果更新全部,那速度非常慢。


所以我們可以只更新eve-ng,命令:apt-get install eve-ng

14.EVE-NG更新方便,不費勁兒!

也可以先下載下來然后share給其他人。命令:apt-get download eve-ng

?

?

如果您想提高速度,更新Ubuntu所有可用包,可以換國內的源。下面介紹一個最簡單的方法,將Ubuntu默認的源從us改成cn,更新速度能快一點,當然,這僅僅只能提高非eve-ng的更新速度,對eve-ng相關的更新包無效!

root@eve-ng:~# sed -i "s/us.archive/cn.archive/g" /etc/apt/sources.list???? #替換us,改為cn

root@eve-ng:~#

?

root@eve-ng:~# apt-get update

Get:1 http://cn.archive.ubuntu.com/ubuntuxenial InRelease [247 kB]

Get:2 http://cn.archive.ubuntu.com/ubuntuxenial-updates InRelease [102 kB]???

Get:3 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]

Get:4 http://cn.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]

Get:5 http://security.ubuntu.com/ubuntuxenial-security InRelease [102 kB]????

Get:6 http://cn.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]?

Get:7 http://cn.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B]

Get:8 http://cn.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B]

Get:9 http://cn.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B]

Get:10 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]

Hit:11 http://www.eve-ng.net/repo xenial InRelease????????????????????????????

Get:12 http://cn.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]

Get:13 http://cn.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]

Get:14 http://cn.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]

Get:15 http://cn.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]

Get:16 http://cn.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]

Get:17 http://cn.archive.ubuntu.com/ubuntuxenial-updates/main amd64 Packages [527 kB]

Get:18 http://cn.archive.ubuntu.com/ubuntuxenial-updates/main i386 Packages [513 kB]

Get:19 http://cn.archive.ubuntu.com/ubuntuxenial-updates/main Translation-en [214 kB]

Get:20 http://cn.archive.ubuntu.com/ubuntuxenial-updates/restricted amd64 Packages [7,776 B]

Get:21 http://cn.archive.ubuntu.com/ubuntuxenial-updates/restricted i386 Packages [7,792 B]

Get:22 http://cn.archive.ubuntu.com/ubuntuxenial-updates/restricted Translation-en [2,548 B]

Get:23 http://cn.archive.ubuntu.com/ubuntuxenial-updates/universe amd64 Packages [460 kB]

Get:24 http://cn.archive.ubuntu.com/ubuntuxenial-updates/universe i386 Packages [446 kB]

Get:25 http://cn.archive.ubuntu.com/ubuntuxenial-updates/universe Translation-en [180 kB]

Get:26 http://cn.archive.ubuntu.com/ubuntuxenial-updates/multiverse amd64 Packages [8,916 B]

Get:27 http://cn.archive.ubuntu.com/ubuntuxenial-updates/multiverse i386 Packages [7,712 B]

Get:28 http://cn.archive.ubuntu.com/ubuntuxenial-updates/multiverse Translation-en [4,136 B]

Fetched 25.6 MB in 22s (1,125 kB/s)???????????????????????????????????????????

Reading package lists... Done

?

?

?


注意:

如果您在國外,那么我非常建議您使用在線更新。如果您在國內,我還是建議您使用離線更新,請看下面的介紹。

?

?

?

?

【離線更新

?

?

一、查看與eve-ng相關的包都有哪些

?

root@eve-ng:~# dpkg -l | grep eve-ng

ii? eve-ng?????????????????????????????? 2.0.3-59?????????????????????????????????? amd64??????? A new generation software for networking labs.

ii? eve-ng-dynamips????????????????????? 2.0.2-2??????????????????????????????????? amd64??????? Dynamips files for Eve-NG.

ii? eve-ng-guacamole???????????????????? 2.0.1-60?????????????????????????????????? amd64??????? Guacamole for UNetLab/EVE-NG

ii? eve-ng-qemu????????????????????????? 2.0.2-16?????????????????????????????????? amd64??????? QEMU files for Eve-NG.

ii? eve-ng-schema ???????????????????????2.0.1-60?????????????????????????????????? amd64??????? Database schema for UNetLab/EVE-NG

ii? eve-ng-vpcs????????????????????????? 1.0-eve-ng???????????????????????????????? amd64??????? vpcs Eve-NG compatible

ii? linux-headers-4.4.14-eve-ng-ukms+??? 4.4.14-eve-ng-ukms-brctl?????????????????? amd64??????? Header files related to Linux kernel, specifically,

ii? linux-p_w_picpath-4.4.14-eve-ng-ukms+????? 4.4.14-eve-ng-ukms-brctl?????????????????? amd64??????? Linux kernel binary p_w_picpath for version 4.4.14-eve-ng-ukms+

root@eve-ng:~#?

?

目前,最新版deb包列表如下:

14.EVE-NG更新方便,不費勁兒!

?

對比一下只有eve-ng有最新版,eve-ng_2.0.3-60

?

?

?

二、將離線包上傳到EVE

?

14.EVE-NG更新方便,不費勁兒!

?

三、SSH登錄,查看當前版本

?

root@eve-ng:~# dpkg -l eve-ng

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name?????????? Version????? Architecture Description

+++-==============-============-============-=================================

ii? eve-ng????????2.0.3-59???? amd64??????? A new generation software for net

root@eve-ng:~#

?

?

四、更新

root@eve-ng:~# ls???

eve-ng_2.0.3-60_amd64.deb

root@eve-ng:~# dpkg -i eve-ng_2.0.3-60_amd64.deb

(Reading database ... 92388 files and directories currently installed.)

Preparing to unpack eve-ng_2.0.3-60_amd64.deb ...

Checking MySQL... done

Unpacking eve-ng (2.0.3-60) over (2.0.3-59) ...

Setting up eve-ng (2.0.3-60) ...

Processing triggers for ureadahead (0.100.0-19) ...

root@eve-ng:~#

?

14.EVE-NG更新方便,不費勁兒!

?

?

五、驗證

?

root@eve-ng:~# dpkg -l eve-ng

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name?????????? Version????? Architecture Description

+++-==============-============-============-=================================

ii? eve-ng????????2.0.3-60???? amd64??????? A new generation software for net

root@eve-ng:~#

?

?

14.EVE-NG更新方便,不費勁兒!

?

?

當然,想更新dynamips、vpcs等其他包,也可以用同樣方法!這里不詳細介紹了……

?

?

……其他更新包已經全部上傳到QQ群中……

?



EmulatedLab QQ群,期待您的加入!

關注微信公眾號EmulatedLab,及時獲取更新文章和下載鏈接!


本篇于2017-05-07在微信公眾號EmulatedLab上發(fā)表

Maosen | 森


向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI