#ubuntu
10 posts · filter on the home page
- Securing Your Origin Server by Automating UFW Rules for Cloudflare IPsIf you're using Cloudflare to manage traffic to your origin server, you might want to restrict incoming traffic to only come from Cloudflare. This is crucial for protecting your origin server from potential unauthorized access. A handy…
- Running PostgreSQL on Ubuntu as non-Postgres User: The Definitive GuideWe're running Postgres for the production deployment of Struct, a (not-yet-launched) chat platform we're building to deal with the disorganized chaos of live communication. I'm using PostgreSQL to store the data -- which I have started to…
- Postgres 15 on Encrypted ZFS and Ubuntu 22.04 LTSI'm using Postgres for my new startup. The startup is still in stealth mode, so I can't talk about it much. But, given the focus of the startup is on communication platforms, Postgres made a lot of sense. This is the first time I've ever…
- Detailed Guide to Setting Up ZFS RAID on Ubuntu 22.04In a previous post, I showed how to put together a cheap load balancer server for $500. I later had an idea to use that server for storage too. Storage servers don't need much CPU, just a lot of disk space. And this one had very little…
- Comparing Compression Algorithms for Moving Big DataIn a previous post, I wrote about the best way to transfer a directory across the network.
- Share One IP Across Servers with KeepalivedAs you might have picked up, I run baremetal servers. They provide the best performance-to-cost ratio. A problem I've been trying to solve for some time now has been to securely expose a performant service, which is load-balanced across a…
- Nginx with Let’s Encrypt SSL CertsI won't go into details here. This tutorial does a good job: https://www.nginx.com/blog/using-free-ssltls-certificates-from-lets-encrypt-with-nginx/
- How To Set Up Linux RAID On Ubuntu 22.04Update (Sep 14, 2022): I've switched to using ZFS because it has checksums for every block -- I can't imagine trusting a storage without checksums. [This blog post][zfs] covers how to setup ZFS and switch away from mdadm.
- Creating a Bootable Disk on UbuntuThis would search for ISO files in Downloads, and show you the USB stick that's plugged in. You can then follow the interface to create a bootable disk.