Tuesday, April 22, 2014

Troubleshooting - How do I use JDK 7 on Mac OSX?

@You get a error in eclipse in Mac, 
/Library/Java/JavaVirtualMachines/1.7.0.jdk cannot execute binary file
  1. I Downloaded the latest OpenJDK 1.7 universal (32/64 bits) JDK from Mac OS/X branch from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
  2. copied the jdk to /Library/Java/JavaVirtualMachines/ next to the default 1.6.0 one
  3. In Eclipse > Preferences > Java > Installed JREs you add a new one, of type MacOS X VM, and set the home as /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home and name Java SE 7 (OpenJDK)
  4. Click Finish
  5. Set the added JRE as default
@Thank you 
http://stackoverflow.com/questions/6267392/how-do-i-use-jdk-7-on-mac-osx

Monday, April 21, 2014

Install - VirtualBox on CentOs

#
#https://wiki.archlinux.org/index.php/Virtualbox#Failed_to_create_the_host-only_network_interface

@ If there is the error, install the following modules
$ yum install yum-plugin-priorities
$ yum groupinstall "Development Tools"
$ yum install kernel-devel

@Install VirtualBox-4.3 on CentOs
$ yum install VirtualBox-4.3

@Removing old VirtualBox kernel modules
@Recompiling VirtualBox kernel modules
$ service vboxdrv setup

Maven - Configuration setting.xml

@ For maven3

Link - Ruby

@ Deploying Tool
http://capistranorb.com/

Sunday, April 20, 2014

Linux - B85M-ITX

@I installed the CentOs6.5, but the lan card wasn't work.
@I tried to install the following module to fix the network problem.

$ wget http://elrepo.org/linux/elrepo/el6/x86_64/RPMS/kmod-alx-0.0-8.el6.elrepo.x86_64.rpm
$ rpm -Uvh ./kmod-alx-0.0-8.el6.elrepo.x86_64.rpm

@ Added the network file
$ vim /etc/sysconfig/network


@ Added the network file
$ vim /etc/sysconfig/network-scripts/ifcfg-eth0

Wednesday, April 9, 2014

OpenStack - Check points

@If you install a 32-bit version of your distribution on the compute node, attempting to start an instance using a 64-bit image will fail.

@