home-lab

github

about

Stage 1 – Setting Up the Home Server

Hardware Used

  • Machine: Old desktop PC
  • Specs:
    • 16GB DDR4 RAM
    • NVIDIA GTX 1070
    • 12TB + 6TB HDD
    • 1TB SSD

Proxmox Installation

ISO Download: Downloaded the Proxmox VE ISO from the official site.

Updated packages post-install (apt update && apt full-upgrade).

Boot Medium: Used Balena Etcher to flash ISO onto USB.

Installation: Booted into USB and installed Proxmox onto the 1TB SSD.

Basic Config:

Assigned static IP to the Proxmox host.

Configured Proxmox web UI access on local network.

Stage 2 – Setting Up the NextCloud VM

VM Configuration

  • Created a new VM via Proxmox UI with:
    • Ubuntu Server 20.04 LTS
    • 2 vCPU, 4GB RAM
    • 100GB virtual disk
  • Installed and configured:
    • Apache2, PHP, MySQL/MariaDB
    • Nextcloud via .tar.bz2 archive
    • SSL certificates with Let’s Encrypt (certbot)

Issues & Fixes

Reloaded Apache with sudo systemctl reload apache2

Apache Binding Issues:

Apache failed to start due to port conflicts.

Used lsof -i :80 and lsof -i :443 to find processes.

Stopped conflicting services with pkill -9 httpd.

SSL Configuration:

Enabled Apache SSL module (sudo a2enmod ssl)

Enabled default-ssl site (sudo a2ensite default-ssl)

Stage 3 – Deploying ONLYOFFICE Document Server via Docker

Initial Setup

  • Attempted to bind ONLYOFFICE container to ports 80 and 443.
  • Encountered conflict with Apache (address already in use).

Resolution

Switched ONLYOFFICE to custom ports:

Stage 4 – SSL and Apache Configuration Hardening

Ali Alzergawi – Cybersecurity Lab & Career Roadmap

GitHub: @aalzergawi

Contact: alzergawi_a@hotmail.com

Uptime: 24/7 | Version v1.0