From 8cd21899e41fd38ed11b03bf1d3332c1d42852da Mon Sep 17 00:00:00 2001 From: Hugh Ratsch Date: Sat, 8 Feb 2025 21:50:37 -0600 Subject: [PATCH] updated project 1 --- projects/01-homelab-setup/README.md | 95 +++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 projects/01-homelab-setup/README.md diff --git a/projects/01-homelab-setup/README.md b/projects/01-homelab-setup/README.md new file mode 100644 index 0000000..732c692 --- /dev/null +++ b/projects/01-homelab-setup/README.md @@ -0,0 +1,95 @@ +# 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 ✅ +- [x] Download Ubuntu Server 22.04 LTS ISO +- [x] Create new VM in VirtualBox + - [x] Configure VM settings (CPU, RAM, Storage) + - [x] Configure network adapters +- [x] Install Ubuntu Server + - [x] Basic system configuration + - [x] Network setup + +### 3. Network Configuration (In Progress) +- [ ] Configure NAT adapter for internet access + 1. Verify IP address configuration: + ```bash + ip addr show + ``` + 2. Test internet connectivity: + ```bash + ping 8.8.8.8 + ping google.com + ``` + +- [ ] Configure Host-only adapter for direct host communication + 1. Verify second network interface: + ```bash + ip addr show + ``` + 2. Test host connectivity: + ```bash + # From Ubuntu VM - ping your Windows host IP + ping + + # From Windows host - ping your Ubuntu VM IP + ping + ``` + +- [ ] 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 +```bash +# 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. + +## Resources +- [Ubuntu Server Download Page](https://ubuntu.com/download/server) +- [VirtualBox Documentation](https://www.virtualbox.org/wiki/Documentation) \ No newline at end of file