小编Jos*_*osh的帖子

为什么 Ubuntu Mate 使用 Google DNS 服务器?

更新:看起来它正在avahi-dnsconfd添加8.8.8.8和添加8.8.4.4到我的/etc/resolv.conf文件中。我在 /var/log/syslog 中找到了这个:

Jan  4 17:00:21 freewill nm-dispatcher: req:1 'up' [ens33]: start running ordered scripts...
Jan  4 17:00:21 freewill avahi-dnsconfd[3579]: New DNS Server 8.8.4.4 (interface: 2.IPv4)
Jan  4 17:00:21 freewill avahi-dnsconfd[3579]: New DNS Server 8.8.8.8 (interface: 2.IPv4)
Run Code Online (Sandbox Code Playgroud)

我怎样才能让Ubuntu的从DHCP获取DNS服务器使用的avahi(的mDNS)用于获取DNS服务器?


我正在测试 Ubuntu Mate 16.04.1 LTS,但遇到了麻烦,因为有些东西不断将 Google 的 DNS 服务器添加到/etc/resolv.conf

josh@freewill:~$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS …
Run Code Online (Sandbox Code Playgroud)

dns resolvconf ubuntu-mate 16.04

9
推荐指数
1
解决办法
1951
查看次数

在 13.04 上解压后 VMware 9 安装未打开

这里有点Linux noob,我正在尝试安装VMware,我终于可以离开终端并完成简单的工作,哈哈,但现在我又被卡住了。

我遵循了这些说明,当我到达提取文件夹的这一部分时,安装程​​序没有打开。

提取 VMware 安装程序

我尝试vmware-modconfig --console --install-all在终端中运行,但最后一行说的是“无法安装所有模块,请检查日志以获取详细信息”

日志文件的最后几行说:

x’ defined but not used [-Wunused-function] 
cc1: some warnings being treated as errors 
make[2]: *** [/tmp/modconfig-exlEke/vmci-only/linux/driver.o] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[1]: *** [_module_/tmp/modconfig-exlEke/vmci-only] Error 2 
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic' 
make: *** [vmci.ko] Error 2 
make: Leaving directory `/tmp/modconfig-exlEke/vmci-only' 
Unable to install all modules. See log for details.
Run Code Online (Sandbox Code Playgroud)

聊天中的一位用户说这看起来像是内核模块的问题。如何在 Ubuntu 13.04 内核下安装 VMware Workstation 9 3.8.0-19-generic

installation vmware 13.04

5
推荐指数
2
解决办法
4886
查看次数

为什么 snap rstore 因“预期非负整数参数”而失败?

我试图重新安装一个 snap 包,我想要我的设置。我snap save在删除快照之前做了一个。现在我试图用snap restore它来恢复保存的快照,但它失败了:

root@josh-workstation:/# snap restore lxd 1
error: invalid argument for snapshot set id: expected a non-negative integer argument (see 'snap help saved')
Run Code Online (Sandbox Code Playgroud)

但是,我按照snap help restoreand的指示进行操作snap help saved,所以...有什么关系?

root@josh-workstation:/# snap help restore
Usage:
  snap restore [restore-OPTIONS] <snap> <id>...

The restore command replaces the current user, system and
configuration data of included snaps, with the corresponding data from
the specified snapshot.
Run Code Online (Sandbox Code Playgroud)

snap

5
推荐指数
1
解决办法
73
查看次数

标签 统计

13.04 ×1

16.04 ×1

dns ×1

installation ×1

resolvconf ×1

snap ×1

ubuntu-mate ×1

vmware ×1