DERO Node Setup

Please use following instructions to setup DERO Node.

System Requirements: Recent 8 cores CPU, 8GB Ram, 100GB SSD/NVME,
Operating Systems and Arch:
Any OS which is supported by Golang like Linux, Windows, Mac(Darwin), FreeBSD etc. and Intel, AMD, ARM processors.

Step 1] Preparing filesystem.
On Linux(Debian, Ubuntu, Arch, Kali etc.) XFS filesystem is highly recommended for DERO Nodes.
RHEL, CentOS have XFS as default filesystem.
Windows users see this fifth post for performance and sync issues.
Make sure your DERO Node uses any filesystem which has very large number of inodes and good performance to handle large number of small files.
During installation of new Operating System choose XFS filesystem with smallest inode size(like 128/256/512 bytes) and block size. With small inode size there will be very large number of usable inodes on disk.
SSD is highly recommended to store DERO Node mainnet data.

If you have already installed OS without XFS filesystem then create XFS filesystem data container for high performance with following cmds with 100GB:

sudo apt install xfsprogs ntpdate
fallocate -l 100G dataFsFile
mkfs.xfs -f  -i maxpct=100 -m crc=0 -i size=256 -b size=512  dataFsFile
mkdir dNodedata ; chmod -R 777 dNodedata
mount dataFsFile dNodedata
cd dNodedata      // Download DERO software and sync in this directory

NB: Use dd if fallocate not available dd if=/dev/zero of=dataFsFile bs=1G count=100 . Change count=100 or 200 for 100/200 GB partition. Choice depends on your free space.

use df -i & df -h to check your free inodes and space.

NB: Use sudo or root/admin/superuser account in above commands wherever if requested by your particular OS.
NB: In case of system reboot just use mount cmd again mount dataFsFile dNodedata.

Step 2] Time sync your node.
Make sure your node is time sync always by following or other methods of your choice.
Install ntpdate by following cmd:

sudo apt install ntpdate
sudo ntpdate

Edit crontab crontab -e to sync time every 30 mins by adding following entry in crontab:
*/30 * * * * /usr/sbin/ntpdate
Run cmd crontab -l to make sure there is ntpdate entry like following in the last:
*/30 * * * * /usr/sbin/ntpdate

Step 3] Installing DERO Node Software.
Make sure you are in dNodedata directory or any other XFS-folder you created & mounted above. Use pwd cmd to check.
Download latest release from github repo or build from source.
Darwin files are for MacOS.
Arm files are for Raspberry Pis and mobiles.
Following example is for linux 64Bit systems. Download files based on your OS.
Open command prompt and run following cmds to download and start syncing your DERO Node.

tar xvzf dero_linux_amd64.tar.gz
cd dero_linux_amd64 

DERO HE: 8/8 [131693/131693] P 4 TXp 0:0 NW 4.721 MH/s >Miners 0  MAINNET 0 0s|0s|0s>>

Decoding DERO Prompt:

Congratulations. Your node is running and syncing.
Now setup DERO Wallet.

1] Run one DERO node only in your local/home network. Use this single Node/daemon to connect your multiple wallets and miners. Check Home/Local Lan DERO Node Setup.
2] If using VPN make sure it allows UDP connections.
3] If required Increase UDP connections limits etc. in your router.
4] Allow port forwarding to daemon if behind NAT. Start derod daemon with option --p2p-bind= and port forward that port eg: 50404 in router to daemon Node/IP.
5] On some Mac machines to run DERO files in terminal you have to run sudo spctl --master-disable.
6] DERO Mainnet Ports:

Mining Getwork Default Port: 10100
Daemon P2P Port: Random UDP port , For static port use --p2p-bind= in daemon.
Daemon RPC Default Port: 10102 TCP
Wallet RPC Default Port: 10103  TCP 

P2P and mining traffic are encrypted.

7] To urgent download DERO blockchain DB use following cmd & place mainnet folder along with derod binary. Following link is not guaranteed to work all time.
rsync --inplace --port=2048 -a rsync:// ./
Rsync on windows guide.
It is recommended to do normal sync so that blockchain can be verified completely for any hacks, exploits etc. and use above method rarely in case of mainnet DB corruption like power issues etc.

8] Never download and use blockchain DB from any source. Sync & verify your own completely.

9] Run following cmds in root/sudo on Linux machines:
sudo echo "net.core.rmem_default=2097152" >> /etc/sysctl.conf; sysctl -p
For details please see KCPTUN optimizations.

10] Run in terminal before running derod on Linux machines:
echo "ulimit -n 64000" >> ~/.profile ; ulimit -n 64000 ; source ~/.profile

NB: Choose dedicated machine/good VPS with low latency to

Alternate guides for Node & wallet setup:
CLI Wallet User Guide (Stargate) — DERO Documentation documentation
[SOLUTION] Registering DERO Wallet On Linux (Probably works on Windows/Mac too idk)
Storing DERO - Full Node & CLI Wallet Creation Guide - YouTube
Storing DERO - Remote Node & CLI Wallet Creation Guide - YouTube

1 Like

I’m having some issues with the issue.
First of all, I learned that the “dd” command is an old command and there are problems in its working and error. I used the “fallocate” command instead.
fallocate -l 100G dataFsFile
but i am facing problem on VPS server for trial.

Consult your VPS hoster for issues in mounting loopback devices.
Also make sure your VPS hoster/provider is exporting full instructions set of processors for performance.

All good VPS have loopback support. See following example from a VPS:

df -i  
Filesystem                                  Inodes  IUsed    IFree IUse% Mounted on
udev                                        250818    414   250404    1% /dev
tmpfs                                       255994   1062   254932    1% /run
tmpfs                                       255994      1   255993    1% /dev/shm
tmpfs                                       255994      4   255990    1% /run/lock
tmpfs                                       255994     16   255978    1% /sys/fs/cgroup
/dev/vda1                                   124928    303   124625    1% /boot
tmpfs                                       255994      4   255990    1% /run/user/0
overlay                                    1806896 536106  1270790   30% /var/lib/docker/overlay2/2564/merged
shm                                         255994      2   255992    1% /var/lib/docker/containers/347e01/shm
/dev/loop0                                33496992      3 33496989    1% /root/dNodedata

When you have a suitable time, this title again; Can you make a list of recommended vps companies and vps models?

Creating a virtual disk in Windows
1- start>type “cmd”>righ click on “cmd”>click run as administrator.

2- run diskpart

3- execute the following commands in order.

create vdisk file=c:\disk.vhd type=fixed maximum = 102400

select vdisk file=c:\disk.vhd

attach vdisk

create partition primary


4- Close the windows that appear.

5- Proceed from the Diskpart window.

format FS=NTFS UNIT=512 LABEL=“deronode” QUICK


1 Like

See how to keep time sync on windows machine:

net stop w32time
net start w32time
w32tm /resync /force
net time /set

Also , Recommended by several users.

Thank you @snipeTR .

I recommend this service. it really offers the easiest and error-free and continuous solution.

1 Like


Am am using Linux with ZFS filesystem and created a compressed ZFS file system for my dero node. But see XFS is recommended. I don’t have any problems but still wonder if there are some recommended settings for a ZFS file system or if I really should move over to XFS?

Pls use XFS, there have been some reported issues of caching on ZFS filesystem.
ZFS was initial choice though but have to switch to XFS filesystem.

Hello. What is the function of the parameter “–min-peers”.

--min-ppers X is used to maintain connection with at-least X number of peers.

Thanks! Problem is I have no disk space for that. I could make a ZFS volume and put XFS on top of that but not sure it helps. I guess its time for SSD upgrade.

1 Like

OK, I see. Thank you

Hi, how do I install a dero node on Windows? I don’t understand very well the explanation that you give me here and I’m doing some work. Could you help me

1 ] Follow post above to create windows disk DERO Node Setup - #5 by snipeTR

2] Download latest release for windows

3] Unzip and cd into DERO folder in command prompt.

4] ./derod-wndows-amd64

Note: UDP connections permission required if using VPN/router.

1 Like

Excuse me, what can I do with that node, and what do I gain from it?

Can I mine with that node? Excuse my ignorance a bit for the questions I ask. It’s just that I’m new to this, I saw this project and fell in love with it. Thanks again for your help

Fastest way to mine is to use remote node but you pay 10% fees.
Download latest release.
Register your Stargate address/wallet first.
Start mining with following cmd:
./dero-miner --mining-threads 22 --wallet-address walletAddress

Note: Remote mining node is

1 Like

What is the function of the new version – sync-node?