Git仓库: https://git.centos.org/
邮件组: https://wiki.centos.org/GettingHelp/ListInfo
下载站: https://www.centos.org/download/mirrors/
http://www.centoscn.com/CentOS/Intermediate/2014/0419/2826.html
yum install -y python-pip gcc rpm-build openssl-devel
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
wget http://openvswitch.org/releases/openvswitch-2.5.0.tar.gz
cp openvswitch-2.5.0.tar.gz rpmbuild/SOURCES/
tar -xvf openvswitch-2.5.0.tar.gz
cd openvswitch-2.5.0
rpmbuild -bb --without check rhel/openvswitch.spec
rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec
如果已经安装,可以直接使用rpm -ql
查看。
如果没有安装,可以使用yum-utils中的工具查看:
yum install -y yum-utils
repoquery -q -l docker-latest