請參考 http://shaurong.blogspot.tw/2014/01/mysql-community-5615-tgz-centos-65-x64.html 如果一安裝完centos無法連上網路,要先把網路卡啟動,可參考 http://yenpai.idis.com.tw/archives/240-%E6%95%99%E5%AD%B8-centos-6-3-%E5%AE%89%E8%A3%9D-2%E7%B6%B2%E8%B7%AF%E8%A8%AD%E5%AE%9A%E7%AF%87 在 /etc/sysconfig/network-scripts/ifcfg-eth0檔中 [root@localhost ~] # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none HWADDR=00:0C:29:1D:86:BD NM_CONTROLLED=yes ONBOOT=yes----->這裡要為yes TYPE =Ethernet UUID=da0d1da0-568a-45cf-a93f-66a30a4870e7 IPADDR=192.168.1.12 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 IPV6INIT=no USERCTL=no