Laura Arjona: Upgrading my home server (HP Microserver N54L G7) to Debian Jessie
Note: this is a long overdue post. I upgraded some months ago but I promised myself to blog about my selfhosting adventures, so here you are.
You may know the story TL;DR
I had no special tweaks, just two handmade init scripts (for MediaGoblin, and for NoIP), but I didn t write them myself (I just searched about systemd init scripts for the corresponding services), so if it was any problem there I was not sure that I could solve it. However, everything worked fine after the migration. Thanks Debian hackers to make this transition as smooth as possible! Reinstalling MediaGoblin My MediaGoblin was not working, and I was not sure why. Maybe it was just that I need to tune nginx or whatever, after the upgrade But I was not going to spend time trying to know what part of the stack was the culprit, and my MediaGoblin sites were almost empty So I decided to follow again the documentation and reinstall (maybe update would be enough, who knows). I reused the Debian user(s), the PostgreSQL users and databases, and the .ini files and nginx configuration files. So it was quick, and it worked. Updating Jessie I have updated my Jessie system several times since then (kernel updates, OpenSSL, PostgreSQL, and other security updates and RC bugs fixes, with the corresponding reboots or service restarts) and I didn t experience the cryptsetup problem again. The system is working perfectly. I m very happy. Using dropbear to remotely provide the cryptsetup password The last thing I made in my home server was setting up dropbear so I can remotely provide the encryption password, and then, remotely reboot my system. I followed this guide and it worked like a charm. Some small annoyances and TODO list
Filed under: My experiences and opinion Tagged: Debian, encryption, English, Free Software, libre software, MediaGoblin, Moving into free software, N54L, selfhosting, sysadmin
You may know the story TL;DR
- I wanted to self host my web services.
- I bought a Microserver (N54L).
- I installed Debian stable there, RAID1 (BIOS) + cryptsetup + LVM (/ and swap, /boot in another disk, unencrypted).
- I installed GNU MediaGoblin, and it works!
- When rebooting, the password to unencrypt the disk (and then, find the LVM volumes and mount the partitions), was not accepted. But it was accepted after I shutdown, unplug the electricity, replug, and turn on the machine.
I had no special tweaks, just two handmade init scripts (for MediaGoblin, and for NoIP), but I didn t write them myself (I just searched about systemd init scripts for the corresponding services), so if it was any problem there I was not sure that I could solve it. However, everything worked fine after the migration. Thanks Debian hackers to make this transition as smooth as possible! Reinstalling MediaGoblin My MediaGoblin was not working, and I was not sure why. Maybe it was just that I need to tune nginx or whatever, after the upgrade But I was not going to spend time trying to know what part of the stack was the culprit, and my MediaGoblin sites were almost empty So I decided to follow again the documentation and reinstall (maybe update would be enough, who knows). I reused the Debian user(s), the PostgreSQL users and databases, and the .ini files and nginx configuration files. So it was quick, and it worked. Updating Jessie I have updated my Jessie system several times since then (kernel updates, OpenSSL, PostgreSQL, and other security updates and RC bugs fixes, with the corresponding reboots or service restarts) and I didn t experience the cryptsetup problem again. The system is working perfectly. I m very happy. Using dropbear to remotely provide the cryptsetup password The last thing I made in my home server was setting up dropbear so I can remotely provide the encryption password, and then, remotely reboot my system. I followed this guide and it worked like a charm. Some small annoyances and TODO list
- I have some warnings at boot. I think they are not important, but anyway, I post them here, and will try to figure out what do they mean:
[ 0.203617] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored [ 0.214828] ACPI: Dynamic OEM Table Load: [ 0.214841] ACPI: OEMN 0xFFFF880074642000 000624 (v01 AMD NAHP 00000001 INTL 20051117) [ 0.226879] \_SB_:_OSC evaluation returned wrong type [ 0.226883] _OSC request data:1 1f [ 0.227055] ACPI: Interpreter enabled [ 0.227062] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140424/hwxface-580) [ 0.227067] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140424/hwxface-580) [ 0.227070] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20140424/hwxface-580) [ 0.227083] ACPI: (supports S0 S4 S5) [ 0.227085] ACPI: Using IOAPIC for interrupt routing [ 0.227298] HEST: Table parsing has been initialized. [ 0.227301] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bugAnd this one
[ 1.635130] ERST: Failed to get Error Log Address Range. [ 1.645802] [Firmware Warn]: GHES: Poll interval is 0 for generic hardware error source: 1, disabled. [ 1.645894] GHES: APEI firmware first mode is enabled by WHEA _OSC.And this one, about the 250GB disk (it came with the server, it s not in the RAID):
[ 3.320913] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 3.321551] ata6.00: failed to enable AA (error_mask=0x1) [ 3.321593] ata6.00: ATA-8: VB0250EAVER, HPG9, max UDMA/100 [ 3.321595] ata6.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 3.322453] ata6.00: failed to enable AA (error_mask=0x1) [ 3.322502] ata6.00: configured for UDMA/100
- It would be nice to learn a bit about benchmarching tools and test my system with the nonfree VGA Radeon driver and without it.
- I need to setup an automated backup system
- Would it be enough to make a Clonezilla backup of each partition, wipe my current setup, boot with the Debian installer, create the new setup (software RAID, cryptsetup, LVM and partitions), and after that, stop the installation, boot with Clonezilla and restore the partition images?
- Or even better, can I (safely) remove the RAID in the BIOS, boot in my system (let s say, from the first disk), and create the software RAID with that 2nd disk that appeared after removing the BIOS RAID (this sounds a bit like science fiction, but who knows!).
- Is it important when or in which layer do I setup the software RAID?
Filed under: My experiences and opinion Tagged: Debian, encryption, English, Free Software, libre software, MediaGoblin, Moving into free software, N54L, selfhosting, sysadmin
Here s a short preview of our latest accepted paper (to appear at
The downside was that the system was noisier under load; slightly
noisier in some games, to much more noisier in others. This didn't
match my expectations, since the specific version of the card I bought
was not overclocked and had extra large fans, and with only a +25W TDP
it shouldn't have been significantly noisier. Well, that's it, I said,
not all marketing/reviews should be believed.
One interesting thing was that I wasn't clearly able to pin-point what
was generating the additional noise.
PSU upgrade
I was thinking anyway about doing a PSU upgrade as well, since my
current PSU was even older than my videocard, and was at the limit.
Dust
So I bought a PSU as well, and spent about half a day installing
it. Why half a day? Because the new PSU is modular, and the
combination with the case I have means I could redo the cabling inside
my case, significantly.
In the process, I found a lot of accumulated dust which I cleaned. I
also found out that parts of the CPU cooler fins were blocked by dust,
so the fan was not as effective as when new. I also realised that one
case fan was no longer effective in its position, since I have no HDDs
that need cooling (this case is split between MB and HDD/PSU areas),
so I could move it in a place that cools better the various PCIe
devices.
and silence!
After all was said and done, the PC booted up just fine. Everything
seemed correct, the new position of the fan was drawing in cold air
and pushing it over the PCIe cards, so it was time to see if all the
cleanup had any effect on the behaviour under load.
So I start a game, the card gets slightly noisier compared to idle,
and stays there. I go on playing for 10 minutes, which would have
been more than enough to heat the whole system enough that it becomes
noisy, but nothing, just slightly above the normal "PC is on"
noise. Before all the upgrades, my old card was definitely noisier
when playing
I don't know if there is a single, key factor, or if it's a
combination of all of:
Editorial Note: The following post was kindly contributed by
The short answer is: using AppArmor in Debian is fairly straight forward.
Installing and activating it though is not yet a very user friendly experience. One needs to install the apparmor package, then activate it in the kernel by editing a line in the GRUB bootloader and then reboot.
me: Who are you?
joeyh: I'm Joey --


I moved back from the California Bay Area to Belfast a while back and for various reasons it looks like I m going to be here a while, so it made sense to have my belongings shipped over here. They haven t quite arrived yet, and I ll do another post about that process once they have, but I ve been doing various tweets prefixed with [shipping] during the process. Various people I ve spoken to (some who should know me better) thought this was happening manually. It wasn t. If you care about how it was done, read on.
I d been given details of the ship carrying my container, and searching for that turned up the excellent

Inspired by "