Skip to main content

Posts

Showing posts with the label ubuntu

Docker Automated Builds

When it comes to " dockerization " of your application, it might be possible that your apps are under continuous development and needs to generate new docker image frequently based on the app updation. So, if haven't gone through my previous Articles regarding  Docker Overview  and  Docker Basics , then please go through those first. Solution : Automation of the Docker Build using Docker Automated Build feature of hub.docker.com How? Let's find out. All we have to do is to link Docker and Github to automate the build process. Following steps will teach you to do so with a sample project on Github. Step 1 : Create account on both Github.com and hub.docker.com Step 2 : Create a repository on the Github as per your requirements. Step 3 : Create a file named as "Dockerfile" with the following contents FROM ubuntu:16.04 USER root WORKDIR /root RUN apt-get update -y \     && apt-get install -y apache2 RUN ...

Ceph Single Node Setup Ubuntu

Single Node Ceph Install A quick guide for installing Ceph on a single node for demo purposes. It almost goes without saying that this is for tire-kickers who just want to test out the software. Ceph is a powerful distributed storage platform with a focus on spreading the failure domain across disks, servers, racks, pods, and datacenters. It doesn’t get a chance to shine if limited to a single node. With that said, let’s get on with it. Inspired from:  http://palmerville.github.io/2016/04/30/single-node-ceph-install.html Hardware This example uses a VMware Workstation 11 VM with 4 disks attached (1 for OS/App, 3 for Storage). Those installing on physical hardware for a more permanent home setup will obviously want to increase the OS disks for redundancy. To get started create a new VM with the following specs: ·         Name: ceph-single-node ·         Type: Linux ·     ...