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 create a new user and install the required libraries and the required packages:

# useradd -m electroneum
# 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/

Let's create the configuration files required to start the Electrum node at boot time.

# vi /etc/systemd/system/electroneumd.service

[Unit]

Description=Electroneum Full Node
After=network.target
After=syslog.target

[Install]

WantedBy=multi-user.target

[Service]

User=electroneum
Group=electroneum
WorkingDirectory=~
Type=forking
ExecStart=/usr/local/bin/electroneumd --detach
PrivateTmp=false

Now, we need to enable the Electrum node to start at boot time.

# systemctl enable electroneumd
# systemctl daemon-reload

Reboot the computer and check if the Electroneum service was started automatically.

# reboot
# service electroneumd status

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 /home/electroneum/.electroneum/electroneum.log

The system should now open TCP ports 26967 and 26968.

Use the following command to check if the TCP ports are open.

# netstat -nl | grep 269

tcp 0 0 0.0.0.0:26967 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:26968 0.0.0.0:* LISTEN

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.