Openvswitch在CentOS 6.6下的安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Openvswitch在CentOS 6.6下的安装相关的知识,希望对你有一定的参考价值。
懒人的装法:
wget http://mirror.beyondhosting.net/OpenVSwitch/openvswitch-2.3.1-1.el6.x86_64.rpm wget http://mirror.beyondhosting.net/OpenVSwitch/openvswitch-kmod-2.3.1-1.el6.x86_64.rpm wget http://mirror.beyondhosting.net/OpenVSwitch/kmod-openvswitch-2.3.1-1.el6.x86_64.rpm rpm -vih *.rpm modprobe openvswitch service openvswitch start
复杂的装法:
yum groupinstall "Development Tools" -y yum install rpmdevtools openssl-devel kernel-devel gcc redhat-rpm-config -y adduser ovswitch su - ovswitch cd wget http://openvswitch.org/releases/openvswitch-2.3.1.tar.gz tar xzf openvswitch-2.3.1.tar.gz mkdir -p rpmbuild/SOURCES cp openvswitch-2.3.1.tar.gz rpmbuild/SOURCES/ cp openvswitch-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 -bb openvswitch-2.3.1/rhel/openvswitch_no_kmod.spec exit yum localinstall rpmbuild/RPMS/x86_64/openvswitch-2.3.1.x86_64.rpm modprobe openvswitch service openvswitch start
本文出自 “尼古风锁丝愁过” 博客,请务必保留此出处http://smoke520.blog.51cto.com/9256117/1793073
以上是关于Openvswitch在CentOS 6.6下的安装的主要内容,如果未能解决你的问题,请参考以下文章