Blockchain node setup guide
How to run your own blockchain node on a VPS from scratch: choose a plan, secure the server, verify downloads, run a systemd service and check sync.
Read more →Updated 2026-11-11 · Published by AnonVPS
Log in as root over SSH or the in-browser console, then update the system and create an unprivileged user for daily work. The node itself will run under its own service account, never as root.
apt update && apt full-upgrade -y
adduser admin
usermod -aG sudo admin
rsync --archive --chown=admin:admin ~/.ssh /home/admin
# log out, then log back in as adminAllow SSH and the Dogecoin peer-to-peer port. Keep the RPC and API ports closed to the internet: they are not meant to face the public network.
sudo apt install -y ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow OpenSSH
sudo ufw allow 22556/tcp
sudo ufw enable
sudo ufw statussudo useradd --system --create-home --home-dir /var/lib/dogecoind --shell /usr/sbin/nologin dogecoin
sudo install -d -m 755 /etc/dogecoinReleases are published on the Dogecoin Core GitHub releases page. Download the Linux x86_64 archive and compare its checksum with the one listed with the release.
VER=VERSION_FROM_THE_RELEASES_PAGE # example format: 1.14.9
cd /tmp
wget https://github.com/dogecoin/dogecoin/releases/download/v$VER/dogecoin-$VER-x86_64-linux-gnu.tar.gzsha256sum dogecoin-$VER-x86_64-linux-gnu.tar.gztar -xzf dogecoin-$VER-x86_64-linux-gnu.tar.gz
sudo install -m 0755 -o root -g root -t /usr/local/bin dogecoin-$VER/bin/dogecoind dogecoin-$VER/bin/dogecoin-cli
dogecoind --version | head -1sudo tee /etc/dogecoin/dogecoin.conf >/dev/null <<'EOF'
datadir=/var/lib/dogecoind
dbcache=1000
maxconnections=40
listen=1
server=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcuser=doge
rpcpassword=CHANGE-THIS-TO-A-LONG-RANDOM-STRING
EOF
sudo chown root:dogecoin /etc/dogecoin/dogecoin.conf
sudo chmod 640 /etc/dogecoin/dogecoin.confopenssl rand -hex 24sudo tee /etc/systemd/system/dogecoind.service >/dev/null <<'EOF'
[Unit]
Description=Dogecoin Core daemon
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/dogecoind -conf=/etc/dogecoin/dogecoin.conf
User=dogecoin
Group=dogecoin
Type=simple
Restart=on-failure
TimeoutStopSec=600
PrivateTmp=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now dogecoind
sudo systemctl status dogecoind --no-pageralias doge='sudo -u dogecoin dogecoin-cli -conf=/etc/dogecoin/dogecoin.conf'
doge getblockchaininfo | grep -E 'blocks|headers|verificationprogress'
doge getconnectioncount
journalctl -u dogecoind -n 30 --no-pager22556/tcp for peers. Keep RPC closed to the internet.
This guide runs a full node. Check the Dogecoin Core documentation for pruning support in your version before relying on it.
Hours to a couple of days, depending on the plan and peers.
In the node's data directory. Keep funds in a wallet on a device you control, not on the server.
How to run your own blockchain node on a VPS from scratch: choose a plan, secure the server, verify downloads, run a systemd service and check sync.
Read more →Run a pruned Bitcoin Core node on a VPS: install, verify, configure, run with systemd, open the firewall and check sync. Copy-and-paste commands.
Read more →A practical checklist for a new Linux VPS: SSH keys, a non-root user, firewall, automatic updates and backups, with the commands.
Read more →