64
submitted 3 months ago by Squizzy@lemmy.world to c/linux@lemmy.ml

I just want something as a proof of concept that this can be for me. I am aware I am the problem.

But everything is wildly difficult for me. I pulled back from docker after realising it was above my skillset, I just want to try home assisstant with a few lights but fair enough it is beyond me.

I opted to install a game, fail. Learn about wine and bottles. Start a bottle and get told I only have 8gb free in directory, I cannot for the life of me see where it is getting that from.

Please god someone tell me there is a step by step for the fucking imbeciles out there on where to start!?

(page 3) 18 comments
sorted by: hot top controversial new old
[-] glitchcake@piefed.blahaj.zone 1 points 3 months ago

There is no failure, only data.

[-] Nibodhika@lemmy.world 1 points 3 months ago

Ok, lots of answers focusing on the game, so I think you have plenty of suggestions on what to try there. That being said I have never heard of bottles, I've used raw wine and PlayOnLinux before Steam integrated Proton so now I just use that.

For docker it can be daunting, and home assistant is not an easy thing to setup. The thing with docker is that it can be very complex, but you don't have to worry about the majority of it. I assume you have docker installed, enabled and your user is in the correct groups. Unfortunately Mint/Ubuntu don't have docker in their normal repos so you probably had to add the docker PPA and install from there. Let's run a couple of commands to ensure all went well:

sudo systemctl status docker

This should show you the status of the docker daemon, and it should say that it is Active. If you get a no such service type error then docker is not installed, if it's not shown as active then the daemon is not started and can be done so by running sudo systemctl start docker (and you can replace start with enable for it to happen at boot). If it's Active then awesome, let's check that your used can run docker commands, try running this: docker run hello-world if that fails but sudo docker run hello-world works then your user doesn't have access, you want to add your user to the docker group sudo usermod -aG docker $USER and reboot.

Ok, docker hello world is working, what now? Now, I assume you have some idea of what docker is, but in a (wrong but simple) way you can think of it as virtual machines. Let's try to run some cool stuff in it, there are two main ways, running a long complicated command, or writing those parameters on a file and running a simple command. This file is called a compose file, and should be named compose.yaml or docker-compose.yaml. let's try that, create a folder called silverbullet (just because that's the service we will try, it is a note taking app that I really like) and in there create a file compose.yaml and write the following content there (everything starting with # is a comment I added explaining what that does, and can be removed if you don't want it):

# This defines all of the services we want to run
services:
  # This is the name of the service, it can be whatever you want
  silverbullet:
    # The image is the actual thing you want to run
    image: ghcr.io/silverbulletmd/silverbullet
    # This tells docker to restart the service if it closed for whatever reason, unless you specifically tell it to stop
    restart: unless-stopped
    # This will set environment variables inside the docker.
    # different services might require different environment variables set
    environment:
      # silver bullet uses SB_USER environment variable to set user/password for the main account. We're setting user to admin and password to 123 here
      - SB_USER=admin:123
    # This maps outside folders to inside folders so that your docker container can access them
    volumes:
      # Here we're telling it that the ./data folder should be accessible in the /space folder inside the docker
      # silver bullet stores stuff in the /space folder, so by mapping it to the ./data folder we can keep that data between runs
      - ./data:/space
    # This tells docker to map ports from the inside to your host machine, this allows you to access the docker container as if it were running on your machine
    ports:
      # This tells it to map the internal port 3000 to the external port 5000, so accessing http://localhost:5000/ from your machine will in fact access the same as http://localhost:3000/ inside docker
      # Silver bullet runs on port 3000, so we need to expose that port
      - 5000:3000

Uff, that was a lot, but we're done, now just run docker compose up -d (up to start -d to run as a daemon, i.e. in the background) and you should be able to access http://localhost:5000/ and get to Silver bullet logging in with admin 123, then if you write about something you will see files appearing in the silverbullet/data folder.

I know that this was a lot in one go, but I chose Silver bullet because it touches all of the most common stuff you'll need and it's easy to get going.

Good luck with your self hosting journey, and don't hesitate to ask if you have any questions.

[-] Squizzy@lemmy.world 1 points 3 months ago

Hey man thanks for this, hoping to get back on the machine later today but Inreally appreciate your effort here it means a lot and goes a long way.

[-] bacon_pdp@lemmy.world 1 points 3 months ago

Nothing in Linux is above your skill level, you just have not found the community speaking your way of seeing it yet.

You are not the problem; the problem always is community finding is a hard unsolved problem in the Linux space.

Implicit details embedded in code can easily produce your frustration. But as I don’t know what your goals are and what you feel comfortable with, it will be hard to help

[-] Squizzy@lemmy.world 0 points 3 months ago

This is a lovely thought, I hope you are right. To be fair I use a lot of my stupid questions on AI because its quick and basic like what commands and what responses mean. Doesnt help build a community, but I cant be annoying people with issues constantly either. Only when I am about to lose my mind apparently.

[-] bigredgiraffe@lemmy.world 1 points 3 months ago

In contrast, and I say this as someone who has used various types of Unix and Linux for a long time, I think this is an excellent use for AI, just be sure to use it to teach you things not just to solve your problems for you.

What I mean by this is I have found (mostly Claude) to be great at explaining concepts, especially if you use it to make analogies to something you know. It is absolutely not right every single time but I have had great luck with questions like “explain to me how to X in Y tool, I know how to have the same outcome by doing A in B tool” or “explain to me how docker works using a rocket as a metaphor” or things like that. Also I use it a lot for new subjects where I don’t know what to search for quite yet and I can just give it a long rambling explanation and example and ask it for 3 suggestions to research further or things to check. It is kind of useful as an expensive search engine but if you use it like a research engineer to get you started it can be really helpful in my experience.

As others have said though, I have been doing it forever both personally and professionally and I am definitely still learning. Linux knowledge is more of a skill to develop over time not something that is easy to master because it continually changes. Learning how to find or figure out the answers is the most valuable skill though, it’s impossible to remember everything. That and often there is no single right or correct answer for every situation but there are a lot of options and opinions and often more of the latter than the former. That said though usually the best answer is the one that I forget about because it functions forever and doesn’t blow up in my face hah.

Anyway, hope at least some of that is helpful, best of luck!

:wq

load more comments (3 replies)
[-] underscores@lemmy.zip -2 points 3 months ago

Hot take maybe but Linux isn't for everyone, you gave it a fair shot and if it didn't click with you then use Windows again.

If you want to keep trying then you already what you have to do: just be patient and try to learn how things work, watch videos etc

Don't what that ? Then use Windows again. As a Linux user I appreciate that you tried, as most people don't.

load more comments
view more: ‹ prev next ›
this post was submitted on 29 Aug 2025
64 points (95.7% liked)

Linux

57274 readers
270 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS