
The HP MicroServer Gen8 is a great low-cost solution for someone (like me) who doesn’t like all the wonderful NAS bullshit out there. For example, with the addition of the P222 Raid Controller, you can use SAS drives – of which I have way too many.
Currently I have around 200-250TB of SAS drives. I will be using my 4TB HDD SAS drives for this project.
Unlike the P840 Raid Controller, the P222 is a half-height PCIe Raid Card, which is thus officially supported within the MicroServer (as it doesn’t have any PCIe full-height slots). Meaning the P222 it is! (Which sadly I don’t have, so time to go fishing!);
I’ll be using these items for the project:
- HP MicroServer Gen8 which I got from eBay (£156~)
- P222 Raid Controller
- PiKVM V4 (and a VGA to HDMI adapter)
- C13 “Kettle” Cable.
- My 42U Server Rack (where the server will be placed).
- A 1U shelf (for the rack, to be added in the future).
- 128GB USB Stick – You don’t need this much but anything above 16gb would work fine. I use ventoy thus why I have so much!
- Ethernet Cat8
I won’t be including the price of the drives in the total cost for this project, however I purchased them for bulk for around £2.51/TB.
Of course, this will use a lot less power than a normal rack-mounted server – which is where the selling point is for me, personally. Since who wants to pay £40 in electricity a month for an over-complicated NAS? Well, me but you see the issue. This will dramatically save me storage for me!
The PiKVM allows me to sit back, and relax. Plug in the server, place the drives and the P222 Raid Controller, add power for the PiKVM – and maybe add the optional ATX board so I can control power (etc) directly from the PiKVM.
So, what are the specs?
Specification | Value |
CPU | XEON E3-1265L V2 @ 2.5GHz (3.5GHz boost), 8 Core This is an upgraded spec, however I do have the original Celeron G1610T @ 2.3GHz! |
RAM | 16GB ECC DDR3 |
RAID CARD Support | HPE P222, or H222 |
Native Storage Support | SATA, Additional RAID Card required for SAS 🙁 |
Network | 2x Gigabit ethernet NICs |
Drive Bays | 4, 5 if you use an external HDD too (I won’t be doing this) |
The general Price Range of these Gen 8 MicroServers go for around £100 to around £300 when second hand.
TL;DR
- Native SAS support? No (B120i = SATA only)
- With extra controller (e.g., P222/H222)? Yes
- Backplane? Compatible electrically, just needs SAS controller
- Power/thermal? Should be considered, but feasible
Software
To save on time, and frustration, I’ll be using NextcloudPi with some modifications. For example, I will be re-enabling root login.
I will be using Debian 12.
Features
- Nextcloud Hub 10
- Apache 2.4.25 with HTTP2 enabled
- PHP 7.3 :/
- MariaDB 10
- Redis Memory Cache
- Automatic redirection to HTTPS
- ACPU PHP Cache
- PHP Zend OPcache enabled with file cache
- HSTS
- Cron Jobs for NC (nextcloud)
- Sane Configuration Defaults
- Preinstalled popular apps such as Calendar, Contacts, Notes, Tasks (In my installation I’ll be changing this up).
- Emoji Support
- Postfix email (Sending only/SMTP)
- Setup Wizard
- Nextcloud Pi Web Panel
- NCP-Config Terminal Tool (CLI?, well more of a TUI but you know)
- WiFi Ready (MicroServer Gen8 doesn’t have wifi).
- RAM Logs
- Automatic Security Updates (Active by Default)
- Let’s Encrypt Certificate for trusted HTTPS (I’ll be using NGINX Proxy Manager instead)
- Fail2Ban protection against brute-force attacks
- UFW Firewall
- Dynamic DNS Support for:
- No-IP.org
- freeDNS
- DuckDNS
- spDYN
- dnsmasq DNS server with DNS Cache
- ModSecurity Web Application Firewall
- NFS Ready to mount your files over LAN
- SAMBA ready to share your files with Windows, Mac and Linux
- USB Automount
- Remote Updates
- Automatic NCP Updates
- Automatic Nextcloud Updates
- Update Notifications
- Nextcloud Backup & Restore
- Nextcloud Online Installation
- Format USB drives to BTRFS
- BTRFS Snapshots
- Automatic BTRFS Snapshots
- Scheduled Rsync
- UPnP Automatic Port-Forwarding
- Security Audit with Lynis Debsecan
- ZRAM
- SMART Hard Drive Health Monitoring
Platforms & Installation Methods
There are many methods for NextCloudPi installation, such as:
- LXD Container Images
- Proxmox VM Images
- Odroid HC2/HC1/XU4/HC4/C4/C2
- Rock64
- RockPro64
- Orange Pi
- Banana Pi
- Debian Armbian SBCs
- Raspberry Pi 3 and later
- Or, on a Debian-based distro.
I recommend using a Debian-based distro. For example I’ll be using Debian 12.
See https://nextcloudpi.com/#supported_systems for more information and installation steps.
The script installs the whole thing for you, however Piping to bash isn’t always the best idea, you can always inspect the code and launch it manually.
There are also pre-installed SD Card ISOs for this too: https://github.com/nextcloud/nextcloudpi/releases
Link to Part 2 (Actual Installation of the system): Not made yet