This tutorial provides copy-paste Linux console commands to install and run a complete and stable IOTA full node within a few minutes. I have deliberately chosen not to use automated installation tools like Ansible or Chef. Discord is the primary communication platform for the IOTA community. If you have not already iota numbers use this link.
Make sure to follow the instructions precisely. An SSD hard disk is highly recommended but not mandatory. German host providers who already have nodes running on their machines. For the sake of simplicity we will focus on Ubuntu. Ignore or disable other options such as firewall, plesk, support, etc. Neighbors We’ll use Nelson which automatically takes care of neighbors.
Windows users should use the PUTTY SSH client. As sudo works for both types of users we simply use sudo for all commands. On the first login you will probably get a hint about known hosts. You can simply confirm this with yes.
Update We want to update the OS first. A kernel update sometimes requires a reboot – follow the instructions in the terminal. Make a reboot if required by entering sudo reboot. Packages We need some packages such as Java.
Oracle has proven to be the better choice because many people have problems with OpenJDK. We install version 8 because with 9 there are known problems. Oracle also obviously consumes less resources. Systemd Service Of course we want our node to start automatically after a reboot or crash and therefore create a systemd service for it. Just copy and paste everything into the console. We are now enabling the new service.
Every time you change something in this file you need to run sudo systemctl daemon-reload. We need 3 ports that are freely configurable but recently a scheme has been established that we want to keep. API of the IRI – a wallet would use this port for example. There is no reason to change these ports here. Database Since a synchronization can take several days depending on the performance of your system and the database size we use an already synchronized database created every hour. This means that you only have to synchronize the milestones of the last hour which should be much faster.
Install the Database You can also use this line after a snapshot or to replace your current database if it is corrupted or your node can no longer synchronize. IRI Auto Update We check every 15 minutes if there is a newer version of IRI and install it automatically. The node is fully up and running as soon as you see this line in the logfile. However, you don’t have to wait for it and can proceed to the next step. Nelson takes care of neighbors automatically. Old versions of Nodejs must be uninstalled before installing a current version.