User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sailing:hwossetup [2023/11/29 15:00] willysailing:hwossetup [2024/02/07 13:00] (current) – removed willy
Line 1: Line 1:
-Next to: [[sailing:storagesetup|Storage setup]] 
  
-Back to: [[sailing:prerequisites|Skills Prerequisites]] 
----- 
- 
-===== Hardware selection ===== 
- 
-My set-up choice has always been some cheap stuff I had laying around that would cost little and possibly also be low-power consumption. There are many possible  choices like some kind of Raspberry Pi or similar solution, some small factor minipc (like an Atx form or even smaller) or an oldish laptop, maybe with a broken keyboard or monitor. 
- 
-Whichever solution you end up with, the key point is having the right network interface and storage interface. You might want to prefer a solution with at least 8gb of ram and one, or better more, USB3 (usb-c maybe) ports. 
- 
-As network goes, I prefer to have a wired connection but to be honest a good WiFi on the 5GHz band could probably do as well. You might want two connections if you want to strictly separate home and external links, but in practice it is not required. 
- 
-As storage goes, any of the above solutions will require some kind of external storage. While external SATA exist, in my experience even if you are lucky enough to have a e-SATA port on your server, you need to check that the chipset supports more than one drive attached to it or it will be totally useless. 
- 
-Considering that you will be consuming your media most probably over WiFi at best, external USB3 drives are the best solutions. I choose an USB3 JBOD enclosure (Just a Bunch Of Disks) because I will be using Linux software RAID implementation which in over 20 years never failed me and proved to be really resilient and efficient.  
- 
-So I will assume you have at least two (or more) data drives in addition to your main Operating System disk (which should really be an SSD nowadays). You will need to setup the data disks as software RAID-1. there are also lots of so called external RAID solutions, but I prefer to trust Linux own implementation. 
- 
- 
-===== Gentoo Linux installation ===== 
- 
-Why Gentoo Linux? Because its lightweight, gives you full control on your server and can be much more secure than others bloated Linux distributions. 
- 
-Installing [[https://www.gwntoo.org|Gentoo Linux]] is less difficult than you might think. The great [[https://wiki.gentoo.org/wiki/Handbook:AMD64|Gentoo Handbook]] is very well written and also fairly easy to follow if you don't rush it. I assume you are capable of following it up until you can boot a text-only system. 
- 
-A few notes to follow: 
-  * don't bother with setting up the external data disks, you will do it later 
-  * don't install any graphical user interface, you will not need it 
-  * don't install SystemD as all commands are not for SystemD (or install it and adapt the commands) 
- 
-Note: i don't care for SystemD. It does fix a problem i don't have and never had. It's a complication i never had a need for, and Gentoo gives me the choice to not use it. Please use it yourself if you prefer, just adapt the commands where it is involved accordingly. 
- 
-===== Specific installation finalization ===== 
- 
-You will need to create a special group called **media** which will be used to allow the different tools to access the respective data folders without compromising the security of your installation and media collection: 
- 
-<code bash> 
- > groupadd media 
-</code> 
- 
-this will create a new group called **media**. You will need it later. 
- 
-There are also a few specific tools we need to install for what comes ahead, let's do it: 
-<code bash> 
- > emerge -v sys-fs/mdadm 
-</code> 
- 
-//mdadm// are the software RAID tools. 
- 
- 
-Once you have Gentoo installed on your hardware, keep reading. 
-  
- 
----- 
-Next to: [[sailing:storagesetup|Storage setup]] 
- 
-Back to: [[sailing:prerequisites|Skills Prerequisites]] 

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information