Posts

Build Project using Maven

Image
  Hey Readers,                  Welcome to Techie's Publications. In this blog, we are to see what is Maven,  why maven is being used, a simple maven project, and maven. Table of Content : Introduction. What is Maven and why Maven? Maven Lifecycles. What is pom.xml? Simple Maven project. Introduction:      As a DevOps engineer or a developer, one needs to know how to build/package a project and deliver it with proper structure. In this blog, we are going to see about a build tool called Maven, why it's been used, the life cycle of maven, and its features. What is Maven and why Maven?:      Maven is a popular open-source build tool developed by the Apache Group to build, publish, and deploy several projects at once for better project management. Maven facilitates the proper structure of the project. Maven is written in Java and is used to build projects written in C#, Scala, Ruby, etc. Based on the Proje...

Hosting Apache2 in a Ubuntu Container

Image
Hey All,                The purpose of this blog is to demonstrate how to host a web server service inside a container using a docker file. The application can be accessed from the browser by exposing the port. Let's get into the content and learn..... Table of Content : Prerequisites. Setting up the Environment. Creating Dockerfile and explanation. Build a docker image and run the docker container. Pushing the docker image to the repository. Prerequisites: Ubuntu Instance with the inbound rule of exposing port 80 to host the application. Docker engine should be installed in the instance. Setting up the Environment: Launch an EC2 instance from AWS console management with the inbound rule exposing port 80 of the host machine. After launching the EC2 instance, log into the host machine and follow the below commands to update and install the required services.     sudo apt update sudo apt install docker.io Click to Copy Creating th...