Posts

Deploy Sample Bootstrap Basic Website as Container inside Debian Linux

Image
  D ocker Images start from a base image. The base image should include the platform dependencies required by your application, for example, having the JVM or CLR installed. This base image is defined as an instruction in the Dockerfile. Docker Images are built based on the contents of a Dockerfile. The Dockerfile is a list of instructions describing how to deploy your application. In this example, our base image is the Alpine version of Nginx. This provides the configured web server on the Linux Alpine distribution. I assume that you already know the basics of Docker, and have it installed on your computer. If you haven’t any idea about containerization, then you can refer to this blog-  Installation  and  Getting started with docker . Step 1 - Create Dockerfile Create your  Dockerfile  for building your image by copying the contents below into the editor. FROM nginx:alpine COPY . /usr/share/nginx/html The first line defines our base image. The second line copies the content of the c

How to Register for CKA and CKS exam in CYBER MONDAY SALE !! Huge Discounts, SAVE MONEY !! Don't MISS this Chance

Image
 Hi All, The Linux Foundation's biggest sale of the year is about to end in 72 hours! (Dec 8th, 2020). This promotion is available to anyone who purchases the CNCF products between November 30, 2020, and December 8, 2020, midnight PT Link to Linux Foundation This is a Great Offer. They're offering up to 65% on certification bundles and 40% of individual certifications If your plans for 2021 include getting a Kubernetes CKA / CKAD / CKS certification, then this is the best time to purchase. What’s included in our online training? Hands-on Lab Assignments and Solutions Video Content 12 Months of Access to Online Course Discussion Forums Digital badge and PDF Certificate What’s included with their certifications? 1 year validity to prepare and deliver the exam. 1 FREE retake (2 attempts in total to clear the exam) Digital badge and PDF Certificate If you want to do the certification for the fun of it and want to learn eventually, go for it, you’ll enjoy it! Of course, no certifica

What is Docker? and Why you should use it.

Image
Docker is hotter than hot because it makes it possible to get far more apps running on the same old servers and it also makes it very easy to package and ship programs.  Here's a 10k feet overview of what you need to know about Docker. A Docker container can be seen as a computer inside your computer . The cool thing about this virtual computer is that you can send it to your friends; And when they start this computer and run your code they will get exactly the same results as you did. In short, you should use Docker because it allows you to  wrangle dependencies  starting from the operating system up to details such as R and Latex package versions it makes sure that your analyses are  reproducible . There are a couple of other points what Docker helps with: Portability: Since a Docker container can easily be sent to another machine, you can set up everything on your own computer and then run the analyses on e.g. a more powerful machine. Sharability: You can send the Docker contai

How to Install Jenkins on Windows and Create First Pipeline Job

Image
Learn how to install the popular continuous integration and delivery tool Jenkins on a Windows platform for DevOps. Jenkins  is one of the most popular tools for continuous integration and continuous delivery on any platform. A Java application, Jenkins has many plugins for automating almost everything at the infrastructure level. The use of Jenkins has widely increased rapidly due to a rich set of functionalities, which it provides in the form of plugins. In this tutorial, we will show a step by step guide on how to install Jenkins on a Windows platform. There are many CI servers in the industry like  CircleCI,  TeamCity, Bamboo,  Travis CI etc. But Most popular of all is the - Jenkins  The Following Video will explain Step-By-Step solution to download and install Jenkins in local machine and also, how you can create a sample pipeline job. Let me know incase of queries and doubts under comments section or email me.

How to Create Cloudfront Distribution on AWS with S3 Origin.

Image
Let's discuss about AWS Cloudfront Service. AWS Cloudfront service allows you to live you're static website code on the internet. So that, you don't have to go through traditional website hosting and domain purchase in order to just test you're code functionality and it's UI. If you have a website, application, or another web resource, you probably have static content. Static content includes files like images, videos, or music, or even scripts like .css or js. In the pre-cloud era, you would put those files on a standard server, and then serve them on the internet to all of your viewers, across the globe, from one specific geo location. But with cloud services, there’s a solution that provides faster delivery and better scalability. Here is the flow of what we are going to achieve : Website Code for this Tutorial, you can find on my Github below is direct link, you can either fork or download the source code and use it for demo. S3-Starter-Website-Github Link For V

Python Script for Subnet-Calculator

Image
Hi Guys, Sometimes it is important for a network admins to assign an IP address to multiple devices by doing manual calculations if he is working for a small organization who are not able to afford big commercial tools to automatically assign the IP address. This post will share with you a nice python script which helps you to calculate IP ranges available for given subnet mask and it will generate new IP for an admin to assign to a device. Here is the screenshot of the output for reference so than you can determine whether this output will any role in the work routine. Perquisites : You must have python installed. Python 3.7 or above.  You can also run this Python code in any other python supported IDE. Here is the DFD (Data-Flow diagram) of our application : Program Code:         ############# Application #1 - Part #1 ############# import random import sys def subnet_calc():     try:         print ("\n")               #Checking IP addr