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

Proxy Information
Original URL
gemini://ew.srht.site/library/tobykurien.com/articles/2022-10-08-simpler-linux-selfhosting.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
139.130374 milliseconds
Gemini-to-HTML Time
1.313717 milliseconds

This content has been proxied by September (ba2dc).