1.yum Installation Error
[root@iz25m0z7ik3z ~] #yum install MySQL
[root@iz25m0z7ik3z ~] #yum install MySQL Loaded plugins:security http://mirrors.aliyun.com/centos/6/os/x86_64/
Repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve Host ' mirrors.aliyun.com '" trying other mirror. Http://mirrors.aliyuncs.com/centos/6/os/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve host '
Mirrors.aliyuncs.com ' "Trying other mirror. Http://mirrors.aliyun.com/epel/6/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve host ' mirrors
. aliyun.com ' "Trying other mirror. Http://mirrors.aliyuncs.com/epel/6/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve host '
Mirrors.aliyuncs.com ' "Trying other mirror. Http://mirrors.aliyun.com/centos/6/extras/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve
Host ' mirrors.aliyun.com ' trying other mirror. Http://mirrors.aliyuncs.com/centos/6/extras/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve Host ' MIRRORS.ALiyuncs.com ' "Trying other mirror. Http://mirrors.aliyun.com/centos/6/updates/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve
Host ' mirrors.aliyun.com ' trying other mirror. Http://mirrors.aliyuncs.com/centos/6/updates/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve
Host ' mirrors.aliyuncs.com ' trying other mirror.
Setting up Install Process Package mysql-5.1.73-5.el6_6.x86_64 already installed and latest version
2. Modify DNS
[root@iz25m0z7ik3z ~]# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Add at the end of the article
dns1=8.8.8.8
dns2=8.8.4.4
3. Restart Network Service
[root@iz25m0z7ik3z ~]# Service Network restart
Shutting down interface eth0: Device state:3 (disconnected)
[ OK ]
shutting down interface eth1:< c5/>[ OK ]
shutting down loopback interface: [ OK ]
fatal:module from not found.
Bringing up loopback interface: [ OK ]
Bringing Up interface eth0: Active connection state: Activated
Active connection path:/ORG/FREEDESKTOP/NETWORKMANAGER/ACTIVECONNECTION/2
[ OK ]
Bringing Up interface eth1: Rtnetlink Answers:file exists
rtnetlink answers:file exists
[ OK ]
fatal:module off Found.
4. The following hint indicates that the network service conflicts with the NetworkManager service
Bringing up interface eth0: active Connection state:activated
active connection path:/org/freedesktop/ NETWORKMANAGER/ACTIVECONNECTION/2
[ OK ]
It should have been previously installed with the graphical interface "X Window System" caused.
5. Stop NetworkManager
[root@iz25m0z7ik3z ~]# service NetworkManager stop
Stopping NetworkManager daemon: [ OK ]
6. Restart Network Service again
[root@iz25m0z7ik3z ~]# Service Network restart
Shutting down interface eth0: [ OK ]
shutting down interface eth1: [ OK ]
shutting Down loopback interface: [ OK ]
fatal:module out not found.
Bringing up loopback interface: [ OK ]
Bringing Up interface eth0: determining if IP address 10.44.153.37 is already in use for device eth0 ...
[ OK ]
Bringing Up interface eth1: determining if IP address 101.200.188.182 was already in use for dev Ice eth1
... Rtnetlink Answers:file exists
[ OK ]
fatal:module off not found.
7. This warning is generally due to the NIC resolution ARP protocol, can be in the network card configuration file to add Arpcheck=no parameters to screen the check
[root@iz25m0z7ik3z ~]# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Add at the end of the article
Arpcheck=no
Start the network card again
Shutting down interface eth0: [ OK ]
shutting down interface eth1: [ OK ]
shutting Down loopback interface: [ OK ]
fatal:module out not found.
Bringing up loopback interface: [ OK ]
bringing Up interface eth0: [ OK ]
Bringing up interface eth1: rtnetlink answers:file exists
[ OK ]
fatal:module off not found.
So yum update all normal.