Posts

Showing posts from 2015

Get Oracle Version details

Image
In this small post, I am sharing the commands to get details about the oracle version you are using. Although much detail is there in Oracle documentation, but thought of sharing this small tips :). Steps: Connect to Oracle DB using CLI or UI tool as you wish. Here I am connecting with Oracel SQL Developer. There are number of ways for getting the details. I sharing below ones. select * from v$version;    2. select version from v$instance;             3. select * from product_component_version;* Regarding the release number format, there is very good explanation on Oracle Doc site . Please go through it for details. Thanks!!

boot2docker Error

Image
I have installed boot2docker and when I tried to play with docker, I have started getting below error for every docker commands that I run. Error FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: An address incompatible with the requested protocol was used.. Are you trying to connect to a TLS-enabled daemon without TLS? I have checked about the vm status and everything seems good, as below: After some troubleshooting, I found that issue was with some system variables. Basically there are three variables, which you need to set to make this working. In windows you can use set command and in Linux you can use export command:    set DOCKER_HOST=tcp://192.168.59.103:2376        set DOCKER_CERT_PATH=C:\Users\kuldeep.d.sharma\.boot2docker\certs\boot2docker-vm       set DOCKER_TLS_VERIFY=1 Note: When you initialize your boot2docker, it will provide you all details and as...

Installing Jboss A-MQ 6.2

Image
Jboss A-MQ 6.2 has been released on 2015-06-23 with lots of bug fixes along with major switch from Active MQ 5.9 to 5.11. Below are the steps for installing the new version and exploring the messaging world :) . 1.) Download  JBoss A-MQ 6.2.0.GA Zip and md5 checksum to ensure the integrity. 2.) Compare the md5 checksum of zip file with downloaded one. 3.) If, both are same then unpack the archive. If you are unpacking the archive in windows, then make sure that you don't have any space and any special characters in name as %, $, # etc. 4.) Configure Users and Roles as per your requirements to $AMQ_HOME/etc/users.properties . Format will be as below. # USER=PASSWORD,ROLE1,ROLE2,… Note: I am using here simple admin password for demo, but in Live scenarios please choose strong password, as this password will be stored in plain text.  Jboss A-MQ 6.2 support RBAC(Role Based Access control), So we can assign different roles as per needed. ...

Chef Server Overview

Image
Currently we are leaving in digital world and IT Infrastructure is increasing day by day. In such situation it becomes difficult to manage number of servers, especially when we need to install or configure same thing on multiple systems.                               So, chef is going to make your task easy to manage whole infrastructure without much effort. Chef is used as automation framework with which we can install/deploy servers and applications to any VM, cloud and physical servers.  There were terms which we are going to use more often as we proceed: chef-client  :   This is the tool which is being installed on all the system managed by chef. It'll perform all task specified by runlist and also fetch any updated contents if any from chef-server. Workstation :  Workstation are the nodes/system configure to author changes and push them to server. We can also bootstrap new...

Reset root Password in Centos 7/Fedora Server 21

Image
Its mandatory to setup password for root account in Linux. Sometimes, we don't remember passowrd and somehow lose. There are the procedures for breaking it or you can say reset this to new one. Below is the step by step process for achieving the target  : Boot up your Fedora system, during bootsplash/bootscreen press arrow keys which will show you grub boot screen as below: Press "e" to enter into edit mode as below: After this scroll down to line starting with "linux16" and add "rw init=/bin/bash" at the end of line. Now what these parameter do is : rw : With this option kernel will mount the root File System in Read-Write mode. init=/bin/bash : In Linux/Unix based systems init is the first process which gets started during booting. Here we are asking to start bash shell instead of normal system initialization scripts. Now boot System using "Ctrl-x" as mentioned in screen as well and it will take you to bash ...