The bmannconsulting.com website
1## September 9th, 2024 2 3I'm probably going to pave over this server again! 4 5Had been looking at [[Unraid]] as a good baseline, including the way it can host Windows VMs. 6 7### Ventoy 8 9Found [[Ventoy]] and am going to attempt to pave over the Corsair 2TB USB-C NVMe drive I have. 10 11Used `wget` to download the ventoy stuff and unpack it. None of the web gui stuff will work ATM because we have the server in a DMZ and I don't remember it's internal alternate IP address. 12 13`networkctl status` is great for looking at all your network settings. 14 15![screenshot of networkctl status command](/assets/2024/networkctl-status.png) 16 17To get a list of disks / partitions under Ubuntu, use `lsblk`: 18 19``` 20sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL 21``` 22 23OK, Ventoy installed. I thought [[Unraid]] would have an ISO, but the whole point is to have bootable USB, so they don't support that. I guess I'll go buy a USB key for this! 24## August 1st, 2024 25 26[[MiniPC PL63]] got wiped and Ubuntu Server installed. 27 28The interface for partitioning drives, now with Logical Volume Manager, is just as confusing as ever. It sets aside 100GB for a default install and leaves the bulk of the drive empty. 29 30The import keys from GitHub experience is really nice. 31 32Jonno had previously setup a VLAN to be a DMZ where the Z-Brain server is running, on `192.168.1.x`. 33 34Configured the MiniPC to be on that same network. It routes through a UniFi 4 port Switch. Had to also configure the port that it plugs into on the switch to automatically route that VLAN rather than the default one. Otherwise the machine is on the default VLAN and gets an IP from there. 35 36Much searching of network interface commands for Ubuntu. `networkctl` is installed by default and the one you want. 37 38Port forwarding is configured on external IP address to forward to the internal DMZ IP address. So, we only open ports (22, 80, 443) that we want to let through to the server. We still have one public IP address available. 39 40Tested ssh from all IP addresses, internal and external, all worked. 41 42Installed [[Coolify]] by generating a public/private key pair and copying the private key to authorized keys in the root account of the machine. Used the external public IP address and Coolify connected and installed everything else remotely. 43 44Did a test install of Ghost, which worked, and used Coolify's default temp domain thing. Need to map [[BringYourOwn.Computer]] as the default domain for it. 45 46Probably also need to look at S3 Storage and backup options. Trying to use my [[Storj]] account -- but this mostly only works for backups, as it doesn't support public files. 47 48--- 49I mapped BYOC domain and couldn't get anything working. The dreaded "too many redirects" no matter what I did. You have to set [[Cloudflare]] encryption settings to "Full", and then everything will start working. 50 51Succeeded at a test install of [[Docmost]], a new-to-me wiki package that looks pretty good.