forwardvoid

joined 1 year ago
[–] [email protected] 7 points 6 months ago

That’s not what ‘keyless entry’ means. You still have to open your door, you just don’t need to press a button to unlock it first.

[–] [email protected] 2 points 6 months ago

Something like that indeed.
Every active network connection, every process, every piece of hardware and others are in your file system.
Then there’s also the possibility for linking to a file and links take up no space, but can show up like files.
You can use a command like ‘stat’ to get more information about a file (or directory).

[–] [email protected] 20 points 6 months ago* (last edited 6 months ago) (3 children)

Something to realise when starting with Linux is that everything is a ‘file’. Sockets, processes, input, output etc. That’s very different from Windows and part of why scripting on Linux is so powerful. You can interact with anything.
So some directories are filled with things that aren’t necessarily files but look like it. Someone else posted a whole list, just realise that under those directories/paths shouldn’t be messed with unless you know what it’s for.
Generally when you’re getting used to Linux, /home/$user (aka ~) is where you put personal things. The rest is managed by OS and applications, don’t worry about it.
Edit: spelling

[–] [email protected] 12 points 6 months ago (1 children)

Why is he in bed saying “it’s the middle of the night” then.
Your explanation does not fit with the comic.
If Jenkins would have said “but i don’t work on Wednesday” and his boss said “it’s Thursday “. That would have fit your scenario.

[–] [email protected] 1 points 8 months ago

If you’re hosting websites and not applications, perhaps you can use SSGs like Hugo/Gatsby. You could deploy your site in a bucket and put cloudflare in front. They can also be used on your own server of course. If you are hosting applications and want to keep them on 4g, you could put a CDN (CloudFlare or …) in frint of it. That would cache all static resources and greatly improve response times.

[–] [email protected] 1 points 8 months ago

If you’re hosting websites and not applications, perhaps you can use SSGs like Hugo/Gatsby. You could deploy your site in a bucket and put cloudflare in front. They can also be used on your own server of course. If you are hosting applications and want to keep them on 4g, you could put a CDN (CloudFlare or …) in frint of it. That would cache all static resources and greatly improve response times.

[–] [email protected] 1 points 8 months ago

Containers are bad hmmkay… cause… cause… they’re bad… hmmkay

[–] [email protected] 5 points 8 months ago* (last edited 8 months ago)

Portainer + caddy + watchtower, this will give you the benefits of containers without the complexity of Kubernetes. As someone who professionally works with Kubernetes, I agree with what other people have said here: “only run it if you want to learn it for professional use”.

Portainer is a friendly UI for running containers. It supports docker compose as well. It helps with observability and ops.
Caddy is an easy proxy with automatic Let’s Encrypt support.
Watchtower will update and restart your containers if there’s an update.
(Edit: formatting)

[–] [email protected] 25 points 8 months ago

It’s not efficiency that makes people prefer democracy.

[–] [email protected] 15 points 10 months ago

Great attempt on making a tool, I think your usecase might not be as appealing to others. If I need to list the hosts I have config for I would use: grep Host ~/.ssh/config If your list of servers is too long to remember, you might want to look at Ansible for configuration. But whatever works for you :)

[–] [email protected] 5 points 11 months ago

I would suggest using Caddy. I think it’s a little simpler than Traefik and can automatically handle LetsEncrypt SSL/TLS certificates for you

[–] [email protected] 1 points 11 months ago

Sounds like an excellent suggestion.

view more: next ›