Advanced Search
Search Results
19 total results found
FreeBSD 12.1 ZFS On DigitalOcean
Basic setup for FreeBSD w/ jails using Bastille in a DigitalOcean droplet, including reverse proxy jail, gitea, bitwarden-rs, a website, and Bookstack.
Legwork
Fun Stuff
More Fun Stuff
More Legwork - Backups
More Legwork - Upgrading Versions
Initial Steps
Domain It was high time that I "owned" part of the internet, so I went on NameCheap.com and "bought" two URLs. I went with the WhoisGuard feature, and I set the domain registrations for auto-renewal. VPS I then registered w/ DigitalOcean and provided my cre...
Initial Login
Upon SSH'ing into the server, I am greeted w/ a cold black and white terminal. Excellent. Housekeeping Before moving forward, let's get the system up to date and grab a few packages we'll need momentarily. freebsd-update fetch install pkg update &&...
Jail Preparation/Setup
Filesystem We'll want a dataset to store data that will exist outside the jails. Yay for ZFS (for reasons I'm glossing over...). zfs create -o compress=lz4 -o atime=off -o mountpoint=/usr/local/data zroot/data (Did I have to create /usr/local/data before d...
BookStack Jail
Prerequisites Have a jail called bs_jail We already created a handful at once. Let's look (at the relevant output). [root@freebsd:~]# bastille list JID IP Address Hostname Path bs_jail 10.101.10.110 bs_j...
Caddy Jail
We will ultimately change PF to direct all web traffic to this jail. This jail will run caddy as a reverse proxy for the other jails. Web request SSL terminations happen at the caddy web server, and the traffic is then passed transparently to the respective ...
Website Jail
Before this, I can't think of a time where I edited or wrote html. I can remember creating a basic index.php as a test for nginx and/or apache a couple times while tinkering with Nextcloud, but that might be it. Accordingly, this will be a very basic start o...
Bitwarden-rs Jail
My company provides a password manager, so I don't need this. But what they provide is closed source. I may just switch over to bitwarden, but perhaps little by little. For now, I just want to get this working. Like the password manager I'm provided for wo...
Gitea Jail
This will be our very own, lightweight personal Github/Gitlab. And we'll do something pretty cool with it later. This should be easy by now, right? Now that it works, it sure looks short and easy... Set up location of repos/db zfs create -o compress=lz4 -...
Website Jail w/ Git Power-up
Website via git You created a jail for gitea. Of course you now want to use it to track website changes via git version control. Every git push is a push into production, and that's cool! Let's roll with it. The future is now. Let's pretend you've done s...
Backups Overall
We haven't gone into backups yet. Maybe we should. In general, writing a script to dump a database, tar files, etc, is not rocket science (though it's a bit tedious to set up). The trickiest part in any of these is getting the backed-up files to a different...
BookStack Backup
Here's a script for backing up everything you need in the event you want to rebuild the jail and bring the existing BookStack data to the new jail. It takes no arguments. You simply set the correct variables inside, and it just works™. Here's how: It che...
Upgrade From 12.1- to 12.2-RELEASE
Did we get a choice to include /usr/src when setting up this droplet? I don't remember, but I don't think so. Well, let's just ignore that for the moment and proceed with the upgrade process. Pro Tips Before proceeding - even though nothing will go wrong...
IRC!Radio by dsc_
IRC!Radio IRC!Radio is a radio station for IRC channels. You hang around on IRC, adding YouTube songs to the bot, listening to it with all your friends. Great fun! Stack IRC!Radio aims to be minimalistic/small using: - Python >= 3.7- SQLite- LiquidSoap ...