+
+
+
choo
+
+
node
+
+
groovy
=>
โˆ‘
next
+
linux
+
+
_
+
rocket
vercel
+
+
+
hugging
+
โˆš
+
julia
c
+
grpc
+
zig
โˆช
+
ansible
+
+
+
+
+
gitlab
adonis
+
yarn
marko
+
hack
+
packer
+
+
graphdb
node
fortran
graphql
+
neo4j
+
sinatra
+
xml
jquery
swc
+
+
nuxt
sinatra
+
+
โˆ‘
backbone
eclipse
+
+
py
+
fastapi
+
express
_
c++
circle
===
django
+
+
parcel
tf
Back to Blog
๐Ÿ’ป How to Install AlmaLinux on VirtualBox: Complete Step-by-Step Tutorial
almalinux virtualbox virtualization

๐Ÿ’ป How to Install AlmaLinux on VirtualBox: Complete Step-by-Step Tutorial

Published Sep 16, 2025

Master AlmaLinux installation on VirtualBox! Beginner-friendly guide with screenshots, network setup, and troubleshooting. Perfect for learning Linux safely on Windows or Mac.

16 min read
0 views
Table of Contents

๐Ÿ’ป How to Install AlmaLinux on VirtualBox: Complete Step-by-Step Tutorial

Want to learn Linux without messing up your computer? ๐Ÿš€ VirtualBox lets you run AlmaLinux safely inside Windows or Mac, perfect for learning, testing, and development! In this beginner-friendly guide, weโ€™ll install AlmaLinux on VirtualBox step-by-step. No Linux experience needed - letโ€™s create your first virtual Linux machine! โšก

๐Ÿค” Why Use VirtualBox for AlmaLinux?

VirtualBox is the perfect way to explore Linux! ๐ŸŒŸ Hereโ€™s why beginners love it:

  • ๐Ÿ†“ Completely Free: Open-source and costs nothing
  • ๐Ÿ›ก๏ธ Risk-Free Learning: Canโ€™t damage your main computer
  • ๐Ÿ”„ Easy Reset: Mess up? Just delete and start over!
  • ๐Ÿ“ธ Snapshots: Save your progress like game checkpoints
  • ๐ŸŒ Cross-Platform: Works on Windows, Mac, and Linux
  • ๐ŸŽฏ Perfect Testing: Try software without commitment
  • ๐Ÿ“š Learn Safely: Practice commands worry-free
  • ๐Ÿ’ผ Professional Skills: Used in real IT environments

Over 10 million developers use VirtualBox for learning! ๐Ÿ†

๐ŸŽฏ What You Need

Letโ€™s check youโ€™re ready to start! โœ…

  • โœ… Computer with Windows, Mac, or Linux
  • โœ… At least 4GB RAM (8GB+ recommended)
  • โœ… 25GB free disk space
  • โœ… Internet connection for downloads
  • โœ… VirtualBox installed (weโ€™ll show you how!)
  • โœ… AlmaLinux ISO file (weโ€™ll download it)
  • โœ… 45 minutes for complete setup
  • โœ… Excitement to learn Linux! ๐ŸŽ‰

Letโ€™s build your virtual Linux lab! ๐Ÿš€

๐Ÿ“ Step 1: Download and Install VirtualBox

First, letโ€™s get VirtualBox on your computer! ๐ŸŽฏ

For Windows Users:

# Download VirtualBox from official website
# Go to: https://www.virtualbox.org/wiki/Downloads
# Click "Windows hosts" link
# Save the installer (about 100MB)

# Run the downloaded installer
# Double-click: VirtualBox-7.0.12-159484-Win.exe

# Installation steps:
1. Click "Next" on welcome screen
2. Accept default features, click "Next"
3. Accept shortcuts, click "Next"
4. Warning about network - click "Yes"
5. Click "Install" (admin password required)
6. Click "Finish" to launch VirtualBox

For Mac Users:

# Download VirtualBox for Mac
# Go to: https://www.virtualbox.org/wiki/Downloads
# Click "macOS / Intel hosts" or "macOS / Arm64"
# Download the .dmg file

# Install VirtualBox:
1. Open the downloaded .dmg file
2. Double-click VirtualBox.pkg
3. Click "Continue" through installer
4. Enter your Mac password when prompted
5. Click "Install"
6. Open VirtualBox from Applications folder

For Linux Users:

# Ubuntu/Debian:
sudo apt update
sudo apt install virtualbox virtualbox-ext-pack -y

# Fedora:
sudo dnf install VirtualBox -y

# Arch Linux:
sudo pacman -S virtualbox

# Add user to vboxusers group
sudo usermod -aG vboxusers $USER
# Log out and back in for group changes

Perfect! ๐ŸŽ‰ VirtualBox is installed!

๐Ÿ”ง Step 2: Download AlmaLinux ISO

Now letโ€™s get AlmaLinux! ๐Ÿ“ฅ

# Go to AlmaLinux website
# Visit: https://almalinux.org/get-almalinux/

# Choose version:
# AlmaLinux 9 - Latest version (Recommended)
# AlmaLinux 8 - Long-term stable

# Download options:
1. Click "Download" for AlmaLinux 9
2. Choose mirror close to your location
3. Download: AlmaLinux-9.3-x86_64-dvd.iso (8.5GB)
   OR
   Download: AlmaLinux-9.3-x86_64-minimal.iso (1.5GB) for faster setup

# Alternative: Use torrent for faster download
# Click "Torrent" option if available

Download locations:

  • Save to: Downloads folder
  • Note the location - weโ€™ll need it soon!

Verify download (optional but recommended):

# Windows (PowerShell):
Get-FileHash AlmaLinux-9.3-x86_64-dvd.iso -Algorithm SHA256

# Mac/Linux:
sha256sum AlmaLinux-9.3-x86_64-dvd.iso

# Compare with official checksum from website

Amazing! ๐ŸŒŸ AlmaLinux ISO is ready!

๐ŸŒŸ Step 3: Create Virtual Machine in VirtualBox

Time to create your virtual machine! ๐Ÿ–ฅ๏ธ

# Open VirtualBox
# Click "New" button (or Machine โ†’ New)

Configure your VM:

Screen 1: Name and Operating System

Name: AlmaLinux 9
Folder: (keep default or choose location)
ISO Image: Browse and select your AlmaLinux ISO
Type: Linux
Version: Red Hat (64-bit)
โ˜‘ Skip Unattended Installation (important!)
Click "Next"

Screen 2: Hardware Settings

Base Memory: 2048 MB (minimum)
            4096 MB (recommended)
            8192 MB (if you have 16GB+ RAM)

Processors: 2 CPUs (recommended)
           4 CPUs (if you have 8+ cores)

โ˜‘ Enable EFI (optional, for UEFI boot)
Click "Next"

Screen 3: Virtual Hard Disk

โ—‹ Create a Virtual Hard Disk Now
Disk Size: 20 GB (minimum)
          40 GB (recommended)
          60 GB (comfortable)

โ˜ Pre-allocate Full Size (faster but uses space immediately)
Click "Next"

Review and Create

Review settings:
- Name: AlmaLinux 9
- RAM: 4096 MB
- CPUs: 2
- Storage: 40 GB

Click "Finish"

Excellent! โšก Virtual machine created!

โœ… Step 4: Configure VM Settings (Important!)

Before starting, letโ€™s optimize settings! โš™๏ธ

# Select your VM and click "Settings"

System Settings:

System โ†’ Motherboard:
โ˜‘ Enable I/O APIC
โ˜‘ Hardware Clock in UTC Time
Boot Order: Optical, Hard Disk (drag to reorder)

System โ†’ Processor:
Processors: 2-4 CPUs
Execution Cap: 100%
โ˜‘ Enable PAE/NX

System โ†’ Acceleration:
Paravirtualization: Default
โ˜‘ Enable VT-x/AMD-V
โ˜‘ Enable Nested Paging

Display Settings:

Display โ†’ Screen:
Video Memory: 128 MB
Graphics Controller: VMSVGA
โ˜‘ Enable 3D Acceleration

Storage Settings:

Storage โ†’ Controller: IDE โ†’ Empty:
Click disk icon โ†’ Choose Virtual Optical Disk File
Select your AlmaLinux ISO
โ˜‘ Live CD/DVD

Network Settings:

Network โ†’ Adapter 1:
โ˜‘ Enable Network Adapter
Attached to: NAT (for internet access)
           OR Bridged Adapter (for network access)

Advanced:
Adapter Type: Intel PRO/1000 MT Desktop
โ˜‘ Cable Connected

Shared Folders (Optional):

Shared Folders:
Click + to add folder
Folder Path: Choose folder on host
Folder Name: shared
โ˜‘ Auto-mount
โ˜‘ Make Permanent

Perfect! ๐Ÿ† VM is configured optimally!

๐Ÿ”ง Step 5: Start Installation

Letโ€™s install AlmaLinux! ๐Ÿš€

# Click "Start" button (green arrow)
# VM window opens with boot menu

Boot Menu:

Use arrow keys to select:
> Install AlmaLinux 9.3

Press Enter to start installation

Language Selection:

Welcome to AlmaLinux 9.3:
Select language: English
Select location: United States
Click "Continue"

Installation Summary:

Main installation hub appears
We'll configure each section:

1. Localization:

Keyboard:
- Add your keyboard layout if needed
- Test in text field

Time & Date:
- Select your timezone
- Enable "Network Time" (NTP)

2. Software:

Software Selection:
Choose one:
- Server with GUI (recommended for beginners)
- Server (minimal, command line only)
- Workstation (desktop environment)

Additional software will be selected automatically

3. System:

Installation Destination:
- Select the virtual disk (40 GB)
- Storage Configuration: Automatic
- Click "Done"

Network & Host Name:
- Ethernet: Toggle ON
- Host name: almalinux.local (or choose your own)
- Click "Apply" then "Done"

4. User Settings:

Root Password:
- Set strong root password
- Type: MySecureRoot123!
- Confirm password
- Click "Done" (twice if weak password)

User Creation:
- Full name: Your Name
- Username: yourusername
- โ˜‘ Make this user administrator
- โ˜‘ Require password
- Password: YourUserPass456!
- Click "Done"

Begin Installation:

Click "Begin Installation"

Installation progress:
- Installing packages (15-20 minutes)
- Configuring system
- Setting up users
- Installing bootloader

When complete:
Click "Reboot System"

Fantastic! ๐ŸŽ‰ AlmaLinux is installing!

๐ŸŒŸ Step 6: First Boot and Initial Setup

After reboot, letโ€™s complete setup! ๐ŸŽฏ

License Agreement:

License Information:
- Click "License Information"
- โ˜‘ I accept the license agreement
- Click "Done"
- Click "Finish Configuration"

Login Screen:

Click your username
Enter password
Press Enter or click "Sign In"

Welcome Screen (if GUI installed):

Welcome to GNOME:
- Select language
- Select keyboard
- Configure privacy settings
- Connect online accounts (optional)
- Click "Start Using AlmaLinux"

Amazing! ๐ŸŒŸ Youโ€™re in AlmaLinux!

๐ŸŽฎ Quick Examples

Essential first tasks in AlmaLinux! ๐ŸŽฏ

Example 1: Install VirtualBox Guest Additions

# Improves performance and features
# In VirtualBox menu: Devices โ†’ Insert Guest Additions CD

# In AlmaLinux terminal:
sudo dnf update -y
sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl -y

# Mount and install Guest Additions
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom
sudo ./VBoxLinuxAdditions.run

# Reboot for changes
sudo reboot

# After reboot, you get:
# - Better screen resolution
# - Clipboard sharing
# - Drag and drop files
# - Shared folders

Example 2: Update System

# Open Terminal (right-click desktop โ†’ Open Terminal)

# Update all packages
sudo dnf update -y

# Install useful software
sudo dnf install -y vim nano wget curl git

# Check system info
cat /etc/redhat-release
uname -a
hostname
ip addr show

# Check disk space
df -h

# Check memory
free -h

Example 3: Configure Network

# Check network status
ip addr show
ping google.com -c 4

# Configure static IP (if needed)
sudo nmtui
# Or use command line:
sudo nmcli con mod "Wired connection 1" \
  ipv4.addresses 192.168.1.100/24 \
  ipv4.gateway 192.168.1.1 \
  ipv4.dns 8.8.8.8 \
  ipv4.method manual

# Restart network
sudo nmcli con down "Wired connection 1"
sudo nmcli con up "Wired connection 1"

Example 4: Create Snapshot

# In VirtualBox (not in VM):
# 1. Shut down VM first
sudo shutdown -h now

# 2. In VirtualBox Manager:
# Select VM โ†’ Snapshots tab
# Click "Take" button
# Name: Fresh Install
# Description: Clean AlmaLinux after installation
# Click "OK"

# Now you can always restore to this point!

๐Ÿšจ Fix Common Problems

VirtualBox troubleshooting made easy! ๐Ÿ”ง

Problem 1: โ€œVT-x is not availableโ€

Solution:

# Enable virtualization in BIOS:
1. Restart computer
2. Press F2/F10/Delete during boot (depends on PC)
3. Find "Virtualization" or "VT-x" or "AMD-V"
4. Enable it
5. Save and exit BIOS

# Verify on Windows:
# Open Task Manager โ†’ Performance โ†’ CPU
# Check "Virtualization: Enabled"

Problem 2: VM is Very Slow

Solution:

# Increase resources:
1. Shut down VM
2. Settings โ†’ System โ†’ Motherboard
   - Increase RAM to 4096MB+
3. Settings โ†’ System โ†’ Processor
   - Increase to 2-4 CPUs
4. Settings โ†’ Display
   - Video Memory: 128MB
   - Enable 3D Acceleration

# Install Guest Additions (see Example 1)

Problem 3: No Internet in VM

Solution:

# Check VirtualBox network:
Settings โ†’ Network โ†’ Adapter 1
- Attached to: NAT or Bridged Adapter
- โ˜‘ Cable Connected

# In AlmaLinux:
sudo systemctl restart NetworkManager
sudo dhclient -v

# Test connection:
ping 8.8.8.8

Problem 4: Canโ€™t Copy/Paste

Solution:

# Install Guest Additions first
# Then in VirtualBox:
Devices โ†’ Shared Clipboard โ†’ Bidirectional
Devices โ†’ Drag and Drop โ†’ Bidirectional

# Restart VM
sudo reboot

๐Ÿ“‹ Simple Commands Summary

TaskCommand
Start VMClick Start button
Shutdown VMsudo shutdown -h now
Restart VMsudo reboot
Take SnapshotMachine โ†’ Take Snapshot
Full ScreenRight Ctrl + F
Scale WindowView โ†’ Scaled Mode
Release MouseRight Ctrl
Open TerminalRight-click โ†’ Terminal
Update Systemsudo dnf update

๐Ÿ’ก Tips for Success

Master VirtualBox with these pro tips! ๐ŸŒŸ

  • ๐Ÿ“ธ Snapshot Often: Before major changes
  • ๐Ÿ’พ Backup VMs: Export for safety
  • ๐Ÿ”ง Guest Additions: Always install for best performance
  • ๐Ÿ“Š Monitor Resources: Donโ€™t over-allocate RAM
  • ๐ŸŒ Network Modes: NAT for internet, Bridged for LAN
  • ๐Ÿ“ Shared Folders: Easy file transfer
  • ๐ŸŽฏ Clone VMs: Fast way to create similar setups
  • โšก SSD Storage: Put VMs on SSD for speed
  • ๐Ÿ“š Practice Freely: Canโ€™t break anything!
  • ๐Ÿ”„ Regular Updates: Keep both VirtualBox and Linux updated

๐Ÿ† What You Learned

Congratulations! Youโ€™ve mastered VirtualBox! ๐ŸŽ‰

  • โœ… Installed VirtualBox on your system
  • โœ… Downloaded AlmaLinux ISO
  • โœ… Created and configured virtual machine
  • โœ… Installed AlmaLinux successfully
  • โœ… Configured initial settings
  • โœ… Learned VM management basics
  • โœ… Set up networking
  • โœ… Created snapshots for safety

๐ŸŽฏ Why This Matters

Your VirtualBox skills open amazing opportunities! ๐Ÿš€

  • ๐Ÿ’ผ Safe Learning: Practice without risk
  • ๐Ÿงช Perfect Testing: Try before deploying
  • ๐Ÿ“š Skill Building: Learn Linux professionally
  • ๐Ÿ”„ Easy Recovery: Snapshots save time
  • ๐ŸŒ Industry Standard: Used everywhere
  • ๐Ÿ’ฐ Cost Effective: Free virtualization solution
  • ๐ŸŽ“ Career Growth: Essential IT skill

Youโ€™ve built your own Linux learning lab! ๐Ÿ†

Happy virtualizing! ๐Ÿ™Œ