Install and Configure Proxmox Server
This is not something that happens a lot. After configuring the primary server hardware, familiarize yourself with these instructions. The basics are pretty simple. Download the current release and blow it onto a USB key. Boot from the key and follow the GUI installer. Most of the defaults are fine. After installation, connect to the Proxmox GUI on port 8006 on the address and credentials that you defined during the install. There will be a nag screen that there is no subscription. The system will work fine this way so you can safely click on OK.
Local Configuration
Additional packages
apt update
apt install unzip
D2c is a small task that runs daily from cron. It grabs the current external IP address and updates the DNS value on the Cloudflare name server. The external IP address from Comcast/Xfinity is actually pretty stable so not a lot of changes happen.
Download the d2c.sh script from: https://github.com/ddries/d2c.sh and then run the following to install it: The following code segment will download and install d2c.sh
cd /tmp
wget https://github.com/ddries/d2c.sh/archive/refs/heads/master.zip
unzip master.zip
chmod +x d2c.sh-master/d2c.sh
cp d2c.sh-master/d2c.sh /usr/local/bin
echo "Successfully installed d2c.sh into /usr/local/bin."
echo "Please, run d2c.sh from command-line before scheduling any cronjob."
echo "Help: \`d2c.sh --help\` or \`d2c.sh -h\` or \`d2c.sh help\`."
The following needs to be installed in order for d2c.sh to work. It will put it into /usr/local/bin. Note tha the install script differs slightly from the base code on github.
#!/bin/sh
VERSION=v4.42.1
BINARY=yq_linux_amd64
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
tar xz && mv ${BINARY} /usr/local/bin/yqFinally, create the following file /etc/cron.daily/d2c directory with:
#!/usr/bin
#
# Update DNS info at Cloudflare
#
/usr/local/bin/d2c.sh