Skip to main content

Posts

Showing posts with the label Server

Do You Know How to Install Ansible on 64-bit Ubuntu 14.04 server

You just need to follow below steps: Step 1: Install the software-properties-common package $ sudo apt-get update && sudo apt-get install software-properties-common   Step 2: Add the Ansible repository to your system $ sudo apt-add-repository ppa:ansible/ansible Step 3: Install Ansible $ sudo apt-get update && sudo apt-get install ansible Configuring Ansible Hosts Ansible keeps track of all of the servers that it knows about through a “hosts” file. We need to set up this file first before we can begin to communicate with our other computers. Open the file with root privileges like this: sudo nano /etc/ansible/hosts   Copy You will see a file that has a lot of example configurations, none of which will actually work for us since these hosts are made up. So to start, let’s comment out all of the lines in this file by adding a “#” before each line. We will keep these examples in the file to help us with configuration if we want to implement more complex scenario...

Basic Docker Commands along with the information about Docker

 In previous blog we have discussed about Docker and the image of it. Today we are going to cover  basic list of Docker commands with some basic information of it like why you need to use Docker? How do you use Docker? etc.... Docker: 'A unique and smart way to build apps’, as stated on its website, is an open-source platform for building apps and micro-services. The catch here is the automated deployment of your app in a container, by OS level virtualization provided by Dockers. Dockers are better than VMs as you can do away with the additional costs for maintaining and starting the latter. By deploying your app and its dependencies (i.e. the per-requisite apps for its proper functioning) in a container, your app becomes portable during all the phases of development and testing. Moreover, the isolated apps eliminate conflicts, enable team collaboration, and reduce the time-to-market. When Do You Need to Use a Docker? For Docker CI/CD during numerous development phases (dev/te...