Would you like to learn how to do a Monero node installation from source? In this tutorial, we are going to show you how to install a Monero node using a computer running Ubuntu Linux.
Hardware List:
The following section presents the list of equipment used to create this Monero tutorial.
Every piece of hardware listed above can be found at Amazon website.
Software List:
Here is a list of software that we used to create this Monero node installation tutorial.
We offer two ways to download this software.
Monero Playlist:
On this page, we offer quick access to a list of videos related to Monero.
Don't forget to subscribe to our youtube channel named VirtualCoin.
Monero Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Monero.
Tutorial - Monero Node Installation
If your Linux does not have Swap memory configured, use the following commands to create a swap file:
# dd if=/dev/zero of=/mnt/linux.swap bs=1M count=32092
# chmod 0600 /mnt/linux.swap
# mkswap /mnt/linux.swap
# swapon /mnt/linux.swap
In our example, we create a 32GB swap file.
To enable the swap, edit the fstab file and add the following line.
# vi /etc/fstab
/mnt/linux.swap none swap sw 0 0
Reboot the computer to enable the swap.
# reboot
Use the following commands to install the required packages.
# apt-get update
# apt-get install build-essential cmake pkg-config
# apt-get install libboost-all-dev libssl-dev libzmq3-dev
# apt-get install libunbound-dev libsodium-dev libminiupnpc-dev
# apt-get install libunwind8-dev liblzma-dev libreadline6-dev
# apt-get install libldns-dev libexpat1-dev
# apt-get install libgtest-dev doxygen graphviz
Download the Monero installation package.
# mkdir /downloads
# cd /downloads
# git clone https://github.com/monero-project/monero
Compile and install the Monero node software.
# cd monero/
# make
# cd build/release/bin/
# install -sv * /usr/local/bin/
Start the Monero node using the following command:
# monerod --detach
Wait for the synchronization of the blockchain to end.
The blockchain synchronization might take days or weeks.
Use the following command to verify the status of the blockchain synchronization:
# tail -f /root/.bitmonero/bitmonero.log