Category Archives: Uncategorized

Chef/ruby way – Read a file and expose as environment variable

Many time we have to read a property file in in which the variable and value are comma separated and we have to set those in our environment variable to execute certain recipes.   e.g. property file (/u01/data/wor/app/conf/conf.prop) ops_home = … Continue reading

Posted in ARTICLES, DevOps, HOWTO, Programming, TUTORIALS, Uncategorized | Tagged , , , , , | Leave a comment

Change tab width in vim

By default, inside vim the tab width is 8 spaces, we can reduce it using below steps. Create a .vimrc file in ~(home dir) and add below content.  Save it and now try. filetype plugin indent on ” show existing … Continue reading

Posted in SCRIPTING, TIPS & T RICS, Uncategorized | Tagged , , | Leave a comment

send foreground job/running process to run in background

1.Moving Linux job from Foreground Into background : start the program Ctrl+Z (Will pause the program on the terminal) jobs (find the job number from current shell) bg  %jobnum   NOTE : Here we are only sending the process into … Continue reading

Posted in HOWTO, OperatingSystem, TIPS & T RICS, TUTORIALS, Uncategorized | Tagged , , | Leave a comment

Chef Issue – Recover deleted user pivotal

By default “pivotal” is the only chef server superuser who has permission to CREATE users,orgnization, group etc in chef server.  So if by mistake you will delete the “pivotal” user with below command : # chef-server-ctl user-delete pivotal Then , … Continue reading

Posted in Configurtion management, DevOps, HOWTO, TIPS & T RICS, TROUBLESHOOT, Uncategorized | Tagged , , | Leave a comment

Docker Private Registry Setup

We can create our own secure private  docker repository where we can store our images and can be accessed from remote machine.   1. Goto /var/lib/docker in server and Create certificate using the domain name: cd /var/lib/docker && mkdir certs … Continue reading

Posted in DevOps, HOWTO, Operations, TUTORIALS, Uncategorized | Tagged , , , , , , | Leave a comment

Using Docker – Part 1

In this part we will go through some simple usage of docker command. Use -D with docker for debug mode. Docker images are Immutable and Containers are Ephemeral. How to get help ?? docker help docker <command> help 1. Check … Continue reading

Posted in ARTICLES, Container, DevOps, HOWTO, Operations, TIPS & T RICS, TUTORIALS, Uncategorized | Tagged , , , , , , | Leave a comment

Docker Concept & Setup

Why Containerization ? Up to now we have been working with monolithic applications where different components of service are packaged into a single application which is easy to develop, test and deploy.But when it becomes large and complex it’s become difficult … Continue reading

Posted in ARTICLES, Concepts, Container, HOWTO, OperatingSystem, TIPS & T RICS, TROUBLESHOOT, Uncategorized | Tagged , , , , , , | Leave a comment