• 12 Posts
  • 101 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • Well, not really po-tay-toh/po-tah-toh. They’re 2 different utilities that do 2 different things. If you ask the wrong question, you’re not going to get the answer you’re looking for.

    What you’re asking about is an antivirus. It’s been awhile since I messed with this on my Linux systems, but last I looked, ClamAV was most commonly recommended. You can probably search for “Linux antivirus” and find some recommendations.

    Generally speaking, the earlier recommendations to stick with official repos is excellent. When you venture outside of that, you increase your administrative overhead because those manually installed apps won’t stay patched with a simple “apt upgrade.” That said, a well written cron job could keep them up to date for you.

    As for where to install things, it’s personal preference. I prefer using my home directory. If that doesn’t work, my fallback in /usr/local, which is either its own partition or symlinked to the /home partition). I mention the partitions because having separate /home and possibly /usr/local makes it easy for these customizations you install to survive a reinstall. Backups will also help with this.

    You have to ask yourself what this system will be used for. If it’s a daily driver that you want to “just work” I would stick to official repos, and minimize customizations. Windows makes a lot of choices for you. Linux expects you to know what you want to do.










  • So I got back to my server, and here’s what I do:

    gluetun settings:

    services:
      gluetun:
    *snip*
        ports:
    *snip*
          - 8090:8090 # port for qbittorrent
    *snip*
    

    qbittorrent (in the same compose.yml):

      qbittorrent:
        image: linuxserver/qbittorrent:latest
        container_name: qbittorrent
        environment:
    *snip*
          - WEBUI_PORT=8090
    *snip*
        network_mode: service:gluetun # run on the vpn network
        depends_on:
          gluetun:
            condition: service_healthy
    *snip*
    

    Also, in qbittorrent settings you can bind it to a network device. In my case it’s “tun0.” This same thing can probably be done w/ a docker network in a gluetun container and separate containers that rely on that network being up, but I haven’t looked into it. Right now, I have 2 other services that require VPN, and I’m looking at possibly 1 or 2 more. That’s pretty manageable as a single stack, I think.







  • Something I dealt with a long time ago that has become a sort of rule for me, regardless of how true it might be: Scientists, and University researchers (the tenured ones) hate learning new programming languages and methods. There’s decently good reason behind it, as far as I can tell. I used to support an archive of weather satellite data. Whenever we had a software stack upgrade come in, the scientists grumbled because it meant they had to revalidate large swaths of their data with the new versions to make sure all results were reproducible. One thing they never did, if they could help it, was change the base code they used to generate those results. That would mean much more work. Also, if they wanted to to come up with a new subset of the data, they wrote it in what they knew. Usually Ada! Supporting this is how I learned that we couldn’t get an Ada compiler that would produce 64-bit binaries. The compiler binary itself was 64-bit, but that was it. From what I could learn, SGI had produced a 64-bit compiler for IRIX (I think - which ironically we were migrating from to x64 Linux clusters), and PGI gave up on theirs for “lack of consumer interest.”


  • Trash is a great place to start. There was another guy I found helpful, too. Dr Frankenstein, I think? Also, I can’t remember where I found the swag write-up I used for my current setup, but swag/dockerproxy are awesome. No open ports on the router, and automatic subdomain/SSL setup w/ Cloudlfare by adding 1 label to the compose file.

    Only 2 notes I have about Trash guides are:

    1. Include some kind of ingest directory for qbittorrent. Helpful when you want to d/l a torrent that’s not managed by one of the arrs. Just save it there and thy will be done!
    2. Pay close attention to the quality settings. Most don’t have a fallback quality. So if you say you want 4k for movies, it will often fail to find something, especially if it’s older, and you have to go see why, change the quality to 1080, etc. Instead, use the quality guide to understand how it works, and set up what you want with appropriate fallback. For example, I prefer to get 720p for TV. Especially w/ long running shows they can take up A LOT of space, even at 1080! BUT sometimes 720 just isn’t available. 1080 is usually the first thing that comes out, so I add 1080 as second choice. For older shows, I add DVD quality as third choice, HDTV next, and 480p last (probably have those last two backwards). This way, it will pretty much always get something decent, and if the quality I want is ever released, I have it configured to continually search. Looking over the Trash guides definitely helped me dial this in, but I’m not using the stock version of any of their presets.

    One thing I need to figure out is identifying shows that have hearing disabled tracks as their default/only. I’ve been watching Taskmaster, and lots of the episodes in more recent seasons have the descriptive voice-over that’s annoying to me since I don’t need it.