💾 Archived View for tobykurien.com › articles › 2022-10-08-simpler-linux-selfhosting.gmi captured on 2024-05-26 at 14:42:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

-=-=-=-=-=-=-

Simpler Linux self-hosting with tmux and bubblewrap

Let's say you want to self-host a Gemini capsule and a weblog. Maybe you'll use a Raspberry Pi or VPS server. Typically, you'd install (or get a pre-installed) operating system, like Debian/Ubuntu. You might then `apt install` a webserver like nginx, and `pip3 install` a Gemini server like JetForce.

Some problems come to mind with this kind of setup:

Getting back some control

In order to get back some control, I thought about how nice it would be if:

The current solution

This is my solution for implementing the above ideas:

Arch wiki bubblewrap page

Usage

Source code repository for the scripts and example services

Download repo zip

In my hypothetical scenario from the introduction, this is how I'd go about setting up my server:

ttyd - Share your terminal over the web

Benefits

Here are some benefits I find for using this method:

Caveats

This simple method is only really useful for simple self-hosting. Here are some downsides I found:

Future refinements

Some features I'd like to explore in future:

Early OOM Daemon for Linux

Fail2ban on Wikipedia

__

Home

Email me