The instructions are written to target testnet. You can get testnet bitcoins from a faucet on google. Remove --testnet from all commands after you have something functioning on your machine.
I tested it with 1, 2 and 3 funded addresses on testnet. Note that the fee is static. I'm sure it'll work with infinite addresses.
This will involve at the very least, setting a static port. Choose ports that aren't in use. No need to expose these ports externally, unless you know what you're doing.
Run the following. It will list the addresses with balances, pull out the private keys, format them ready for the sweep command, prepare and sign a transaction, then broadcast it.
Run the commands from 3, 4 and 5 on startup of the server. Alternatively, you can run them before each command, but you would need to shut down the daemon if you did that.
Pre-amble
--testnetfrom all commands after you have something functioning on your machine.1 Setup Server
sudo apt-get install jq)export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python2 Configure Electrum
2 B - Daemon
electrum setconfig rpcport 7776 --offline --testnet2 - B Use Electrum UI to Setup your Wallet
electrum --testnet3 Run the Daemon
electrum daemon -d --testnet4 Configure your Environment
5 Load the wallet
electrum load_wallet -w $WALLET -W $PASSWORD --testnet6 Get Addresses with Balances, Sweep & Broadcast
7 Schedule
8 Reboot