ubuntu14.04 源码安装OVS2.3.0

来源:互联网 发布:json 数组如何表示 编辑:程序博客网 时间:2024/06/06 01:56

这是我安装ovs2.3.0的命令记录

# 前提条件sudo apt-get updatesudo apt-get install -y build-essentialwget http://openvswitch.org/releases/openvswitch-2.3.0.tar.gz #使用curl下载软件是直接把程序输出到终端了。tar -xzf openvswitch-2.3.0.tar.gz#安装cd openvswitch-2.3.0make clean./configuresudo makesudo make installsudo mkdir -p /usr/local/etc/openswitchsudo ovsdb-tool create /usr/local/etc/openvswitch/conf.db  vswitchd/vswitch.ovsschemasudo mkdir -p /usr/local/var/run/openvswitchsudo ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \    --remote=db:Open_vSwitch,Open_vSwitch,manager_options \    --private-key=db:Open_vSwitch,SSL,private_key \    --certificate=db:Open_vSwitch,SSL,certificate \    --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \    --pidfile --detach --log-filesudo ovs-vsctl --no-wait initsudo ovs-vswitchd --pidfile --detachps -ef |grep ovsovs-vsctl --version
0 0
原创粉丝点击