DevOps Quest: One Week Deployment Challenge :Day 02

Satish Gore
1 min readApr 12, 2024

--

In Day 1 of our DevOps project, we discussed the project goals and set up our development environment. Now, let’s dive into creating the basic infrastructure and installing essential tools for our project.

1. Installing KVM (Kernel-based Virtual Machine)

KVM is a virtualization solution for Linux that allows us to run multiple virtual machines on a single physical host. Here’s how to install KVM on Ubuntu:

sudo apt update
sudo apt install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils

2. Creating Virtual Machines

virt-install --name my-vm --memory 2048 --vcpus 2 --disk size=20 --cdrom /path/to/iso --network bridge=br0

3. Installing Jenkins

docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk11

4. Installing Ansible

sudo apt update
sudo apt install -y ansible

for complete steps please use below document.

https://github.com/satishgore01/php-webapp/tree/915350cfdd20c1a3f3ebe12d0926de170caef4cd/project_Day02

By completing Day 2 of our DevOps project, we’ve set up the basic infrastructure and installed essential tools like KVM, Jenkins, and Ansible. In Day 3, we’ll dive deeper into configuring Jenkins pipelines and automating our development workflow.

Stay tuned for Day 3 of our DevOps journey!

--

--