文章列表(關注微信公衆號EmulatedLab,及時獲取文章以及下載連接)html
一、EVE-NG介紹(EVE-NG最好用的模擬器,仿真環境時代來臨!)
python
二、EVE-NG安裝過程介紹mysql
三、EVE-NG導入Dynamips和IOLlinux
四、EVE-NG導入QEMU鏡像sql
五、EVE-NG關聯SecureCRT,VNC,Wiresharkubuntu
六、EVE-NG網卡橋接,帶您走進更高級的實驗服務器
七、EVE-NG硬盤擴容,存儲海量鏡像微信
八、EVE-NG定製我的鏡像,腳本快速導入ide
九、EVE-NG容納H3C、Huawei,吞併GNS3ui
十、EVE-NG鏡像來啦!打造國內最大的EVE交流圈
十一、EVE-NG鏡像再次來襲,無所不能!
十二、EVE-NG鏡像增持,走上神壇!
1三、EVE-NG內存不夠?教您擴大虛擬內存!
1四、EVE-NG更新方便,不費勁兒!
1五、EVE-NG小衆鏡像,助力嚐鮮!
1六、EVE-NG體驗Seafile,拋棄10K/s網盤
1七、......
EVE-NG更新方便,不費勁兒!
目前個人EVE-NG版本是2.0.3-59
【在線更新】
因爲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
也能夠先下載下來而後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
注意:
若是您在國外,那麼我很是建議您使用在線更新。若是您在國內,我仍是建議您使用離線更新,請看下面的介紹。
【離線更新】
1、查看與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包列表以下:
對比一下只有eve-ng有最新版,eve-ng_2.0.3-60
2、將離線包上傳到EVE
3、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:~#
4、更新
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:~#
5、驗證
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:~#
固然,想更新dynamips、vpcs等其餘包,也能夠用一樣方法!這裏不詳細介紹了……
……其餘更新包已經所有上傳到QQ羣中……
EmulatedLab QQ羣,期待您的加入!
關注微信公衆號EmulatedLab,及時獲取更新文章和下載連接!
本篇於2017-05-07在微信公衆號EmulatedLab上發表
Maosen | 森