Monthly Archives: June 2016

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

My Git commandline Cheat-sheet

Creating a new repository mkdir project cd project git init git remote add origin git@github.com:yourlogin/your-repo.git git add . git commit -am “new repository” git push -u origin master Cloning existing repository git clone https://github.com/username/your-repo.git Creating branch git checkout -b feature-1 … Continue reading

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

Forking vs Threading

What is Fork/Forking: Fork is nothing but a new process that looks exactly like the old or the parent process but still it is a different process with different process ID and having  it’s own memory. Parent process creates a … Continue reading

Posted in ARTICLES, Concepts, OperatingSystem, TUTORIALS, Uncategorized | Tagged , , , | Leave a comment