Tuesday, June 14, 2016

Howto Screenshot in Centos 6x

Simple way, in order to make a screenshot in Centos 6.x
[rx@localhost ~]$ cat /etc/redhat-release 
CentOS release 6.8 (Final)

[rx@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[rx@localhost ~]$ su -

Install this by typing:
yum install gnome-utils

 S a m p l e  of Screnshoot:



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

Tuesday, April 19, 2016

Centos 6

Work around using Centos 6 in Minimal mode:

To start:
Configure the network:

 [root@rex ~]#vi /etc/sysconfig/network-scripts/ifcfg-eth0
Dynamic IP configuration
 





Static IP configuration
 DEVICE=eth0
 HWADDR=08:00:27:CD:DD:9D
 TYPE=Ethernet
 UUID=43dec226-bd53-4ad2-af70-b80fe17f779b
 # change
 ONBOOT=yes
 NM_CONTROLLED=yes
 # change
 BOOTPROTO=none
 # add follows
 # this server's IP address
 IPADDR=10.10.0.50
 # subnet mask
 NETMASK=255.255.255.0
 # default gateway
 GATEWAY=10.0.0.1
 # DNS server's IP address
 DNS1=10.0.0.10
 IPV6INIT=no
 USERCTL=no 
:Restart network
 [root@rex ~]#/etc/rc.d/init.d/network restart  
:Check updated network address
 [root@rex ~]#chkconfig network on
 [root@rex ~]#ifconfig
:Display services | Adding and Stopping services you don't need
 [root@rex ~]#chkconfig --list
 [root@rex ~]#/etc/rc.d/init.d/netfs stop
 [root@rex ~]#chkconfig netfs off
Update it to the latest system
 [root@rex ~]#yum -y install yum-plugin-fastestmirror
 [root@rex ~]#yum -y update  
:Configure sudoer
 [root@rex ~]#visudo
 # add follows to the end: "cent" can use all root privilege
 cent    ALL=(ALL)       ALL
 
 

XenServer

This is just a an experiment if I can setup an old machine running Xenserver on VirtualBox in my LinuxMint with 5th Gen Processor.

What is Xenserver?
Citirix XenServer is a hypervisor platform that enables the creation and management of virtualized server infrastructure. It is developed by Citrix Systems and is built over the Xen virtual machine hypervisor. XenServerprovides server virtualization and monitoring services.

link courtesy: http://lpvirtualization.blogspot.com/2014/08/xenserver-installation-on-virtualbox.html

Sunday, March 20, 2016

Liberty Park

In my point of view paying high tax in the government is no problem at all, it's just a matter which is give and take. As I relish together with my family having time and enjoying a picnic with clean public place at Liberty Park. They do right thing serving the people.. Cheers!

Wednesday, March 9, 2016

Plan to OS Linux Change to Latest

Since 2011 I already started using Linux Mint 11 Katya, and no bugs and very stable almost 5 years that I rely on it, cheers to LinuxMint 11. Right now i have plan to migrate to new one for a reason of latest repo, maybe Centos, Debian or Fedora.