Skip to main content

Command Palette

Search for a command to run...

Latest articles

COMPREHENSIVE STEPS TO CREATING A VIRTUAL MACHINE IN WINDOWS AND LINUX.

COMPREHENSIVE STEPS TO CREATING A VIRTUAL MACHINE IN WINDOWS AND LINUX.

Step by step guide in Installing Windows and Linux virtual machines (VMs). βœ… Method 1 (Recommended): Use VirtualBox πŸ–₯ Step 1: Download VirtualBox Go to the official website of Oracle VM VirtualBox Download the Windows hosts version Install it like a normal program 🐧 Installing a Linux Virtual Machine Step 2: Download a Linux ISO Choose a beginner-friendly Linux version like: πŸ”Ή Ubuntu (Very Easy for Beginners) 4 Download from: Ubuntu official website You will download a file ending in .iso Step 3: Create the Linux VM in VirtualBox Open VirtualBox Click New Name it: Ubuntu Type: Linux Version: Ubuntu (64-bit) Allocate: RAM: At least 2GB (2048MB) Storage: At least 20GB Then: Click Start Select the Ubuntu ISO file Follow the installation steps Done βœ… You now have Linux running inside Windows. πŸͺŸ Installing a Windows Virtual Machine Step 1: Download Windows ISO Download Windows from Windows 11 official site (or Windows 10 if your PC is older) Step 2: Create Windows VM in VirtualBox Click New Name it: Windows 11 Type: Microsoft Windows Version: Windows 11 (64-bit) Allocate: RAM: At least 4GB (4096MB) Storage: At least 40GB Click Start Select the Windows ISO Install normally like a new computer πŸ’‘ Important Settings (Very Important) If 64-bit options don't show: Restart your PC Enter BIOS Enable Virtualization Technology (VT-x or AMD-V) ⚑ Alternative (More Advanced Option) Instead of VirtualBox, you can use: VMware Workstation Player (Free for personal use) Hyper-V (Built into Windows Pro versions) 🧠 Minimum PC Requirements For smooth running: 8GB RAM (recommended) At least 100GB free space Virtualization enabled If you want, tell me: How much RAM your PC has? Are you installing Linux inside Windows, or Windows inside Linux? I can guide you step-by-step for your exact setup 😊 in Azure how do you install windows and linux virtual machines Installing Windows and Linux Virtual Machines in Microsoft Azure is done from the Azure Portal. I’ll walk you through both step-by-step.==== ☁️ What You Need First An active Azure account Microsoft Azure A subscription (Free trial works fine) A credit/debit card (for verification if new account) πŸͺŸ How to Create a Windows VM in Azure 4 Step 1: Sign in Go to portal.azure.com and log in. Step 2: Create a Virtual Machine Click Create a resource Click Virtual Machine Click Create Step 3: Basics Tab Fill in: Subscription – Select yours Resource Group – Create new (example: MyVMGroup) VM Name – Example: WindowsVM Region – Choose closest to you (e.g., West Europe) Image – Choose: Windows Server 2022 OR Windows 11 Size – Choose a size like B2s (good for testing) Username & Password – Create admin login Step 4: Inbound Ports Allow: βœ… RDP (3389) (important for Windows) Step 5: Review + Create Click Review + Create β†’ Create ⏳ Wait 2–5 minutes. Step 6: Connect to Windows VM After deployment: Go to VM Click Connect Select RDP Download RDP file Login with your username/password You now have a Windows machine running in the cloud πŸŽ‰ 🐧 How to Create a Linux VM in Azure 4 Step 1: Create β†’ Virtual Machine (same as above) Step 2: Basics Tab Fill in: VM Name: LinuxVM Image: Choose: Ubuntu Server 22.04 LTS OR Red Hat Enterprise Linux Authentication type: SSH public key (recommended) OR Username + Password Step 3: Inbound Ports Allow: βœ… SSH (22) Step 4: Review + Create β†’ Create Step 5: Connect to Linux VM On Windows: Open Command Prompt or PowerShell: ssh username@publicIPaddress Example: ssh azureuser@20.45.33.10 Enter password or use SSH key. You now have a Linux server running in Azure πŸš€ πŸ’° Important: Avoid Extra Charges After testing: Go to VM β†’ Click Stop OR delete the Resource Group completely Azure charges while VM is running. How to install a Windows and a Linux Virtual Machines. Firstly, go to the Azure Portal, click on virtual machines logo select create and select virtual machines on the drop down. It carries you to an open field to fill out the form Azure subscription 1 coms by default Firstly, is the RRSOURCE GROUP Next is the Virtual Machine name Then the Region: US West 3 Availability option: No infrastructural redundancy required Security type: Standard Image drop down: For windows select windows 10/11 pro For Linux select Ubuntu Server Azure spot Discount (ignore) Size: Standard B1 Hibernation: (ignore) Administrator Account: Put in Username and Password Inbound Public Ports: RDP Licensing: Tick corrects Click on Review and Create Click on create again for the VALIDATION PROCESS to be completed

Mar 2, 20261 min read