1 操作系统的选择,经过测试,我只在ubuntu 10.04上安装成功,在centos fedora ubuntu 11上安装均因为依赖包的原因,安装失败
2 安装
cd /etc/apt/sources.list.d
sudo wget http://openflowswitch.org/downloads/debian/nox.list
sudo apt-get update
sudo apt-get install nox-dependencies
git clone git://noxrepo.org/nox
cd nox
如果需要启动gui 必须做branch这一步
git branch -a
git checkout -b destiny origin/destiny
./boot.sh
mkdir build/
cd build/
../configure
make -j 5
启动控制器
./nox_core -v -i ptcp:6633 monitoring
apt-get install python-qt4 python-simplejson
注意这里,我在这一步卡了好几天,就是因为没有安装下面的包,而且官方文档没有说明
apt-get install python-qt4-sql
让openvswitch连接到控制器
ovs-vsctl set-controller br0 tcp:172.16.1.230