안녕하세요.
오늘은 [2024][EVE-NG #17] Upgrade EVE-NG version입니다.
1. 공식 홈페이지입니다.
https://www.eve-ng.net/index.php/how-to-upgrade-eve-community-to-the-newest-version/
현재 EVE-NG community 최신 version은 6.2.0-3입니다.
2. 현재 사용 중인 EVE-NG Community version 확인하기
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 6.2.0-2 amd64 A new generation software for networking labs. root@eve-ng:~# |
3. Update/Upgrade steps
3-1 필요 없는 Package를 삭제합니다.
root@eve-ng:~# apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@eve-ng:~# |
3-2 Disk 용량을 확인합니다.
root@eve-ng:~# df -h Filesystem Size Used Avail Use% Mounted on tmpfs 13G 1.5M 13G 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 244G 15G 218G 7% / tmpfs 63G 0 63G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 63G 0 63G 0% /run/qemu /dev/sda2 2.0G 286M 1.6G 16% /boot tmpfs 13G 4.0K 13G 1% /run/user/0 root@eve-ng:~# |
3-3 인터넷 통신이 되는지 확인합니다.
root@eve-ng:~# ping google.com PING google.com (74.125.130.101) 56(84) bytes of data. 64 bytes from sb-in-f101.1e100.net (74.125.130.101): icmp_seq=1 ttl=57 time=2.01 ms 64 bytes from sb-in-f101.1e100.net (74.125.130.101): icmp_seq=2 ttl=57 time=2.10 ms 64 bytes from sb-in-f101.1e100.net (74.125.130.101): icmp_seq=3 ttl=57 time=2.06 ms 64 bytes from sb-in-f101.1e100.net (74.125.130.101): icmp_seq=4 ttl=57 time=2.16 ms 64 bytes from sb-in-f101.1e100.net (74.125.130.101): icmp_seq=5 ttl=57 time=2.33 ms 64 bytes from sb-in-f101.1e100.net (74.125.130.101): icmp_seq=6 ttl=57 time=2.17 ms ^C --- google.com ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5009ms rtt min/avg/max/mdev = 2.005/2.138/2.334/0.104 ms root@eve-ng:~# |
3-4 업데이트 항목을 확인하고 다운로드합니다.
root@eve-ng:~# apt update Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] Get:3 http://www.eve-ng.net/jammy jammy InRelease [1,456 B] Get:4 http://www.eve-ng.net/jammy jammy/main amd64 Packages [10.9 kB] Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,525 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [261 kB] Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11.4 kB] Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1,937 kB] Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [330 kB] Get:11 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [520 B] Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [859 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] Get:14 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [166 kB] Get:15 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [16.8 kB] Get:16 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.2 kB] Get:17 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7,588 B] Get:18 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B] Get:19 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1,395 kB] Get:20 http://archive.ubuntu.com/ubuntu jammy/main Translation-en [510 kB] Get:21 http://archive.ubuntu.com/ubuntu jammy/main amd64 c-n-f Metadata [30.3 kB] Get:22 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [129 kB] Get:23 http://archive.ubuntu.com/ubuntu jammy/restricted Translation-en [18.6 kB] Get:24 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 c-n-f Metadata [488 B] Get:25 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB] Get:26 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5,652 kB] Get:27 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB] Get:28 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB] Get:29 http://archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB] Get:30 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8,372 B] Get:31 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,734 kB] Get:32 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [319 kB] Get:33 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [16.1 kB] Get:34 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,993 kB] Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [339 kB] Get:36 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [520 B] Get:37 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,087 kB] Get:38 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [251 kB] Get:39 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [22.1 kB] Get:40 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [43.2 kB] Get:41 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [10.8 kB] Get:42 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [472 B] Get:43 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [67.1 kB] Get:44 http://archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [11.0 kB] Get:45 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B] Get:46 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B] Get:47 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.2 kB] Get:48 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.3 kB] Get:49 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [644 B] Get:50 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B] Fetched 34.2 MB in 31s (1,094 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 118 packages can be upgraded. Run 'apt list --upgradable' to see them. root@eve-ng:~# |
3-5 업그레이드를 시작합니다.
Do you want to contunue? [Y/n] Y를 선택합니다.
root@eve-ng:~# apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done Get more security updates through Ubuntu Pro with 'esm-apps' enabled: libavcodec58 libmagickwand-6.q16-6 libavutil56 libswscale5 libmagickcore-6.q16-6 libswresample3 imagemagick-6-common libavformat58 libde265-0 Learn more about Ubuntu Pro at https://ubuntu.com/pro The following NEW packages will be installed: linux-headers-5.15.0-112 linux-headers-5.15.0-112-generic linux-image-5.15.0-112-generic linux-modules-5.15.0-112-generic linux-modules-extra-5.15.0-112-generic ubuntu-pro-client The following packages have been kept back: python3-update-manager update-manager-core The following packages will be upgraded: apt apt-utils bash bind9-dnsutils bind9-host bind9-libs binutils binutils-common binutils-x86-64-linux-gnu bsdextrautils bsdutils cloud-init coreutils cpio curl distro-info-data dpkg eject ethtool eve-ng fdisk firmware-sof-signed ghostscript git git-man intel-microcode klibc-utils landscape-common less libapt-pkg6.0 libarchive13 libbinutils libblkid1 libc-bin libctf-nobfd0 libctf0 libcurl3-gnutls libcurl4 libexpat1 libfdisk1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgif7 libglib2.0-0 libglib2.0-bin libglib2.0-data libgnutls30 libgpgme11 libgs9 libgs9-common libklibc libldap-2.5-0 libldap-common libmount1 libnghttp2-14 libnspr4 libnss3 libsmartcols1 libssl3 libtiff5 libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-sys1 libtss2-tcti-cmd0 libtss2-tcti-device0 libtss2-tcti-mssim0 libtss2-tcti-swtpm0 libuuid1 libuv1 libvpx7 libvte-2.91-0 libvte-2.91-common libxml2 linux-firmware linux-generic linux-headers-generic linux-image-generic linux-libc-dev locales mount mysql-client-8.0 mysql-client-core-8.0 mysql-server mysql-server-8.0 mysql-server-core-8.0 openjdk-11-jdk openjdk-11-jdk-headless openjdk-11-jre openjdk-11-jre-headless openssh-client openssh-server openssh-sftp-server openssl python3-cryptography python3-idna python3-jinja2 qemu-block-extra qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils snapd tcpdump tzdata ubuntu-advantage-tools ubuntu-pro-client-l10n update-notifier-common util-linux uuid-runtime vim vim-common vim-runtime vim-tiny xxd 116 upgraded, 6 newly installed, 0 to remove and 2 not upgraded. 86 standard LTS security updates Need to get 648 MB of archives. After this operation, 589 MB of additional disk space will be used. Do you want to continue? [Y/n] |
Y를 선택하면 업그레이드를 진행합니다
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 bash amd64 5.1-6ubuntu1.1 [769 kB] Get:2 http://www.eve-ng.net/jammy jammy/main amd64 eve-ng amd64 6.2.0-3 [26.3 MB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 bsdutils amd64 1:2.37.2-4ubuntu3.4 [80.9 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 coreutils amd64 8.32-4.1ubuntu1.2 [1,437 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libapt-pkg6.0 amd64 2.4.12 [912 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dpkg amd64 1.21.1ubuntu2.3 [1,239 kB] Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 util-linux amd64 2.37.2-4ubuntu3.4 [1,063 kB] Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-bin amd64 2.35-0ubuntu3.8 [706 kB] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt amd64 2.4.12 [1,363 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt-utils amd64 2.4.12 [211 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgnutls30 amd64 3.7.3-4ubuntu1.5 [966 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mount amd64 2.37.2-4ubuntu3.4 [114 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsmartcols1 amd64 2.37.2-4ubuntu3.4 [50.9 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuuid1 amd64 2.37.2-4ubuntu3.4 [23.8 kB] Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 uuid-runtime amd64 2.37.2-4ubuntu3.4 [32.0 kB] Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl3 amd64 3.0.2-0ubuntu1.15 [1,905 kB] Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 tcpdump amd64 4.99.1-3ubuntu0.2 [501 kB] Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mysql-client-core-8.0 amd64 8.0.37-0ubuntu0.22.04.3 [2,762 kB] Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mysql-client-8.0 amd64 8.0.37-0ubuntu0.22.04.3 [22.7 kB] Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mysql-server-8.0 amd64 8.0.37-0ubuntu0.22.04.3 [1,438 kB] Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mysql-server-core-8.0 amd64 8.0.37-0ubuntu0.22.04.3 [17.6 MB] 5% [21 mysql-server-core-8.0 2,495 kB/17.6 MB 14%] [2 eve-ng 133 kB/26.3 MB 1%] |
설치가 완료되면, Ok버튼을 클릭합니다.
3-6. EVE-NG Community를 재시작합니다.
부팅이 완료될 때까지 기다립니다.
root@eve-ng:~# reboot |
3-7 장비에 접속해서 버전을 확인합니다.
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 6.2.0-3 amd64 A new generation software for networking labs. root@eve-ng:~# |
버전이 6.2.0-2에서 6.2.0-3으로 업그레이드되었습니다.
3-8 EVE-NG 잘 접속되는지 확인합니다.
지금까지 [2024][EVE-NG #17] Upgrade EVE-NG version 글을 읽어주셔서 감사합니다.
'EVE-NG' 카테고리의 다른 글
[2024][EVE-NG #18] Virtual PC(VPCS) (0) | 2024.11.06 |
---|---|
[2024][EVE-NG #18] EVE-NG에 C9800CL Install (2) | 2024.10.07 |
[2024][EVE-NG #16] Juniper QFX 스위치 설치하기 (0) | 2024.07.12 |
[2024][EVE-NG #15] Juniper MX 라우터 설치하기 (0) | 2024.07.11 |
[2024][EVE-NG #14] Juniper SRX 방화벽 설치하기 (0) | 2024.07.09 |