yum install rpm-build autoconf automake libtool systemd-units openssl openssl-devel python-devel groff graphviz desktop-file-utils python-twisted python-zope-interface python-six procps-ng checkpolicy selinux-policy-devel libcap-ng libcap-ng-devel
wget -c
tar zxf openvswitch-2.7.0.tar.gz
cd openvswitch-2.7.0
./boot.sh
./configure
make dist
mkdir -p $HOME/rpmbuild/SOURCES
cp openvswitch-2.7.0.tar.gz $HOME/rpmbuild/SOURCES/
cd $HOME/rpmbuild/SOURCES/
tar zxf openvswitch-2.7.0.tar.gz
cd openvswitch-2.7.0/
rpmbuild -bb rhel/openvswitch.spec
yum localinstall $HOME/rpmbuild/RPMS/x86_64/*.rpm
chkconfig openvswitch on
/etc/init.d/openvswitch start
阅读(1529) | 评论(0) | 转发(0) |