2014년 7월 8일 화요일

Opendaylight installation on Ubuntu (http://www.opencloudblog.com/?p=192)

Before installing Opendaylight on the  Ubuntu, we should check the jdk version.
Because Opendaylight is installed with jdk version >=1.8.  (latest technology works with only latest one)

1. On the terminal type : java -version
2.  If jdk version is less than 1.8.**** 
3.  Remove open jdk completely 
sudo apt-get purge openjdk-\*
1. Installing Oracle Java manually

Download the Oracle Java JDK for Linux. Make sure you select the correct compressed binaries for your system architecture 32-bit or 64-bit (which end in tar.gz).It will be downloaded in Downloads folder in home.So first open nautilus with sudo as
sudo apt-get install samba (prerequist)
sudo nautilus 
and make a folder java under
/usr/local/
and then folow the following commands:
cd /home/"your_user_name"/Downloads
sudo cp -r jdk-8u5-linux-i586.tar.gz /usr/local/java
cd /usr/local/java
sudo chmod a+x jdk-8u5-linux-i586.tar.gz
sudo tar xvzf jdk-8u5-linux-i586.tar.gz

At this point you should have two uncompressed binary directories in /usr/local/java check it by
 ls -a

Now edit the system path file by
sudo gedit /etc/profile
scroll down to the last and add following lines
JAVA_HOME=/usr/local/java/jdk1.8.0_05
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
Save and exit and write these commands in terminal to Inform your Ubuntu Linux system where your Oracle Java JDK/JRE is located.
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_05/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_05/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.8.0_05/bin/javaws" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_05/bin/java
sudo update-alternatives --set javac /usr/local/java/jdk1.8.0_05/bin/javac
sudo update-alternatives --set javaws /usr/local/java/jdk1.8.0_05/bin/javaws
. /etc/profile
Now everything is installed just check it by
java -version 
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) Client VM (build 25.5-b02, mixed mode)

5. Opendaylight Installation

To install Opendaylight on Ubuntu (and other Linux flavors) you need to get the source from http://git.opendaylight.org/gerrit/p/controller.git .
You need marven to built the controller, and Java to run the controller – 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 (sudo vi ~/.bashrc)
export MAVEN_OPTS="-Xmx4096m -XX:MaxPermSize=1024m"

sudo su # change to root
# B U I L T   T H E   C O N T R O L L E R
# get the dependencies
apt-get install maven git openjdk-7-jre openjdk-7-jdk
# get the source code
git clone http://git.opendaylight.org/gerrit/p/controller.git
# built the controller
# both mvn commands are downloading a lot of additional stuff
# from the marven and opendaylight site
cd controller/opendaylight/distribution/opendaylight/
mvn clean
mvn install
#  optional: -DskipTests
cd target/distribution.opendaylight-osgipackage/opendaylight
# copy the software to a target directory ( in the example here /home/opendaylight/ )
cp -dpRv * /home/opendaylight/
Then open a console and start the controller with the commands – do no run the controller as root
1. cd /home/opendaylight/
2. sudo bash ./run.sh
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 — to be used to connect to the opendaylight controller using a web browser. Connect to http://127.0.0.1:8080/ . user=admin and password=admin . Port 6633 ist the port for network components running then Openflow protocol

2014년 7월 1일 화요일

3^3 nas hursen ene odor

Anh yag neg jiliin umnu ooriin amidrald tohioson sonin hachin bolon surch medsen zuilee bichij temdeglej baihaar enehuu blogoo neej bilee. Mastert surahaar science instituted orood ogloo 10-s shoniin 11 hurtel laboratorid suuj ehelj bsan ter much, hundhen bjdeee... Sain dasaagvi humuus, hund hicheel, sudalgaanii ajiliin sedew oloh, tosoluud deer ajillaj ehleh geed l hund hetsuu bas shamtarmaar bsan vevvd sayhan met sanagdhiim. Gewch onoodor todohroi hemjeend hund berhuudiig ardaa dawan tuulaad 2 tosol deer ajilsan turshlaga, mergejliin  hicheelvvdiinhee dvng amjilttai gargasan ololt, erdmiin ajiliin sedwee olood  OU-n erdem shinjilgeenii hurald hewlvvlheer meriij bui onoodriin charmailt. Magadgvi uym yaj ch ergej magadgvi bh, gehdee l hund teswer tewcheer hatuujil uigagvi hicheel zutgel uy uynaas ilvv gedgiiig ene neg jiliin hugatsaand mederlee.        
                                       

Aan tiin tursun udur maani bolj bgaashdee.... Ongorson jil negdeh odor bolj bsan birthday ene jil 2 dahi odor tohioloo. Odor labiinhantaigaa huslee shiwneed laagaa uleen cake huwaaj ideed baytshaan temdeglesen bol, odoo  yaahnuu?Garch surguuliinhaa gadaad ouytnuudtai niilj bytshan birthday party hiingee holbombog uzehni bnshdee.

1st of July, 2014.                                                                           Gwangju, South Korea