文章列表(关注微信公众号EmulatedLab,及时获取文章以及下载链接)
1、EVE-NG介绍(EVE-NG最好用的模拟器,仿真环境时代来临!)
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、......
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
注意:
如果您在国外,那么我非常建议您使用在线更新。如果您在国内,我还是建议您使用离线更新,请看下面的介绍。
【离线更新】
一、查看与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
二、将离线包上传到EVE
三、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:~#
五、验证
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群中……
QQ群二维码,期待您的加入!
关注微信公众号EmulatedLab,及时获取更新文章和下载链接!
本篇于2017-05-07在微信公众号EmulatedLab上发表
Maosen | 森
转载于:https://blog.51cto.com/sms1107/1928702