请教个问题,我在RATHOT版本的linux下安装mysql出现以下问题:
[root@localhost src]# rpm -ivh MySQL-server-5.6.21-1.el6.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.6.21-1.el6.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.21-1.el6.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.21-1.el6.x86_64查了一些技术贴后,说是需要yum install libaio执行。
结果报错以下信息
Resolving Dependencies
--> Running transaction check
---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed
--> Finished Dependency ResolutionDependencies Resolved====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
libaio x86_64 0.3.107-10.el6 base 21 kTransaction Summary
====================================================================================================================================
Install 1 Package(s)Total download size: 21 k
Installed size: 34 k
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.163.com/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.163.com'"
Trying other mirror.
Error Downloading Packages:
libaio-0.3.107-10.el6.x86_64: failure: Packages/libaio-0.3.107-10.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
继续查技术贴,说是 配置 问题, /etc/resolv.conf里面增加nameserver 8.8.8.8记录,但是 还是同样的错误
[root@localhost src]# rpm -ivh MySQL-server-5.6.21-1.el6.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.6.21-1.el6.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.21-1.el6.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.21-1.el6.x86_64查了一些技术贴后,说是需要yum install libaio执行。
结果报错以下信息
Resolving Dependencies
--> Running transaction check
---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed
--> Finished Dependency ResolutionDependencies Resolved====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
libaio x86_64 0.3.107-10.el6 base 21 kTransaction Summary
====================================================================================================================================
Install 1 Package(s)Total download size: 21 k
Installed size: 34 k
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.163.com/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.163.com'"
Trying other mirror.
Error Downloading Packages:
libaio-0.3.107-10.el6.x86_64: failure: Packages/libaio-0.3.107-10.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
继续查技术贴,说是 配置 问题, /etc/resolv.conf里面增加nameserver 8.8.8.8记录,但是 还是同样的错误
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货