一、基础环境
二、OpenDayLight安装
1、先安装JDK
下载地址:http://www.oracle.com/technetwork/cn/java/javase/downloads/jdk8-downloads-2133151-zhs.html
根据虚拟机上Ubuntu操作系统CPU的类型选择安装。
安装好后,进行环境变量配置:
2、安装openDayLight
下载如下版本:
安装示例:
$ ls distribution-karaf-0.6.x-Carbon.zip distribution-karaf-0.6.x-Carbon.zip $ unzip distribution-karaf-0.6.x-Carbon.zip Archive: distribution-karaf-0.6.x-Carbon.zip creating: distribution-karaf-0.6.x-Carbon/ creating: distribution-karaf-0.6.x-Carbon/configuration/ creating: distribution-karaf-0.6.x-Carbon/data/ creating: distribution-karaf-0.6.x-Carbon/data/tmp/ creating: distribution-karaf-0.6.x-Carbon/deploy/ creating: distribution-karaf-0.6.x-Carbon/etc/ creating: distribution-karaf-0.6.x-Carbon/externalapps/ ... inflating: distribution-karaf-0.6.x-Carbon/bin/start.bat inflating: distribution-karaf-0.6.x-Carbon/bin/status.bat inflating: distribution-karaf-0.6.x-Carbon/bin/stop.bat $ cd distribution-karaf-0.6.x-Carbon $ ./bin/karaf
安装支持REST API的组件:feature:install odl-restconf
安装L2 switch插件:feature:install odl-l2switch-switch
再通过命令feature:list | grep openflow,进行选择安装
feature:install odl-mdsal-apidocs
再通过命令feature:list | grep dlux,进行选择安装
再通过命令feature:list | grep adsal,进行选择安装
三、mininet安装
下载地址:https://github.com/mininet/mininet/wiki/Mininet-VM-Images
根据系统是32位还是64位选择下载。
四、wireshark安装
wireshark依赖于libpcap,所以如果系统中未安装libpcap,也要将其一并安装
下载源码
源码文件
wireshark-x.x.x.tar.gz wireshark安装源文件
libpcap-x.x.x.tar.gz libpcap安装源文件
下载地址
Wireshark 网址 https://www.wireshark.org/download.html
libpcap 网址 http://www.tcpdump.org/
安装
待更新