centos 安装遇到的问题

①CentOS网络设置 couldn't resolve host 'mirrorlist.centos.org问题解决

在VBox上安装完CentOS6之后,首次使用时yum命令安装软件时,经常遇到”couldn't resolve host 'mirrorlist.centos.org”这个问题,上网上查了半天,很多都说在/etc/resolv.conf文件末尾添加nameserver 8.8.8.8 nameserver 8.8.4.4 serchdomain localdomain.可我试了半天也没有用!其实只要重启一下eth0网络适配器就可以了,它会自动连接网络的.以下命令均实验,yum命令好使了

ifdown eth0

ifup eth0

yum update

 ② centos 安装vim编辑器

yum -y install vim-enhanced

 

 

 

posted on 2016-09-19 15:34  01-刘津防  阅读(127)  评论(0编辑  收藏  举报

导航