编辑 /etc/resolvconf/resolv.conf.d/base
写入希望修改的DNS服务器:
nameserver 8.8.8.8
应用更改:
sudo resolvconf -u
编辑 /etc/resolvconf/resolv.conf.d/base
写入希望修改的DNS服务器:
nameserver 8.8.8.8
应用更改:
sudo resolvconf -u
在配置Unbound时遇到如下错误:
/etc/unbound/unbound.conf:16: error: unknown keyword 'tls-service-key'
/etc/unbound/unbound.conf:16: error: stray ':'
/etc/unbound/unbound.conf:16: error: stray '"'
/etc/unbound/unbound.conf:16: error: unknown keyword 'key.pem'
/etc/unbound/unbound.conf:16: error: stray '"'
/etc/unbound/unbound.conf:17: error: unknown keyword 'tls-service-pem'
/etc/unbound/unbound.conf:17: error: stray ':'
/etc/unbound/unbound.conf:17: error: stray '"'
/etc/unbound/unbound.conf:17: error: unknown keyword 'fullchain.pem'
/etc/unbound/unbound.conf:17: error: stray '"'
/etc/unbound/unbound.conf:18: error: unknown keyword 'tls-port'
/etc/unbound/unbound.conf:18: error: stray ':'
/etc/unbound/unbound.conf:18: error: unknown keyword '853'
read /etc/unbound/unbound.conf failed: 13 errors in configuration file [1579421749] unbound[17698:0] fatal error: Could not read config file: /etc/unbound/unbound.conf
搜寻后得知是官方文档有变更,将tls全部改为ssl即可。
管理员运行以下指令:
DISM.exe /Online /Get-TargetEditions
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
(指令中的密钥为Standard版密钥)
重启系统。如果先前已设置好激活服务器,系统即自动激活。
按F2开启控制台shell,启用后返回。按Alt+F1打开终端。
esxcfg-vmknic -a -i 192.168.1.10 -n 255.255.255.0 "Management Network"
*192.168.1.10为esxi控制面板IP。
用Firefox打开这个地址:
chrome://pippki/content/resetpassword.xul
如图,点击重置即可全部删除。