• 3 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • surfrock66@lemmy.worldtoLinux@lemmy.mlLinux for Kids?
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    My setup is a bit extreme, but here are my guardrails:

    1. All users have the same UID’s on every system. I’m 1000, wife is 1001, son is 1002, daughter is 1003. All these exist on all systems. Our primary group is “family” (gid 10000). Our files are all owned by user:family. This matters because we let them have access to the share of things like home movies and pictures, and I have a TrueNAS with an NFS mount that their user folders rsync to nightly for backup. If you wanna get crazy, you can put in a whole LDAP/freeIPA setup, but that’s a lot (and I did all that as a learning experience).
    2. They don’t have the account passwords. I have their password, and if they want to use it, the wife or I have to type the password. When we want them off, superkey+L to lock the computer, and if they reboot it comes to a login screen.
    3. If you really go this route, and go the whole LDAP thing, you can also tie that into apps like Jellyfin. I have a huge library of movies and shows, but there’s a folder called “KidMedia” and I literally manually symlink things to that folder if I want them to have access. I set up the phones/tablet with their own jellyfin accounts, and when they log in they only see their media. I also NFS mount that share, so for the same reason, they can watch stuff on VLC from the computer with access control. We also do that with nextcloud, so we can use nextcloud talk to chat internally. The tablets/phones have built in android controls, so the idea is once they’re on their device, they’re free within the ecosystem I set up and they don’t enter credentials other than device unlock.

  • surfrock66@lemmy.worldtoLinux@lemmy.mlLinux for Kids?
    link
    fedilink
    English
    arrow-up
    29
    ·
    edit-2
    2 months ago

    I built my kids potato computers from the time they were 3-5, which was during covid. They need computer skills nowadays, and it put them at an advantage for covid school. We got them on java Minecraft which was huge for reading, typing, and some basic math skills (they figured out multiplication for crafting things like doors). I made a chart which had icons of things they want, with the word next to it, so they could search and type in creative.

    We used Ubuntu Mate. It’s simple, stable, and familiar. They do NOT have sudo on these boxes. As we’ve advanced, they now have firefox (behind a pihole which upstreams to opendns’ family protect), gimp (with a wacom tablet!), inkscape, calculators, tenacity, libre office, and they’re starting to get into some cad to make things to 3d print. You have to come to terms with doing a LOT of patient hand holding, but it has paid off dividends.

















  • I have had an s76 wild dog which was amazing for an 11 year run, and I just replaced that with a meerkat. I also have a thelio which has been flawless. System76’s desktops are amazing.

    In 2013 I bought a darter and it’s the worst laptop I’ve ever owned. I went through 4 keyboards and still it doesn’t work, also the wifi radio is under the keyboard and you get a 50% signal reduction when typing. It had one of those trapdoor Ethernet ports which broke, so I basically became a dead device. That is an old metric, but it scared me off from buying laptops from them until they get their own hardware pipeline for them.



  • I’m not an expert, but I’ve been using TrueNas Scale since I cut over from TrueNAS core, and before that Freenas, since about 2010. I have a bunch of lessons and assumptions, but someone can correct me if these are misguided, they’re my tl;dr of knowledge.

    1. Your data drives should be in sets of 3 for a raidz1, or 5+ (I use 6) for a raidz2. While technically the minimum is 2 or 4 respectively, best performance and protection comes in sets of 3. This is a good synopses: https://superuser.com/a/1058545 In that case he points out that a 3-way mirror also works but then you lose a lot of the data integrity checking that comes with ZFS. I keep an offline spare; in your situation putting 3 drives in with a RAIDZ1 and keeping one in the drawer would give you ~8TB of capacity protected against bit flipping and drive failure. This is a better description of the raid levels: https://calomel.org/zfs_raid_speed_capacity.html
    2. In terms of just storage, that system will be fine, though ideally you get ECC RAM; that’s often a bigger swap, so if you can’t change that, so be it. It does matter in terms of integrity checking. The more containers you run, the tougher it gets to spec out. I have a separate proxmox hypervisor and routinely have 4+ jellyfin streams going at a time, so it wouldn’t be enough in my case, but you’ll have to experiment and scale. I will say, even though a separate proxmox box comes with a lot of headaches, it was more important than any schooling I ever did in terms of my IT career. Networking, monitoring, access control, suddenly I have a solution to every IT problem I encounter and I have experience with it.
    3. Personally, I do a 2-disk mirror for the OS, and then multiple 3 or 6 disk vdevs for data. If you lose the OS drive and it’s just 1, that’s fine if you have backups to just restore, but I find swapping in a cheap ssd is better. I use cheap-as-dirt 64G SSD’s as the boot drives, and if one dies, you can swap it and replace it in the UI, no problem. You can technically use 2 mis-matched sized disks, but it’ll fuss at you.
    4. Start with TrueNAS Scale as just a storage device; ideally that needs to be close to the hardware and not virtualized. In the beginning, especially since you’re likely dealing with 1 pool, just make 1 vdev for everything. You can make folders in there, or datasets, and play with partitioning data, sharing data to other computers, etc. I use NFS sharing AND iscsi luns to my proxmox, and ultimately I’m in 1 big dataset with multiple vdevs in it. Add your things like homeassistant one at a time; going through it will show you how you sort storage, how you provision it, etc. Over time, things grow; this will not be your final configuration, most people expand over time. You may decide “I want bulk storage in one vdev, I want containers and vm’s in another.” When you expand, that’s when you split things off and make more nuanced decisions. That will come from better assessing your needs.

    You mention Jellyfin…my struggles with that were never storage. My struggles there were networking; it was a big part of why I decided to upgrade my server networking to 10G, which supported running Jellyfin on another hypervisor and having all that go over the network.