CentOS7.0にOpenDaylightをインストールしてOpenFlowコントローラ実装
<用意する物>
https://my.vmware.com/jp/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0
http://isoredirect.centos.org/centos/7/isos/x86_64/
- Opendaylight Helium-SR4
https://www.opendaylight.org/software/release-archives
1.VMWareからCentOS7.0を立ち上げコンソールを開く
2.OSを最新に更新する
[(user-name)@localhost]$ su -パスワード:(ログインパスワード)
3. javaのバージョンを確認し、java-1.7.0-openjdkがインストールされているか確認する。インストールされていなかった場合、インストールする。
javaのバージョン確認
#java --version
java-1.7.0-openjdkのインストール
5. mavenのインストール
6. 事前にダウンロードしたdistribution-karaf-0.2.3-Helium-SR3.zipをCentOSへコピーし、解凍する。解凍したディレクトリ(distribution-karaf-0.2.3-Helium-SR3)が長ったらしいのでopendaylightに改名する。
# mv distribution-karaf-0.2.3-Helium-SR3 opendaylight
7.opendaylightにカレントディレクトリを移す。
# cd /home/(user-nama)/opendaylight
8.opendaylightを起動する。
すると、以下のように表示される。
$ ./bin/karaf________ ________ .__ .__ .__ __\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |\_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|\/|__| \/ \/ \/ \/\/ /_____/ \/Hit '<tab>' for a list of available commandsand '[cmd] --help' for help on a specific command.Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
9.必要なfeatureをインストールする。
opendaylight-user@root>feature:install odl-dlux-core odl-restconf-all odl-mdsal-apidocs odl-l2switch-switch odl-dlux-node
10.インストールされているか確認する。
opendaylight-user@root>feature:list -i
11.Webページで確認する。