root@mo:/SDN#unzipdistribution-karaf-0.5.2-Boron-SR2.zip
root@mo:/SDN#cddistribution-karaf-0.5.2-Boron-SR2/
root@mo:/SDN/distribution-karaf-0.5.2-Boron-SR2# vim etc/org.apache.karaf.management.cfg
rmiRegistryHost = 0.0.0.0 改为 rmiRegistryHost = 127.0.0.1
rmiServerHost =0.0.0.0 改为 rmiServerHost =127.0.0.1
root@mo:~#source/etc/profile
root@mo:/SDN/distribution-karaf-0.5.2-Boron-SR2#./bin/karaf
root@mo:/SDN/distribution-karaf-0.5.2-Boron-SR2#rm -rf data/
root@mo:/SDN/distribution-karaf-0.5.2-Boron-SR2#./bin/karaf clean
1. opendaylight-user@root>feature:install odl-restconf
2. opendaylight-user@root>feature:install odl-l2switch-switch-ui
3. opendaylight-user@root>feature:install odl-openflowplugin-flow-services-ui
4. opendaylight-user@root>feature:install odl-mdsal-apidocs
5. opendaylight-user@root>feature:installodl-dlux-core
6. opendaylight-user@root>feature:install odl-dlux-node
7. opendaylight-user@root>feature:install odl-dlux-yangui
访问网页http://127.0.0.1:8181 user:admin password:admin
Mininet安装
root@mo:~#git clonegit://github.com/mininet/mininet.git
root@mo:~# cd mininet
root@mo:~# git tag
root@mo:~#git checkoutxxx
root@mo:~#./util/install.sh-a
测试
mo@mo:~$sudo mn--controller=remote,ip=127.0.0.1,port=6633 --topo tree,3
mininet>pingall