使用阿里云虚机遇到的问题

1.Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error"
解决方法:
进入 vim /etc/resolv.conf
修改成:
ptions timeout:2 attempts:3 rotate single-request-reopen
; generated by /usr/sbin/dhclient-script
nameserver 100.100.2.136
nameserver 100.100.2.138
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain

上一篇:腾讯+华为+阿里面试真题分享,Java程序员进阶


下一篇:【allure】allure --version报错ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk