updated project 1
This commit is contained in:
@@ -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 <windows-host-ip>
|
||||
|
||||
# From Windows host - ping your Ubuntu VM IP
|
||||
ping <ubuntu-vm-ip>
|
||||
```
|
||||
|
||||
- [ ] 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)
|
||||
Reference in New Issue
Block a user