{"id":192,"date":"2013-10-23T19:37:02","date_gmt":"2013-10-23T17:37:02","guid":{"rendered":"http:\/\/www.opencloudblog.com\/?p=192"},"modified":"2021-01-17T13:18:33","modified_gmt":"2021-01-17T12:18:33","slug":"opendaylight-installation-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.opencloudblog.com\/?p=192","title":{"rendered":"Opendaylight Hydrogen installation on Ubuntu"},"content":{"rendered":"<h1>Opendaylight Controller &#8212; Simple Version<\/h1>\n<p>Opendaylight is an Openflow Controller\u00a0originally forked from\u00a0David Erickson\u2019s\u00a0Beacon controller. Many network component vendors are now contributing to this controller.<\/p>\n<h1>Opendaylight Installation<\/h1>\n<p>To install Opendaylight (version Hydrogen) on Ubuntu (and other Linux flavors) you need to get the source from\u00a0http:\/\/git.opendaylight.org\/gerrit\/p\/controller.git .<\/p>\n<p>You need marven to built the controller, and Java to run the controller &#8211; yes it is written in java. Git is used to access the source code. Before starting the build process, you should set the following environment variable. Do not forget to place this into your .bashrc<\/p>\n<pre class=\"lang:sh decode:true\" title=\"maven memory\">export MAVEN_OPTS=\"-Xmx4096m -XX:MaxPermSize=1024m\"<\/pre>\n<pre class=\"lang:sh decode:true\" title=\"Opendaylight \">#\r\n# B U I L T   T H E   C O N T R O L L E R\r\n# get the dependencies\r\n# \r\napt-get install maven git openjdk-7-jre openjdk-7-jdk \r\n#\r\n# get the source code\r\n#\r\ngit clone http:\/\/git.opendaylight.org\/gerrit\/p\/controller.git\r\n#\r\n# built the controller\r\n# both mvn commands are downloading a lot of additional stuff\r\n# from the marven and opendaylight site\r\n#\r\ncd controller\/opendaylight\/distribution\/opendaylight\/\r\nmvn clean\r\nmvn install \r\n#  optional: -DskipTests\r\ncd target\/distribution.opendaylight-osgipackage\/opendaylight\r\n#\r\n# copy the software to a target directory ( in the example here \/home\/opendaylight\/ )\r\n#\r\ncp -dpRv * \/home\/opendaylight\/<\/pre>\n<p>Then open a console and start the controller with the commands &#8211; do no run the controller as root !<\/p>\n<pre class=\"lang:sh decode:true\" title=\"Start the controller\">cd \/home\/opendaylight\/\r\nbash\u00a0.\/run.sh<\/pre>\n<p>Now the controller is running. The controller is listening on many TCP ports (8383, 33343, 12001, 60601, 6633, 47914, 7800, 6633) and the port 8080 &#8212; to be used to connect to the opendaylight controller using a web browser. Connect to <a title=\"http:\/\/127.0.0.1:8080\/\" href=\"http:\/\/127.0.0.1:8080\/\">http:\/\/127.0.0.1:8080\/<\/a>\u00a0. user=admin and password=admin . Port 6633 ist the port for network components running then Openflow protocol.<\/p>\n<div id=\"attachment_201\" style=\"width: 512px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.opencloudblog.com\/wp-content\/uploads\/2013\/10\/Opendaylight-Login-window.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-201\" class=\"size-medium wp-image-201\" src=\"http:\/\/www.opencloudblog.com\/wp-content\/uploads\/2013\/10\/Opendaylight-Login-window-502x360.jpg\" alt=\"Opendaylight-Login-window\" width=\"502\" height=\"360\" srcset=\"https:\/\/www.opencloudblog.com\/wp-content\/uploads\/2013\/10\/Opendaylight-Login-window-502x360.jpg 502w, https:\/\/www.opencloudblog.com\/wp-content\/uploads\/2013\/10\/Opendaylight-Login-window-150x107.jpg 150w, https:\/\/www.opencloudblog.com\/wp-content\/uploads\/2013\/10\/Opendaylight-Login-window.jpg 700w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/a><p id=\"caption-attachment-201\" class=\"wp-caption-text\">Opendaylight-Login-window<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Opendaylight Controller &#8212; Simple Version Opendaylight is an Openflow Controller\u00a0originally forked from\u00a0David Erickson\u2019s\u00a0Beacon controller. Many network component vendors are now contributing to this controller. Opendaylight Installation To install Opendaylight (version Hydrogen) on Ubuntu (and other Linux flavors) you need to get the source from\u00a0http:\/\/git.opendaylight.org\/gerrit\/p\/controller.git . You need marven to built the controller, and Java to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=\/wp\/v2\/posts\/192"}],"collection":[{"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192"}],"version-history":[{"count":14,"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=\/wp\/v2\/posts\/192\/revisions"}],"predecessor-version":[{"id":508,"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=\/wp\/v2\/posts\/192\/revisions\/508"}],"wp:attachment":[{"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opencloudblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}