How to Setup Linux Lab environment using VirtualBox, WSL & Vagrant

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare
VirtualBox
WSL
Vagrant
Linux Commands
============================================
How to Setup a Lab in our Laptop
- Laptop - FREE
- Cloud - PAID = AWS
================================================
Using Vm machine
=================================
What is Virtual Machine?
===========================
List of Hyperviosor
- VirtualBox
How to download and install VirtualBox?
- https://www.virtualbox.org/wiki/Downloads
- Download - exe
- Install
https://www.devopsschool.com/blog/how-to-configure-and-access-linux-vms-using-virtualbox-for-local-lab-and-practice/
<blockquote class="wp-embedded-content" data-secret="YroKCNMwBO"><a href="https://www.devopsschool.com/blog/how-to-create-linux-virtual-machine-using-virtualbox/">How To Create Linux Virtual Machine Using VirtualBox</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“How To Create Linux Virtual Machine Using VirtualBox” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/how-to-create-linux-virtual-machine-using-virtualbox/embed/#?secret=l609Efn9Ha#?secret=YroKCNMwBO" data-secret="YroKCNMwBO" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
How to create a VMs?
- Linux (Kernal)
Ubuntu 20.X == Debian Family
Desktop - GUI
Server  - NO UI
Centos 8    == RHEL Family
- Windows
16 19
Step 1 - Downlod a OS image (ISO)
- https://releases.ubuntu.com/focal/
- https://ubuntu.com/download
- http://isoredirect.centos.org/centos/7/isos/x86_64/
Step 2 - Create a VMS
Step 3 - Attach an ISO image to VM and Start
Assigment#1
=======================
Hard disk File: VDI Vs VHD Vs VMDK
===========================
RESULT - you would get VMS
=============================
How to access Linux VM using Network?
====================================
<blockquote class="wp-embedded-content" data-secret="FKAqXoxvbL"><a href="https://www.devopsschool.com/blog/secure-shell-ssh-tools/">Secure Shell (SSH) Tools</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“Secure Shell (SSH) Tools” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/secure-shell-ssh-tools/embed/#?secret=kwYhUn9m6R#?secret=FKAqXoxvbL" data-secret="FKAqXoxvbL" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<blockquote class="wp-embedded-content" data-secret="7PiGTD4KVk"><a href="https://www.devopsschool.com/blog/list-of-free-tools-for-tabbed-multiple-linux-ssh-putty-sessions/">List of Free Tools for Tabbed Multiple Linux SSH / Putty sessions</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“List of Free Tools for Tabbed Multiple Linux SSH / Putty sessions” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/list-of-free-tools-for-tabbed-multiple-linux-ssh-putty-sessions/embed/#?secret=uTMiAucRcF#?secret=7PiGTD4KVk" data-secret="7PiGTD4KVk" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
How to Login to Linux Server using Putty?
<blockquote class="wp-embedded-content" data-secret="w8g1lcEZeP"><a href="https://www.devopsschool.com/blog/how-to-login-to-linux-server-using-putty/">How to Login to Linux Server using Putty?</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“How to Login to Linux Server using Putty?” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/how-to-login-to-linux-server-using-putty/embed/#?secret=72jkjx7FYh#?secret=w8g1lcEZeP" data-secret="w8g1lcEZeP" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
Assignment#2
NAT vs Bridge Adapter vs Host Only Adapter Vs Not Attached
10.0.2.15
192.168.1.8
==================================
WSL
=========================================
Step 1 - Install WSL
Step 2 - Go to Store and Install Ubuntu
Step 3 - Go to start menu and click on Ubuntu and use it
===================================================
How to connect LINUX?
======================================
<blockquote class="wp-embedded-content" data-secret="vID5MaOjJ1"><a href="https://www.devopsschool.com/blog/how-to-login-linux-server-using-ssh/">How to login linux server using ssh?</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“How to login linux server using ssh?” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/how-to-login-linux-server-using-ssh/embed/#?secret=HttGycZ2Hg#?secret=vID5MaOjJ1" data-secret="vID5MaOjJ1" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
What is Vagrant?
-------------------
cmd line tool
for what?
Creating a VM
Config a vm
Sharing a Vms
using commands line
By Hashicorp
Written in Go
How to install it?
https://developer.hashicorp.com/vagrant/downloads
Prered
virtualbox
<blockquote class="wp-embedded-content" data-secret="o1D5j7WEnJ"><a href="https://www.devopsschool.com/blog/vagrant-tutorial-basic-workflow/">Vagrant Tutorial: Basic Workflow</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“Vagrant Tutorial: Basic Workflow” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/vagrant-tutorial-basic-workflow/embed/#?secret=uhEAPZyP2w#?secret=o1D5j7WEnJ" data-secret="o1D5j7WEnJ" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<blockquote class="wp-embedded-content" data-secret="8BGTUhlbBE"><a href="https://www.devopsschool.com/blog/hashicorp-packer-tutorial-creating-vagrant-box/">Hashicorp Packer Tutorial: Creating Vagrant Box</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“Hashicorp Packer Tutorial: Creating Vagrant Box” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/hashicorp-packer-tutorial-creating-vagrant-box/embed/#?secret=hcP04BUkUr#?secret=8BGTUhlbBE" data-secret="8BGTUhlbBE" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
OS image
------------------------------------
VirtualBox		Vagrant
====================================
ISO			Box
Code language: HTML, XML (xml)
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x