Would you like to learn how to do an Electroneum node installation? In this tutorial, we are going to show you how to install an Electroneum node using a computer running Ubuntu Linux.
Hardware List:
The following section presents the list of equipment used to create this Electroneum 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 Electroneum node installation tutorial.
We offer two ways to download this software.
Electroneum Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Electroneum.
Tutorial – Electroneum Node Installation
On the Ubuntu Linux console, you need to use the following commands to install the required libraries and the required packages:
# apt-get update
# apt-get install build-essential cmake pkg-config libboost-all-dev
# apt-get install libssl-dev libunbound-dev libminiupnpc-dev
# apt-get install libunwind8-dev liblzma-dev libldns-dev
# apt-get install libexpat1-dev libgtest-dev doxygen graphviz
Now, let’s compile and install gtest.
# cd /usr/src/gtest
# cmake .
# make
# cp libg* /usr/lib/
Create a directory to the node software and download the Electroneum package.
# mkdir /downloads
# cd /downloads
# git clone https://github.com/electroneum/electroneum
Compile and install the Electroneum node software.
# cd electroneum/
# make
# cd build/release/bin/
# install -sv electroneum-blockchain-export electroneumd /usr/local/bin/
# install -sv electroneum-wallet-rpc electroneum-blockchain-import /usr/local/bin/
# install -sv electroneum-wallet-cli /usr/local/bin/
Create an Electroneum configuration file.
# mkdir ~/.electroneum
# vi ~/.electroneum/electroneum.conf
log-level=0
log-file=/root/.electroneum/electroneum.log
Start the Electroneum node daemon using the following command:
# electroneumd –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/.electroneum/electroneum.log
To start Electroneum as a service, you need to use the following commands.
# vi /etc/systemd/system/electroneumd.service
[Unit]
Description=Electroneum Full Node
After=network.target
[Service]
WorkingDirectory=/root/
Type=forking
PIDFile=/var/run/electroneumd.pid
ExecStart=/usr/local/bin/electroneumd –config-file /root/.electroneum/electroneum.conf –detach –pidfile /var/run/electroneumd.pid
[Install]
WantedBy=multi-user.target
Enable Electroneum as a service and test if it is working using the following commands:
# systemctl enable electroneumd
# service electroneumd start
FAQ – Electroneum Node Installation
If you are having problems to install an Electroneum node, you should take a look at our frequently asked questions page.
To add a question to the database, please post the question as a comment here, or as a comment on the youtube video listed on the top of this page.