2015年8月7日 星期五

Step by step install Opendaylight Lithium

1. Install Ubuntu 14.04 LTS

2. Update Ubuntu and install package
sudo apt install curl unzip 

3. install java 7 sdk
sudo apt install openjdk-7-jdk
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64

4. Install nodejs
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs

5. Download Opendaylight Li

6. Unzip Opendaylight file
unzip 0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.zip

7.Change Directory
cd distribution-karaf-0.3.0-Lithium

8. Start Opendaylight service
./bin/start

9. Login to OpenDaylight via ssh
ssh -p 8101 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no karaf@localhost

10. Install Opendaylight features
restapi
feature:install odl-restconf
dlux webui
feature:install odl-dlux-all
openflow-plugin
feature:install odl-openflow-plugin-all
l2switch
feature:install odl-l2switch-all

11. Connect your Openflow-enabled switch to controller

12. Logout Opendaylight console
logout

13. Now you can use your Opendaylight controller

沒有留言: