Would you like to learn how to do an IOTA node installation? In this tutorial, we are going to show you how to install an IOTA node using a computer running Ubuntu Linux.

Hardware List:

The following section presents the list of equipment used to create this IOTA 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 IOTA node installation tutorial.

We offer two ways to download this software.

IOTA Playlist:

On this page, we offer quick access to a list of videos related to IOTA.

Don't forget to subscribe to our youtube channel named VirtualCoin.

IOTA Related Tutorial:

On this page, we offer quick access to a list of tutorials related to IOTA.

Tutorial - IOTA Node Installation

On the Ubuntu Linux console, use the following commands to install the Java JDK package.

# apt-get update
# apt-get install default-jdk

Use the following command to find the Java JDK installation directory.

# update-alternatives --config java

There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
Nothing to configure.

In our example, our Java JDK is installed under the folder: /usr/lib/jvm/java-8-openjdk-amd64

Now, you need to create an environment variable named JAVA_HOME.

Let’s create a file to automate the required environment variables configuration.

# vi /etc/profile.d/java.sh

Here is the java.sh file content.

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

Now, let’s reboot the computer.

# reboot

Install the Maven software.

# apt-get install maven

Create a directory to the node software and download the IOTA package.

# mkdir /downloads
# cd /downloads
# git clone https://github.com/iotaledger/iri

Compile and install the IOTA node software.

# cd iri
# mvn clean compile
# mvn package

Access the target directory, list the files to find you IOTA node package.

# cd target
# ls
checkstyle-cachefile generated-sources maven-archiver test-classes
checkstyle-checker.xml generated-test-sources maven-status
checkstyle-result.xml iri- original-iri-
classes jacoco.exec surefire-reports

In our example, a file named Iri- was created inside the target folder.

Start the IOTA node using the following command:

# java -jar iri- -p 14265

You started a new IOTA node but you still have to ask someone to set you as a neighbor for the blockchain synchronization to happens.

The blockchain synchronization might take days or weeks.