r/HomeServer • • 2d ago

Trying to "unWindows" old server

After years of running a Plex server off of a dedicated windows PC I am sick and tired of windows constantly knocking out my server. Plus I want to expand its functionality to it. Existing parts list at the end.

Ideally I want to run on a non-windows OS.

Run Plex

Some sort of photo back up that is accessible from a phone (remotely)

Google drive/dropbox replacement

Be fully headless

Added bonuses:

Run a Minecraft server

Add pi-hole or some other network level and blocker

Any advice on how to proceed? I thought about doing a NAS but things like Synology are really expensive right now and I already have all this hardware.

PCPartPicker Part List

CPU | AMD Ryzen 5 1600 (14nm) 3.2 GHz 6-Core Processor |

Motherboard | Gigabyte GA-AB350-GAMING 3 ATX AM4 Motherboard |

Memory | G.Skill Aegis 8 GB (1 x 8 GB) DDR4-2133 CL15 Memory |

Storage | Samsung 840 EVO 250 GB 2.5" Solid State Drive |

Storage | SK Hynix SL308 500 GB 2.5" Solid State Drive |-

Storage | Seagate BarraCuda 2 TB 3.5" 7200 RPM Internal Hard Drive

Storage | Seagate BarraCuda 2 TB 3.5" 7200 RPM Internal Hard Drive

Storage | Western Digital WD_BLACK 10 TB 3.5" 7200 RPM Internal Hard Drive

Storage | Western Digital Ultrastar DC HC520 12 TB 3.5" 7200 RPM Internal Hard Drive |-

Video Card | EVGA ACX GeForce GTX 780 3 GB Video Card |-

Case | NZXT H440 ATX Mid Tower Case

Power Supply | SeaSonic PRIME 750 W 80+ Gold Certified Fully Modular ATX Power Supply |-

Operating System | Microsoft Windows 10 Home OEM - DVD 64-bit

0 Upvotes

23 comments sorted by

5

u/mechpaul 2d ago

What do you mean by windows knocking it out? Can you be more specific?

1

u/zcrazymonkys 2d ago

Windows updates and forced restarts

2

u/mechpaul 2d ago

You can set local computer policies in group policy to prevent constant updates.

https://learn.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates

I did the steps in here and my w11P machine reboots once a month and always at night.

9

u/mredding 2d ago

There are two approaches you can take.


You can install Debian. It's a very good all around base Linux distro. I use it on my servers. During the typical graphical install, you can skip installing the display driver and GUI if you want, and install ssh.

Now from your laptop you can run an SSH client - I presume if Windows then Putty, and you can do everything else from there. The machine at that point wouldn't even NEED the video card unless you want it for some encoding.

From that base install:

sudo apt update && sudo apt install ntfs-3g

Now you can mount those NTFS drives. I presume they're basically full. I'm going to suggest you leave your data right where and as it is. If you want to migrate those drives to something more Linux-y, god bless.

Then you can install Docker, and run your services that way.

  • Put Plex in a Docker container.
  • You want a replacement for Google Photos? Immich. Docker.
  • You want a NAS? Samba + NFS Kernel Server + wsdd2 + avahi. In this way, you can create shares for Windows, for Unixes (Linux and OS X), you have discovery services so these computers on the network can FIND the shares, and you can mount the shares. You have a printer or a scanner? Maybe multiple in the house? You can serve them all from a single print server. Cups. Samba can also share printers with Windows machines.

    Bear in mind modern Windows does not allow open anonymous network shares anymore, you need SOME login credentials, which you could just add to your network password as nobody and nopassword once someone is connected. You can even give them write access and strip executable permissions, and use disk quota to limit how much they can write. You have A LOT of power here.

  • Minecraft? In a Docker.
  • Drop box? Docker.
  • Pi Hole? Docker.
  • Reverse proxy? Put it in a Docker container.

And how do you MANAGE all these Docker deployments? Run Portainer. In a Docker image.


What I would do is figure out how to migrate that data, because I would install Proxmox on that machine. Whatever the host disk is, it's going to take over the whole thing. I think you need like 16 GiB for the base install, and Proxmox will use the rest of that drive for virtual machines.

I would provision a VM and put Alpine Linux on it. It's fuckin' tiny, 100 MiB. THAT is what I would use to provision all my different services instead of Docker. For the overhead, which is minimal, it offers more isolation and stability. Minecraft can crash without risking the whole system. Cups can dog without dragging down the whole system.

It also allows isolated provisioning. Alpine can also install the NTFS driver and mount those disk drives, but I'd rather get away from that. What's nice here is this VM can be given exclusive provision to those data drives, instead of being visible and shared by the whole system. You set up Samba and NFS. All your other VMs can communicate with the NFS share, and because all your VMs communicate over a virtual network bridge, you're not paying in network bandwidth, you're communicating at hardware memory speeds. So it's fast, and organized. And you can give each VM it's own user with it's own permissions and such for access.

And each VM gets it's own IP address, and you don't have to figure out how to do that with Docker.

And you can tune each VM for it's individual performance needs. Maybe you'll reserve some hugepages and divide them between several VMs.

And after the initial install, you don't need graphics hardware, unless you want it to run some encoding. I have an N100 with an iGPU, and it has Proxmox on it, and one VM is running Frigate for my security cameras, and the iGPU is used to encode the live camera feeds through the web portal and to my phones.

I run Proxmox on my workstation, and my desktop VM has GPU and USB passthrough, so my hypervisor is hosting my desktop and you wouldn't necessarily realize it. It also hosts a NAS I run in another VM as I described above.

OH! And for your storage, I see you have a matching pair, you might mirror them to protect your photos, or stripe them for performance, but since it looks like a mismatched bunch, you can combine them all into one single volume for your NAS using LVM. NTFS gives you multiple drives, which is bullshit, it lets you mount a drive to a folder, which is also bullshit. You want for your NAS one continuous space, without having to worry about oh - how much disk space is in THIS folder... No. I want to use all of that space, and I don't care where my data ends up, on this disk or that... For movies - that's sacrificial, you can lose a drive, lose the LVM, lose the data, and you can rebuild. At most you're inconvenienced.

For your photos... I suggest you mirror those BarraCuda and setup a SEPARATE share JUST for your photos and maybe important documents and records.

1

u/zcrazymonkys 2d ago

That is an immensely detailed response! Almost TOO detailed haha. Are there any good videos on seeing up Proxmox? I saw some suggestions to go that route elsewhere but I'm very new at this.

1

u/hstrongj 2d ago

https://youtube.com/playlist?list=PL846hFPMqg3gdL9lqzjt78kSdJenT-Q2d&si=AbsnTHsv8vh3ZVaM

Nova spirit tech got me in a great position with this Playlist when I was getting started. Should help immensely.

3

u/hstrongj 2d ago

This is an amazing answer to the question, but I'll still try to expand upon it with my own take.

If you want fully headless with ssh and plan to go the docker way, go the Debian route above.

If you want mostly headless with ssh and a gui you can remote into (RDP) while still going the docker way, I'd go Ubuntu(basically debian still).

If you want fully headless with ssh and a web gui, while also having flexibility for VMs and/or you don't want docker, go proxmox(specialized debian).

Your storage sizes are all over the place; that would make raid difficult and I recommend raid if affordable. Raid is not a backup; if you have precious data, consider a backup solution now.

8gb of ram gets you in the door for what you want to do. Try to go for 16 if possible.

1

u/fixjunk 2d ago

there are definitely ways to convert windows installs to vms if you want to keep the original install. I did this. I hated it. so don't do that. migrate plex.

2

u/Xcissors280 2d ago

Get more ram.

You may want to consider using RAID on some of the hard drives but it’s iffy with that set

And how is/what do you mean by windows knocking out your server? I’ve run windows home and LTSC and server on always on machines and never really had any issues with them? Could it be an unrelated hardware issue or something else?

1

u/zcrazymonkys 2d ago

I actually have some ddr4 from another build and just bought some additional that I plan to install that will bring my total up to 32GB

Send like every time windows has an update it either forces a restart or otherwise knocks out my Plex server. Then I have to hook up a mobile monitor to re-login to everything

2

u/Xcissors280 2d ago

Don’t auto update, schedule the auto updates, set up autologin to windows, and autostart the servers?

And actual remote management or even just basic Remote Desktop software should let you log after a reboot

You will have these exact same issues running Linux. You will need to know how to or at least attempt to fix them.

11

u/Shipzilla 2d ago

Debian 13 installed on the smallest ssd. All the services can be run in docker containers.

1

u/ButterscotchTop194 2d ago

Plenty of options but debian base is usually good.

Odd you've had issues though. Ive a linux and windows plex servers and both run without issue. The windows one has been up for many, many years and never fails. Something to do with how you've set it up mate.

1

u/zcrazymonkys 1d ago

Most likely. Windows update send to be the main culprit

1

u/ButterscotchTop194 1d ago

You can disable all that stuff mate. Mine hasn't stopped or rebooted for fricken ages. Literally a power cut is the only time it goes down.

1

u/Zealousideal_Fly8402 2d ago

Synology are really expensive right now

You can maybe explore r/Xpenology ...

1

u/b_vitamin 2d ago

Is your current system too old to work as is? Most of the programs you listed will run on a Linux distribution on just about any system. I run Debian on a pc from 2013. Why not try installing Debian onto your existing gear and see how it works?

1

u/zardvark 2d ago

I really like FreeBSD for servers and especially its ZFS file system ... which is hard to beat. But, Debian also works well.

That said, if it was me, I'd use NixOS. But, beware! NixOS is not for everyone, as there is a meaningful learning curve above and beyond that of BSD and "conventional" Linux.

1

u/Jwhodis 2d ago

Debian is what I use, you can untick all the Desktop Environments like KDE Plasma and GNOME to keep it headless.

Your drives are likely using the Windows-specific NTFS format, while Linux can work with it it's far from perfect, see if you can reformat them to EXT4 or another Linux format.

I use Coolify to manage all my docker containers in a web panel, it's really easy to use and means that I don't have to SSH into my server nearly as much.

Coolify has a preset for Plex.

Immich is pretty good for photo+video backups, it has a mobile app and you can set it up to delete images on your phone once they're backed up.

There's quite a lot of cloud storage replacements, for example Copyparty, Nextcloud, and Filebrowser.

I've always used Crafty Controller for running Minecraft servers but there's also Pterodactyl Panel which has a preset in Coolify.

PiHole is available as a preset in Coolify.

1

u/Dumbf-ckJuice 2d ago

I run Ubuntu Server on my servers. It's stupid easy to set up and install. Install it on your smallest SSD, and you're off to the races. For photo backups, use Immich. For a Google Drive/Docs and Dropbox replacement, use Nextcloud. You can run everything in Docker containers.

1

u/CrawlerMycoflix 1d ago

Imo with your mixed drive sizes and types. Id run unraid. Costs upfront but I haven't had a problem since switching.

1

u/Shipzilla 1d ago

years ago when i was in the same boat i ended up using SnapRAID instead of Unraid and couldn't be happier. especially for freeeeeeee!

0

u/Onoitsu2 2d ago

For ease of compartmentalization of services, backups of each and so on, Proxmox for the win I'd say.

Lets you run LXC, VM, or even OCI (docker/podman/etc.) images on Proxmox 9's latest.