• 3 Posts
  • 35 Comments
Joined 2 years ago
cake
Cake day: October 18th, 2023

help-circle

  • installing and managing programs on Linux is a NIGHTMARE

    I feel you, but it’s a damned sight better than it used to be. If you’re ever in a headspace for some masochism, try installing something from source. It can either be smooth sailing or one of the most torturous experiences ever. Just do yourself a favor and do it in a VM or on a throw away system. Software installed that way is often HARD to remove cleanly.

    I just wish there was an all in one program manager.

    There is. At least for flatpaks and apt repositories, though I would imagine that it would work just fine with rpm repositories or whatever Redhat based distros are using nowadays. YUM I think? Never been big on team Redhat.

    In KDE the program is called Discover. Gnome, i think, is Software Center, though that may just be for Ubuntu derivatives. Been a while. I’ll be honest, I don’t use them much. Early versions (20ish years ago) were dog slow, and as a result CTL + ALT + t followed by sudo apt get and flatpak install are burned into my fingers.

    I don’t know what linux’s equivilant of “C/Windows/Program Filesx86/”

    Exactly where things get installed depends on your distro as well as who built the actual package that was installed. Linux has a couple of standard directories that things are usually installed at. If you actually need to find the 7zip binary, try in /bin, /usr/bin, or /usr/local/bin but wherever it is, it should already be in your path. Here’s a decent explanation of *nix’s directory structure: https://linuxhandbook.com/linux-directory-structure/ .

    It’s generally applicable to Unix, Linux, WSL, and MacOS. Feel free to open a terminal and go have a poke around. If you stick to the commands cd, less and sudo less you won’t be able to break anything, but will be able look at what’s there. cd is the same as in Windows. less let’s you read a file a page at a time, without editing it. sudo just let’s you read the files that are owned by the root user, or another user.

    You can usually read more about these commands using the man <program> command. If your distro hasn’t included man pages, it works in every web search engine I’ve tried over the years as well. Usually it’s the first result.

    <command> --help will generally give you a brief crash course on how to use a command. Very helpful, but also usually very terse.

    I want to install 7zip. I go online, find the terminal command, I install it…and terminal tells me it’s already installed on the latest version.
    It’s not in my start menu.

    According to its man page you would call it on the terminal using 7z. So to extract an archive, the command should be something like 7z e /path/to/archive. As a heads up, there is a warning not to use 7zip to create backups on linux.

    I seem to recall that there were also applications called zip and unzip that do much the same thing but were limited to just .zip files. May already be in your distro. And found a nice refresher on them here: https://www.geeksforgeeks.org/linux-unix/zip-command-in-linux-with-examples/

    If you were looking to create zip files to share, there should be a gui application included in your distro that should be able to create and extract zip files. For me its Ark, but for Gnome it might be called Archive Manager or some such. If your application menu is sorted by application type, try looking in the System or Utilities sections.

    Proof reading this has given me a horrid thought. “Oh God! I’m a GREY BEARD!”










  • Depends on your threat model, but you’re probably fairly secure from remote unauthorized access right now.

    Given that I’m American, I would put the *arr stack behind a dedicated VPN container like gluetun and set Gluetun up using a “no logs” VPN.

    For remote access, Tailscale can probably get around that double NAT. If you have it on your devices as well as your server, you won’t necessarily need to expose anything publicly.

    If that’s not an option, you could set up an external VPS to run a reverse proxy (Caddy perhaps) and use the Tailscale connection to connect the VPS to your home server. There are fully self hosted ways to do this (Headscale comes to mind), but Tailscale is how I personally would solve this.





  • It’s doable. I personally run my Jellyfin instance publicly available and there’s maybe 3 people who use it regularly. With my internet connection, WAN side users are limited to about 720p but I’ve had the 3 of us all playing different media at the same time on occasion. The main limiting factors on the number of simultaneously active users is how much upload bandwidth you have and how quickly you can transcode video files. Any 10 year old box will be able to handle 1 or 2 users at a time provided it doesn’t need to do a bunch of transcoding. If your building a box, would use a 11th or 12 gen Intel or if you must go AMD, have a graphics card to handle the transcoding. The “build a box” route can probably handle 4 or 5 simultaneous users, possibly more depending on your hardware choices. The main limiting factor in that case would be your upload.





  • When I was first playing with NC I was using a RPi3 with an external SSD for a drive. Performance was pretty good, but as soon as I tried the same setup in a VM, the performance tanked. The only way I found to avoid the performance penalty was a manual install like it was bare metal, which I didn’t really want to do. My experience with such setups is that they tend to be brittle.

    My understanding was that the performance penalty was caused by the chain of VMs. Proxmox --> Ubuntu VM --> Docker. I don’t know enough about it to say for sure.


  • My NextCloud is running on an old desktop that’s been repurposed into a server. The server is running Proxmox, and NC is running in docker directly on Proxmox using the nextcloud-aio image.

    Found that had better performance than running it in a VM and was less headaches than the other install options.

    I keep thinking about moving it to dedicated hardware, say some sort of mini pc, but it hasn’t been a high priority for me.