当前位置:首页 > 系统 > 修复升级EVE-NG后无法正常打开问题

修复升级EVE-NG后无法正常打开问题

系统6年前 (2017-08-25)

升级流程

Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.9.40-eve-ng-ukms+ x86_64)

 * Documentation:  https://help.ubuntu.com

 * Management:     https://landscape.canonical.com

 * Support:        https://ubuntu.com/advantage

Last login: Fri Aug 25 03:58:58 2017

停止进程

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a stopall

sh: 1: docker: not found

sh: 1: docker: not found

更新

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

Hit:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease

Hit:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                       

Hit:3 http://repo.emulatedlab.com/repo xenial InRelease                                                                                  

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

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

Fetched 102 kB in 1s (52.2 kB/s)   

Reading package lists... Done

升级

V71(或者更老版本)升级至V77使用apt-get dist-upgrade
V76升级至V77使用apt-get upgrade

ps:如果想将emulatedlab源修改为官方源,输入

sudo add-apt-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"

使用这里跨多个版本升级,输入

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


修复无法登陆

浏览器登陆eve-ng,登陆页面闪烁,或者一直提示正在载入,强行清理浏览器缓存Ctrl+F5,如果还打不开,下载使用emulatedlab.com出的EVE-NG定制Toolkit工具

wget https://www.vos.cn/nexus/eve_ng_toolkit.tgz -O eve_ng_toolkit.tgz&&tar zxvf eve_ng_toolkit.tgz&&./eve_ng_toolkit.sh

修复升级EVE-NG后无法正常打开问题

选择5,进行FIX permissions,之后浏览器再测试就可以打开了


跨版本升级提示有多余包

The following packages were automatically installed and are no longer required:

  libllvm3.8 linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic

  linux-image-4.4.0-62-generic linux-image-4.4.0-81-generic

Use 'apt autoremove' to remove them.

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

root@eve-ng:~#sudo apt-get autoremove

Building dependency tree       

Reading state information... Done

The following packages will be REMOVED:

  libllvm3.8 linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-headers-4.4.0-81

  linux-headers-4.4.0-81-generic linux-image-4.4.0-62-generic linux-image-4.4.0-81-generic

0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.

After this operation, 329 MB disk space will be freed.

Do you want to continue? [Y/n] y     输入y确认

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

之后再次输入apt-get update和 apt-get upgrade就正常了


本站所有文章均可随意转载,转载时请保留原文链接及作者。

本文链接:https://www.vos.cn/os/157.html

相关文章

CentOS7 Samba配置

CentOS7 Samba配置

在RAID的基础上搭建samba服务提供文件共享参数介绍[global] workgroup = 工作组名称 server string = 服务...

CentOS7 NFS配置

CentOS7 NFS配置

网络文件系统(Network File System)是一种将远程主机上的分区(目录)经网络挂载到本地的一种机制,通过对网络文件系统的支持,用户可以在本地系统上像操作本地分区一样来对远程主机的共享分区...

CentOS7 安装Oracle12cR2

CentOS7 安装Oracle12cR2

在CentOS7.8 Minimal版本下安装Oracle Database 12c Release 2一键安装oracle-single-install.zip系统环境准备sed -i&n...

CentOS6 安装Oracle11gR2

CentOS6 安装Oracle11gR2

使用oracle-rdbms-server-11gR2-preinstall工具,自动安装oracle所需的RPM包,自动创建oracle用户和dba、oinstall组,自动配置/etc/sysct...

Redhat 6.5网卡聚合绑定

Redhat 6.5网卡聚合绑定

linux下网卡bonding配置是通过多张网卡绑定为一个逻辑网卡,实现本地网卡的冗余,带宽扩容和负载均衡,在生产场景中是一种常用的技术,常用聚合模式为0,1,60(balance-rr)轮循(RR)...

EVE-NG配置静态固定地址

EVE-NG配置静态固定地址

sudo vi /etc/network/interfaces# The primary network interfaceiface eth0 inet manual ...