​repo国内源​

> –http://mirrors.aliyun.com
> –centos-->help
> -before:yum install wget

​repo本地目录源​

–mount /dev/cdrom /mnt

–vi /etc/yum.repos.d/local.repo

–[local]

–baseurl=file:///mnt

–gpgcheck=0

–enable=1

​yum命令​

–yum repolist
–yum clean all
–yum makecache
–yum update

​yum查询​

–yum list
–yum search
–yum info

​yum安装&卸载​

–yum install 
–remove|erase

​yum分组​

–yum grouplist
–yum groupinfo
–yum groupinstall
–yum groupremove
–yum groupupdate

中文显示,查看中文文档

•yum 的 repo 变成aliyun || 本地DVD

•yum grouplist

•yum groupinstall "Chinese Support"

•echo $LANG

–en_US.UTF-8

–LANG=zh_CN.UTF-8



•增加epel的repo:

–http://mirrors.aliyun.com

–epel>>>>>help

–wget centos6.......



•yum clean all

•yum makecache

•yum search man-pages

•yum install man man-pages man-pages-zh-CN

•【【【【 man bash