=
x

“Couldn’t resolve host ‘rpms.remirepo.net'”

升级mysql-community-server的时候错误提示:

[root@iopenv ~]# yum install mysql-community-server
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://rpms.remirepo.net/enterprise/6/php56/mirror error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'rpms.remirepo.net'"
Error: Cannot find a valid baseurl for repo: remi-php56

修改vi /etc/resolv.conf,修改DNS为google的即可。

发表评论

您的电邮不会被公布。

*