Nebuchadnezzar (Neb
for friends) is my main server, where I host most of my software and services, plus a few community apps, all thanks to the sublime YunoHost. It’s a VPS located in Dusseldorf (DE) I rent from Contabo.
Years ago, I started self-hosting to pursue the mission of a quite utopistic and clueless mission of personal digital liberation. I now see that, as Boris Mann puts it, self-hosting is selfish
, and I am shifting my perspective towards a more collective, communal, choral, and, above all, politically aware mission.
This page mostly focuses on technical aspects and quick sparse notes, as I am devoting most of my energy towards more in-person, participatory, and somewhat intimate practices and endeavours, mainly XPUB Projects and Knitting Our Internet.
Name
The name of this server is inspired by the homonymous ship, as displayed in The Matrix saga.
Environmental impact
As tommi.space iswas hosted on Nebuchadnezzar, all arguments made in the page about the environmental impact of this website are valid for the server, too.
YunoHost
Changing the default shell to zsh
See this guide on the YunoHost forum. Note: YunoHost requires a different procedure than a regular Debian server.
Tweaks and fixes
- Fix Contabo repository problems. Note: the repository sources’ URLs change in Debian 12 (Bookworm), see the
sources.listexample in Debian Wiki - Close ports 53 and 5353 (if not running YunoHost on a local device). More info
Nginx
Nginx’s configuration files are in /etc/nginx/conf.d. For example, tommi.space Nginx configuration file resides in /etc/nginx/conf.d/tommi.space.d/my_webapp.conf.
To check and reload the configuration:
sudo nginx -t && \
sudo systemctl restart nginxBrotli compression
It was a mess enabling Brotli compression in Debian/YunoHost 11. In Debian/YunoHost 12 (Bookworm) it is much easier, I followed this guide to do it.
Backup
YunoHost backups on Cubbit DS3 object storage using rclone
Nextcloud
To use occ in YunoHost requires to first get in the Nextcloud app’s shell, then perform the command:
sudo yunohost app shell nextcloud
php8.4 --define apc.enable_cli=1 /var/www/nextcloud/occ [command]