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

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

posted @ 2021-08-08 17:46  枫叶艾辰  阅读(201)  评论(0编辑  收藏  举报