Working on my Nagios Core 3.5.1 on my virtual Centos 6.4 Minimalist
The portal influence to create blogs that content info¦updates about Linux, Unix and OpenSource + other tech topics...®
Friday, April 22, 2016
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
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
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
NM_CONTROLLED=yes
IPV6INIT=no
USERCTL=no
[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
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=yesNM_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.10IPV6INIT=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
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
Subscribe to:
Posts (Atom)