2.4 KiB
2.4 KiB
Project 1: Home Lab Setup
Project Overview
This project documents the setup of a basic home lab environment using VirtualBox and Ubuntu Server 22.04 LTS.
Environment Details
- Host System: Windows 11
- Hypervisor: Oracle VirtualBox
- Guest OS: Ubuntu Server 22.04 LTS
- Resources Allocated:
- CPU: 2 cores
- RAM: 2GB
- Storage: 20GB
- Network: NAT + Host-only adapter
Setup Steps
1. VirtualBox Installation ✅
- Successfully installed VirtualBox
- Created project directory structure
2. Ubuntu Server VM Creation ✅
- Download Ubuntu Server 22.04 LTS ISO
- Create new VM in VirtualBox
- Configure VM settings (CPU, RAM, Storage)
- Configure network adapters
- Install Ubuntu Server
- Basic system configuration
- Network setup
3. Network Configuration (In Progress)
-
Configure NAT adapter for internet access
- Verify IP address configuration:
ip addr show - Test internet connectivity:
ping 8.8.8.8 ping google.com
- Verify IP address configuration:
-
Configure Host-only adapter for direct host communication
- Verify second network interface:
ip addr show - Test host connectivity:
# From Ubuntu VM - ping your Windows host IP ping <windows-host-ip> # From Windows host - ping your Ubuntu VM IP ping <ubuntu-vm-ip>
- Verify second network interface:
-
Document network configuration:
- NAT adapter IP: _____________
- Host-only adapter IP: _____________
- Default gateway: _____________
- DNS servers: _____________
4. Basic Security Setup (Pending)
- Create non-root user with sudo privileges
- Configure SSH access
- Set up UFW firewall
- Implement basic security hardening
Commands and Configurations
Network Configuration Commands
# View network interfaces
ip addr show
# View routing table
ip route show
# View DNS configuration
cat /etc/resolv.conf
# Test connectivity
ping -c 4 8.8.8.8 # Test internet connectivity
ping -c 4 google.com # Test DNS resolution
# If needed, restart networking
sudo systemctl restart systemd-networkd
Issues and Solutions
Any issues encountered and their solutions will be documented here.