小编iai*_*ain的帖子

在 VM 上更新后,我应该为“GRUB 安装设备”选择什么?

这与更新后我为“GRUB 安装设备”选择什么几乎完全相同- 或者可能不是,因此问,因为我通过 Vagrant 在 Virtualbox 机器上运行 Ubuntu。

我无法更新包,所以我跑了sudo apt-get update那么sudo apt-get dist-upgrade。它出现了以下消息:

The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It is        ? 
 ? important to make sure that the installed GRUB core image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is    ? 
 ? written to …
Run Code Online (Sandbox Code Playgroud)

updates grub2 virtualbox vagrant

17
推荐指数
1
解决办法
1万
查看次数

检查现有的 ufw 防火墙规则而不启用它

我正在使用 Vagrant 运行 Ubuntu 12.04 LTS 机器。

$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)?
Run Code Online (Sandbox Code Playgroud)

显然,我不想中断我的 SSH 连接,因为这就是我访问盒子的方式。显然,检查现有规则的命令是sudo ufw status verbose但这返回inactive.

不启用规则就没有办法检查规则吗?它很快就会变得不方便。

firewall ufw

9
推荐指数
2
解决办法
5022
查看次数

标签 统计

firewall ×1

grub2 ×1

ufw ×1

updates ×1

vagrant ×1

virtualbox ×1