By lab | January 6, 2018
Running a node is just using your compute resources to store a copy of the Monero blockchain. It take relatively little CPU, memory, or network, and only a marginal amount of storage.
In this guide, we will build a Monero node on a Virtual Private Server with 1vCPU, 1GB of memory, and 60GB of disk space. The VPS is running Ubuntu 18.04.1. This process will also work identically for: - Fedora 27 - Centos 7 - Debian 9.5
Download and Install
Because we are running this on a Linux server, we can download the command line tools only.
Grab them from getmonero.org
mkdir ~/monero-node cd ~/monero-node wget https://downloads.getmonero.org/cli/linux64
The downloaded file is a
.tar.bz2 file called
linux64 which we need to extract.
tar -xjf linux64
At the time of writing, the current version was
monero-v0.12.3.0 so the files are extracted to a directory of that name.
Move into that directory and all the binaries are listed.
cd monero-v0.12.3.0 ls
The binary used for running a node is
monerod, the Monero Daemon. Verify it works properly by displaying the version.
Run the Node
Now it is time to run the daemon.
monerod includes a “daemon” mode (just use
--detach), which pushes the process into the backgroun and allows the sync to continuously run, even if you disconnect from your server.
The node will begin to sync in the background.
A couple of notes on running this process:
- By default, the node is NOT mining.
- By default, the process is listening on the default ports: 18080, 18081, 18082
- By default, the blockchain is saved to
~/.bitmonero. Check out our post on customizing a Monero node if you need to change this.
- By default, the process is NOT listening for external RPC calls. Check out our post oncustomizing a Monero node if you need to change this.
That’s it. You are now supporting the Monero network by running a full node. Your node will take some time to fully sync to the network, and will likely use GBs of network data in the process. If this is a showstopper, check out our post on customizing a Monero node.
Now, check out our post on hardening a Monero node.