Openvswitch在CentOS 6.6下的安装

前端之家收集整理的这篇文章主要介绍了Openvswitch在CentOS 6.6下的安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

懒人的装法:

wgethttp://mirror.beyondhosting.net/OpenVSwitch/openvswitch-2.3.1-1.el6.x86_64.rpm
wgethttp://mirror.beyondhosting.net/OpenVSwitch/openvswitch-kmod-2.3.1-1.el6.x86_64.rpm
wgethttp://mirror.beyondhosting.net/OpenVSwitch/kmod-openvswitch-2.3.1-1.el6.x86_64.rpm
rpm-vih*.rpm
modprobeopenvswitch
serviceopenvswitchstart

复杂的装法:
yumgroupinstall"DevelopmentTools"-y
yuminstallrpmdevtoolsopenssl-develkernel-develgccredhat-rpm-config-y
adduserovswitch
su-ovswitch
cd
wgethttp://openvswitch.org/releases/openvswitch-2.3.1.tar.gz
tarxzfopenvswitch-2.3.1.tar.gz
mkdir-prpmbuild/SOURCES
cpopenvswitch-2.3.1.tar.gzrpmbuild/SOURCES/cpopenvswitch-2.3.1/rhel/openvswitch-kmod.files/home/ovswitch/rpmbuild/SOURCES/sed's/openvswitch-kmod,//g'openvswitch-2.3.1/rhel/openvswitch.spec>openvswitch-2.3.1/rhel/openvswitch_no_kmod.spec
rpmbuild-bbopenvswitch-2.3.1/rhel/openvswitch_no_kmod.spec
exityumlocalinstallrpmbuild/RPMS/x86_64/openvswitch-2.3.1.x86_64.rpm
modprobeopenvswitch
serviceopenvswitchstart

猜你在找的CentOS相关文章