Friday, April 22, 2016

Nagios Core

Working on my Nagios Core 3.5.1 on my virtual Centos 6.4 Minimalist

Thursday, April 21, 2016

Wednesday, April 20, 2016

Android Starter

Howto install Android Studio for beginners.
1. Download Android Studio http://developer.android.com/sdk/index.html
2. Unpack the .zip file and point it to your preferred localtion such as /usr/local/ for your user profile or /opt/ for shared users.
root@Inspiron-1525:~/Download# unzip android-studio-ide-143.2739321-linux.zip  -d /opt
3.To launch Android Studio, open a terminal, navigate to the /opt/android-studio/bin/ directory and execute the studio.sh 
root@Inspiron-1525:~/Download#cd /opt/android-studio/bin
root@Inspiron-1525:~/opt/android-studio/bin#sh studio.sh
4. The  Android Studio Wizard guides you though the rest of the setup, and includes download SDK components which is required for development.

Note: If you are running 64 bit Linux OS, install the following:
  For Ubuntu
     sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
  For Fedora
     sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

Install Java SE Development Kit 8

Howto install Java SE Development Kit 8 on Linux terminal

1. Download at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. Check existing java version in your system and OS version.
  rex@Inspiron-1525:~$ javac -version
  rex@Inspiron-1525:~$ uname -m
3. Change to root priviledge and make the following directory.
  rex@Inspiron-1525:~$ sudo su
  root@Inspiron-1525:/home/ronald# mkdir /opt/jdk
4. Extract the .tar.gz file downloaded and open new created directory
  root@Inspiron-1525:~/Downloads# tar -zxf jdk-8u91-linux-x64.tar.gz  -C /opt/jdk
  root@Inspiron-1525:~/Downloads# ls /opt/jdk/
5.Setting Oracle JDK as the default JVM
root@Inspiron-1525:~/Downloads# update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_91/bin/java 100
root@Inspiron-1525:~/Downloads# update-alternatives --install /usr/bin/javac javac  /opt/jdk/jdk1.8.0_91/bin/javac 100
6. Verify your installation.
  root@Inspiron-1525:~/Downloads# update-alternatives  --display java
  root@Inspiron-1525:~/Downloads# update-alternatives  --display javac