I’ve been interested in self-hosting for a while, but didn’t really know where to start. I’ve never messed with Linux before and wanted to jump ship from Windows since Microsoft decided to start putting ads everywhere. I came across this post [https://lemmy.world/post/6542543] which was exactly what I was looking for to start, and seemed like a straight-forward guide. I have two laptops, one I want to act as my media server with Docker and the other as my everyday device. Except I’ve been met with setback after setback from the start. I tried installing Ubuntu Server on the media server laptop but just could not get it up and running. I was suggested to try using a more beginner-friendly distro, so I went with Mint. I also liked the idea of a GUI I can mess around with.
Docker was a success, but then I got to the Adguard part and when I try the docker-compose.yml step, grub just hangs. Decided to skip that part and go onto Jackett. Nope, more errors. Tried Prowlarr, different errors.
I don’t want to give up on this because its something I really want to get going for my media, home automation, cameras, etc etc. But I feel like I’m flying blind here.
I have a lot of homework to do to learn Linux, but is there a different, beginner-friendly guide out there for me to follow for now?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-~.
Edit: I appreciate everyone’s comments. Although I have no Linux experience, I know my way around Windows pretty well. I understand file systems and in one of my errors that was asked, I was getting a “No File or Directory exists” error. I edited the username to fit my what I have, but was still getting the error. I even created a new user named Prowlarr when attempting the Powlarr install to follow the steps word-for-word, no luck. It got frustrating so I gave up for the day.
I admit I do have a lot of learning to do, and I am really grateful some of you have provided start-points for my Linux journey. I’m also grateful for the “Self-hosting For Dummies” recommendations, like Yunohost and YAMS. I plan on looking over all of this info today to get a solution up for now and start my path down the Linux rabbithole. Its kinda exciting to start embarking on something like this.
Anyway, thanks to everyone who gave me great feedback!
Can you give some more details on the errors you’re seeing? Grub and docker-compose shouldn’t be anywhere near each other.
That’s confused me as well. It probably did a kernel update and then triggered update-grub.
So a few comments…
- I’m not a fan of Ubuntu server, in part because their distribution of docker through snap can conflict with snap from the docker repo. My preference here is either Debian or Proxmox (debian + great virtualization setup). Mint is good, though I like LMDE (Debian edition) more, in part because I prefer Debian in general.
- You may want to check out dockge. You do need to have docker running for it, but it’s a simple setup, and it has a clean interface for docker compose. Good for getting used to it imo.
- grub has no part in docker, so it’s something else hanging.
- What are the exact errors when you enter “docker-compose up”?
- what is in your docker-compose for each of these?
There’s a series of Lemmy posts called the Linux upskill challenge that goes step by step through setting up and using Linux. I tried self hosting and jumping straight in too, and it sucked.
What worked for me:
- Start using open source versions of stuff, like switching from Chrome to Firefox, Office to Libre Office.
- Set up Virtual Box, and practice running server apps on Linux on virtual machines, until you’ve done a few Linux VMs and gotten used to the interfaces and commands.
- Dual boot a laptop or desktop, one by one getting your daily use apps working in Linux.
- Distro hop a bit. I never thought I’d land on Fedora, but here I am.
- Get used to running and configuring servers from the command line.
- Host some stuff with VMs and get used to the networking and bridging and stuff.
- Containers!
I’m still in the middle of 6+7. Not super comfy with Docker quite yet, but getting there. I really do love having my stuff self-hosted though. Well worth the effort.
I found dockstarter to be helpful to get me going with docker. https://dockstarter.com
You could try yunohost on the server side. (Not docker based and beginner friendly)
I can resonate with feeling lost when first starting out with Linux. If you like learning from books, I can recommend the “Unix and Linux system adiministration handbook” by Evi Nemeth. It includes information and tips on all things Unix/Linux, including step by step tutorials on home to set up a media server etc.
Get used to Linux and keep persevering, you got this! :)
YAMS.
Not perfect, but if you just want the ding dang thing to start so you can see what a working setup looks like, then bam. Use yams.
I think you should start with the basics of Linux instead of diving into the deep end 😉
Why not just ask for help with the issues you’re having?
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters Git Popular version control system, primarily for code HTTP Hypertext Transfer Protocol, the Web IP Internet Protocol NAS Network-Attached Storage PCIe Peripheral Component Interconnect Express Plex Brand of media server package RAID Redundant Array of Independent Disks for mass storage RPi Raspberry Pi brand of SBC SATA Serial AT Attachment interface for mass storage SBC Single-Board Computer SSH Secure Shell for remote terminal access VPN Virtual Private Network nginx Popular HTTP server
[Thread #755 for this sub, first seen 19th May 2024, 05:35] [FAQ] [Full list] [Contact] [Source code]
Follow this series of guides and you’ll be golden https://www.smarthomebeginner.com/ultimate-docker-server-1-os-preparation/
Are you sure that docker is configured properly? What do you see if you do
docker ps
A big differentiator in how you might want to tackle this depends on one question, are you planning on getting into Linux systems administration, like for work? Because if you actually really want low level Linux skills then that’s a whole slew of things you’ll need to learn from scratch. And it’s not just your Windows-only experience that’s holding you back, managing a server is different from managing your desktop.
But if you’re not really interested in working in IT or all you really want to learn how to self host, you’re probably better off with an appliance, like UnRAID. These OSs abstract away much of the low level stuff so you don’t have to worry about it. Not the best way to learn how Linux works really well, but the easiest way to manage your self hosted environment.
deleted by creator