๐Ÿš€ Week 5 of My DevOps Journey: Git, Vagrant & Linux Servers

This week, I explored the foundational tools that make modern DevOps workflows smooth and scalable. From mastering Git for version control to spinning up Linux servers using Vagrant, each tool brought me a step closer to real-world infrastructure automation.

๐Ÿ” What I Learned This Week:

๐Ÿ—‚๏ธ Version Control with Git
Learned how to initialize repositories, stage/commit changes, and work with branches. Explored Git logs, diffs, merges, and rebasing to keep history clean and workflows efficient.

๐Ÿ“ฆ Vagrant for VM Automation
Understood how Vagrant simplifies virtual machine provisioning. Worked with Vagrantfile, synced folders, and provisioned Linux environments on the fly.

๐Ÿ–ฅ๏ธ Working with Linux Servers
Practiced logging into servers via SSH, updating packages, managing services, and setting up basic server configurations. Learned the importance of secure remote access and environment consistency.

๐Ÿง  Resources That Helped Me:

๐ŸŽฅ Course: Decoding DevOps โ€“ Git, Vagrant & Linux Servers
๐Ÿ”— Udemy Course Lecture

๐Ÿ“˜ Pro Git Book (https://git-scm.com/book/en/v2)

๐Ÿ“บ Vagrant in 100 Seconds
๐Ÿ”— https://www.youtube.com/watch?v=fg4y0KWlN0M

๐Ÿ› ๏ธ Tasks Completed:

โœ”๏ธ Created and managed multiple Git branches for isolated feature development.
โœ”๏ธ Resolved merge conflicts and rebased commits for a cleaner project history.
โœ”๏ธ Initialized a Vagrant box with Ubuntu and provisioned it using shell scripts.
โœ”๏ธ Accessed virtual servers via SSH and ran system-level commands.
โœ”๏ธ Simulated real-world Linux server environments for DevOps practice.

โš ๏ธ Common Errors & Solutions:

โŒ Error ๐Ÿ’ก Solution
Permission denied (publickey) while SSH-ing โ†’ Add your SSH key or use vagrant ssh directly
Merge conflict on rebase โ†’ Use git status, resolve conflicts, then git rebase --continue
"Command not found" inside VM โ†’ Update system with sudo apt update and install missing packages
Vagrant up hangs or fails โ†’ Check VirtualBox installation and Vagrant plugins

๐ŸŽฏ Biggest Takeaway:

Version control, virtualization, and Linux server management are pillars of DevOps. Learning to wield Git, automate with Vagrant, and navigate servers confidently is empowering โ€” like building the foundation of a DevOps lab right on your laptop.

Letโ€™s connect if youโ€™re diving into Git, Linux, or building virtual labs with Vagrant!

#DevOps #Git #Vagrant #LinuxServers #InfrastructureAsCode #VersionControl #SSH #Virtualization #Automation #SystemAdministration

0
Subscribe to my newsletter

Read articles from Mritunjay Tiwari directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mritunjay Tiwari
Mritunjay Tiwari