A step-by-step guide to setting up a Dogecoin node on a VPS server.
- Minimum Specs:
- 4 CPU Cores
- 250+ GB Storage
- Linux Ubuntu 22.04 LTS
- Boot up a VPS server with Ubuntu 22.04 LTS.
- Open a terminal and update system packages:
sudo apt update && sudo apt upgrade - When prompted, press Y and hit Enter to install updates.
- If a menu appears, use the arrow keys to navigate, press space bar to select all options, then hit Enter.
- Download and extract Dogecoin Core:
curl -L https://github.com/dogecoin/dogecoin/releases/download/v1.14.9/dogecoin-1.14.9-x86_64-linux-gnu.tar.gz | tar -xz - Navigate to the extracted Dogecoin directory:
cd dogecoin-1.14.9/bin/ - Start Dogecoin Core:
./dogecoind
- It will look like nothing is happeningβlet it run for 30-60 seconds.
- Stop the process:
Ctrl + C
- Move Dogecoin binaries to a system-wide location:
sudo cp dogecoin* /usr/bin/
- Navigate to the Dogecoin configuration directory:
cd ~/.dogecoin/
- Create and edit the configuration file:
nano dogecoin.conf
- Copy & paste the following configuration (modify username/password/IP)(added txindex incase you want to do other developments or indexing:
rpcuser=your_username rpcpassword=your_password rpcallowip=127.0.0.1 maxconnections=50 rpcport=22555 txindex=1 server=1
- Save the file (
Ctrl + X, thenY, thenEnter).
- Open a new script file:
nano start.sh
- Copy & paste the following:
(Replace
dogecoind -conf=/yourusernamehere/.dogecoin/dogecoin.conf -daemon
yourusernameherewith your VPS username, usuallyroot.) - Save the file (
Ctrl + X, thenY, thenEnter). - Make the script executable:
chmod +x start.sh
- Run the script:
./start.sh
β Your node is now running! π
Run the following commands to check your node:
- Check block sync progress:
dogecoin-cli getblockcount
- Check active connections:
dogecoin-cli getconnectioncount
- If connections = 8, your port forwarding is incorrect!
β Your node is fully operational! π―
- Set up a VPS server
- Installed Dogecoin Core
- Created Configuration Files
- Started Dogecoin Node
- Verified Node Sync Status
π You now have a fully functional Dogecoin Node! πΆπ
If you have any issues, feel free to open an issue or reach out to the @Heimdall_bull on X! πβ¨
π Happy Mining & Supporting the Dogecoin Network! πΆ
