small home media server, NAS, Gitea build

Jun 20, 2018
2
0
10
Hello again,

i have a new project on my mind :)

I would like to centralize all my files and backups at home and now i am sitting here, planing a little home server.

My intention is, that the server can do the following
- Store all media (Video, Audio, Picture)
- Has RAID1 for personal data storage and backup
- Plex or other software to stream to network and TRANSCODE if necessary
- Source code management software (thought of gitea to use, but i am not sure)
- Torrent Client to download my favorite tv shows automatically and add it to the server
Optional targets
- Something like owncloud, maybe an email server or home automation server

As there are many different scenarios, i thought building it myself will come closest to the plan. After looking into QNap and Synology they seem to be very flexible using plugins, but i dont think they will support everything i want to do. Am i right?

For the hardware (without storage):

1 Patriot Blast 120GB, SATA (PBT120GS25SSDR)
1 Intel Pentium Gold G4600, 2x 3.60GHz, boxed (BX80677G4600)
1 G.Skill NT Series DIMM Kit 8GB, DDR4-2400, CL15-15-15-35 (F4-2400C15D-8GNT)
1 MSI B250M Pro-VDH (7A70-003R)
1 BitFenix Prodigy M grün (BFC-PRM-300-GGXKK-RP)
1 be quiet! Pure Power 10-CM 400W ATX 2.4 (BN276)

The G4600 is a little beefier than the Intel Celeron J3455 used by QNAP and should have enough power to handle all the services and transcoding. I think 8GB are enough, but not 100% sure. I plan to get 4 HDDs with 4TB storage each and use them in RAID1. Therefore the Bitfinix is a small case which is not ugly and fits 4 3.5" HDDs and the system SSD. The PSU is semi-modular to spare some cables and after doing some calculation i think 400W is enough.

The big question bugging me is the software. Everthing can be done in Linux and/or Windows. Plex is aviable for both, also gitea, RAID solutions, and Torrents. I am not affraid of the command line but i fear to bust the whole system installing all the services on a Linux installation, but i love the endless possiblities to modify the system in Linux.

It would be nice, if the media server (Plex) is easy to handle and one can still use a desktop environment (point against OMV). Also i am worried about the RAID constellation, because i never used or set one up before.
- Software or Hardware RAID
- What happens if one drive fails, which installation is easier to restore
- How to share the files over the network in a way all devices can access them
- When i dont use something like OpenMediaVault, how can i make the mashine go into standby, to reduce power consumption in Windows or a regular Debian installation automatically
Up to now a Debian installation would be my weapon of choice as a solid base.

So this is going to cost a lot of my time and i dont want to waste it, trying to setup a solution which is pointless and can be avoided in the first place.

The main questions are:
- Is the hardware setup suited / overpowered / underpowered, suggestions, improvements?
- What software combination would you recommend?