Category: Tech

The state of the rack…

The state of the rack…

I’m collecting dust – fk u 🙂

25u Startech rack, Unifi USG, non-POE switch, and I’ve an AC lite access point on the upper landing. There’s a Hue Hub down there to but you cant see it because the spare room is a mess. On the left I’ve random PC bits, as well as my WD Pro NAS that’s not currently connected. I only use it every few months or so for cold storage of everything that’s on Unraid.

The Unraid box is as described somewhere in a post below: Ryzen 3600, 32gb ram, X570 board and 12tb of useable backup storage. I have a 500gb nvme cache and a 4tb parity. I need to buy another parity really, but its okay for now. I run Unraid and docker containers for the unifi controller, plex, and transmission. I have been previously running public-facing nextcloud and wordpress with letsencrypt, duckdns and mariadb, but right now they are disabled. It does what it needs to do and I couldnt be happier 🙂

How to add Goddamned TLS Certs on Linode One Click installs….

How to add Goddamned TLS Certs on Linode One Click installs….

3 days… 3 days Ill never get back. Dont get me wrong, Linode is awesome, but their guides are so mixed up it’s unreal. The guides for One Click installs were piecemeal at best. I’m not a total noob with linux and the cli, I am able to learn new things and follow guides, its just flicking about and having to have a knowledge of information that isnt laid out for your verbatim is extremely frustrating and unhelpful for a lazy person such as myself. All I wanted was to set up wordpress and nextcloud, and have an SSL cert for both. Here’s what I did:

I assume you have created a Linode account. Log in, get to the dashboard – this is going to be quick and dirty, sorry, maybe a better write-up at a later date.

Linode WordPress install one-click with SSL certificate:

Click Marketplace on the left of the screen, and select a WordPress – Latest one-click
Fill out the appropriate user information and passwords etc make sure if you are using a domain name to add it here
Click create

I use Google Domains, add the IP address as an A record to the DNS page (its at the bottom of the screen)
Wait for your domain name to resolve the IP so that your site is accessible

Once you can access the site via the domain name, ssh into your instance at the IP address given, either use a terminal app or the built in console
ssh root@yourIP
Enter your password

So this is where my head scratching began. Almost all the guides you will find for adding an SSL certificate depend on nginx, however, if you try and install nginx it will fail. The answer lay on this guide in really small, grey on blue, text. Instead of using nginx, use apache!

In your terminal type:

sudo apt install certbot python-certbot-apache
sudo certbot –apache

I’ve added it in bold, just in case, like me, you are stupid and miss obvious things. Providing your domain is set up, follow the guide and enter your requested information then check your website. Make sure to forward all requests to https and you should be golden.

The certificate will expire, should you wish to not have to log into your website every time it does, run the command:

sudo certbot renew –dry-run

This should autorenew the certificate when it expires with your information. Also, as the guide advises, back up your certificates somewhere they wont be lost if the worst happens.

Linode Nextcloud install one-click with SSL certificate:

Dont do it, or do it and if you make it work, drop me an email on the address in the box on the right. If you can manage this, you are a great human being and I would love to be you.

I couldnt make it work – there’s a pain with the domain, and the hostname, and then editing files and trying to figure out why it’s adding one to the other and then getting it to work properly with certbot…. urgh, just dont bother. However, I do recommend this video which is what worked for me. Set up an Ubuntu instance, install the snap and then enable the SSL:

So right now this site and my nextcloud site are both set up with SSL, very happy, I can actually start using them proper instead of creating them for a few hours and then nuking them because I made a mess. I appreciate that it’s all about the learnings however I only have a set amount of patience. I’m so glad this is over and done with for now. Any problems over time, Ill undoubtedly make another post.

Good luck.

Unraid Server

Unraid Server

This isnt the final form, as the room where my rack has been sitting the past few months is a mess, but I realised I hadnt posted a picture of the box since the dusty Proxmox build below. The rack, and this server is rock solid. I love it. Its so flexible. Right now its really just hosting files, Plex with movies and TV shows, Transmission for torrents and my Unifi Controller for my network in docker containers.

I have 12tb of storage and a 4tb parity drive. I also use a 500gb NVMe cache drive to keep things fast.

The system itself is a Zen 2 AMD Ryzen 3600, 32gb of DDR4 RAM and an Asus X570 board. Its fast as fk.

Ill post a pic of the full rack with my Unifi gear in a future post, once it’s less crowded in there.

🙂

The Forest’s Edge MUD server code

The Forest’s Edge MUD server code

Back in the day before your next-gens and your raytracers there were text based RPGs that you played by typing commands. I know right, weird. And they were really popular. One of the MUDs that I played (and it’s derivatives) was called The Forest’s Edge, I think about a dozen of us nearly failed college because of this game. Which was fine, we didnt really know what we wanted to do anyway, and the game was fun so that’s all that mattered.

I’ve had these files on a CD for ages, then I have them backed up on my home servers but I thought they may be of some use to somebody who wants to poke at the code or try and get it up and running. There’s also a repository of code on Seltha.net, this may just be a duplicate of stuff that I’ve downloaded from there years ago, but there might be something different. I havent really checked.

The code bases are named as per the release derivative of the source code. Affmud was my attempt at recreating the game, just for fun, with the help of skilled coders who actually did know what they were doing, I just paid for the hosting really and tinkered here and there.

The files are hosted up on Google Drive, feel free to have a look around and download anything you might find interesting.

Proxmox basic build – free dust!

Proxmox basic build – free dust!

This is an old Gigabyte DDR3 system with a 4770k and 16gb of ram. We have two 120gb SSDs, a 1TB data drive and a 40GB OS drive. I have ran the two SSDs in RAID1, but this is just for experimenting. AIO cooler for the chip, did have a wifi card in this machine (yes it also has a disconnected DVD drive #retro) but using wired for the network. I’ve ran XCP-ng, prefer Proxmox. Will hopefully get something more server-savvy in the future, but hey, we’re just learning here.

Theme: Overlay by Kaira