yum 仓库配置
[base]
name=aliyum base
baseurl=https://mirrors.aliyun.com/centos/6/os/x86_64/ 本地路径file:///mnt/cd
gpgcheck=0 生产环境加上验证,
enabled=1
[epel]
name=aliyun epel
baseurl=https://mirrors.aliyun.com/epel/6/x86_64/
gpgcheck=0
enabled=1
通过命令查找安装包
yum whatprovides pvcreate
yum provides pvcreate