dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
Link to the script: https://github.com/nazarimilad/iota-nodeI think I will just copy and paste the description in the README to explain what this script does exactly: There are a lot of tutorials like this one or this one. The problem with this tutorials is that they take quite some time and they aren't easy to follow for people who are new to a Linux environement. The purpose of this script is to automate the installation of an IOTA full node. It compiles the IRI, it generates an ini configuration file, it sets up a daemon, it can be used to add new neighbor nodes, etc. I hope it will be helpful to people trying to set up a full node.
|
|
|
johnprime
|
|
Group: Forum Members
Posts: 32,
Visits: 11
|
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
|
|
|
kakata
|
|
Group: Forum Members
Posts: 9,
Visits: 0
|
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
|
|
|
Winston
|
|
Group: Administrators
Posts: 3.6K,
Visits: 6.8K
|
@dodolord Great work, and thanks for posting this here. Your thread has been pinned to the top of this forum.
|
|
|
therium
|
|
Group: Forum Members
Posts: 7,
Visits: 23
|
Why does the IRI jar file have to be compiled? Shouldn't it just run? I'm having problems getting my full node to run on my Win 8 machine.
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
+xWhy does the IRI jar file have to be compiled? Shouldn't it just run? I'm having problems getting my full node to run on my Win 8 machine. It has two advantages in my opinion. First of all, you can see in the script from where the source code for the IRI is downloaded and compiled, which is the official repository of the IRI default implementation. This way you can always easily check if you can trust the generated IRI jar file. If I included a jar file myself or let the script download it from somewhere, you won't be 100 % sure if you can trust it. And secondly because compiling it from the source repository always means that you have the latest version of the IRI jar.
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
+x@dodolord Great work, and thanks for posting this here. Your thread has been pinned to the top of this forum. It's an honour!
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
UPDATE: now my IOTA installation script integrates IOTA-PM! So now, when your run the script to install a node, you will also have an option to include IOTA-PM within the installation (see screenshot in the README). You won't have to install and configure IOTA-PM yourself.
|
|
|
dezoid
|
|
Group: Forum Members
Posts: 6,
Visits: 33
|
Hi,
i get an Error by installing IOTA-P:
Would you like to install IOTA-PM? This is a program for monitoring and managing IOTA peers connected with your node. [y/n]: y
./iota-node.sh: line 75: npm: command not found
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
+xHi, i get an Error by installing IOTA-P: Would you like to install IOTA-PM? This is a program for monitoring and managing IOTA peers connected with your node. [y/n]: y ./iota-node.sh: line 75: npm: command not found It means it doesn't recognize npm. You have to install it first with the command sudo apt install npm
|
|
|
Mango
|
|
Group: Forum Members
Posts: 10,
Visits: 18
|
HI first off great script dodolord, Made life very easy.
Can I suggest the following 1. Add to your pre-reqs the following items: curl, npm, dig,
2. can you detail BY EXAMPLE how to add a neighbour. Lets say, i have a neighbour with the following details:
tcp://a.b.c.d:12345 udp://6.7.8.9:09876
you mention that to add a neighbor use the following command: sudo iota-node --add-neighbor addressofYourNeighbour
Can you advise the command we need to issue at the terminal of VPS please ? Sorry, we are brand new to Linux, and doing our best to learn this. Regards, Mango Guy
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
+xHI first off great script dodolord, Made life very easy. Can I suggest the following 1. Add to your pre-reqs the following items: curl, npm, dig, 2. can you detail BY EXAMPLE how to add a neighbour. Lets say, i have a neighbour with the following details: tcp://a.b.c.d:12345 udp://6.7.8.9:09876 you mention that to add a neighbor use the following command: sudo iota-node --add-neighbor addressofYourNeighbour Can you advise the command we need to issue at the terminal of VPS please ? Sorry, we are brand new to Linux, and doing our best to learn this. Regards, Mango Guy Hi Mango, Thanks for the feedback. I will add dig, curl and npm in the README. And for the example, you have type the following command: sudo iota-node --add-neighbor tcp://a.b.c.d:12345 or if you want to add the other neighbor: sudo iota-node --add-neighbor udp://6.7.8.9:9876 I hope I could help you!
|
|
|
Mango
|
|
Group: Forum Members
Posts: 10,
Visits: 18
|
+x+xHI first off great script dodolord, Made life very easy. Can I suggest the following 1. Add to your pre-reqs the following items: curl, npm, dig, 2. can you detail BY EXAMPLE how to add a neighbour. Lets say, i have a neighbour with the following details: tcp://a.b.c.d:12345 udp://6.7.8.9:09876 you mention that to add a neighbor use the following command: sudo iota-node --add-neighbor addressofYourNeighbour Can you advise the command we need to issue at the terminal of VPS please ? Sorry, we are brand new to Linux, and doing our best to learn this. Regards, Mango Guy Hi Mango, Thanks for the feedback. I will add dig, curl and npm in the README. And for the example, you have type the following command: sudo iota-node --add-neighbor tcp://a.b.c.d:12345 or if you want to add the other neighbor: sudo iota-node --add-neighbor udp://6.7.8.9:9876 I hope I could help you! Perfect. Thanks. Do you by any chance have available slot to add me as neighbor. I installed everything as you mentioned, but i dont have active neighbors. Plus
|
|
|
Mango
|
|
Group: Forum Members
Posts: 10,
Visits: 18
|
Also, after installing.
>>After restarting your terminal, you can run iota-node from everywhere: sudo iota-node <option> << I believe we need to start the software, by issuing sudo iota-node -x [ is tis correct]
however, things are not great for me. i issued this command at terminal [ sudo iota-node -s] the entire ting has exited. something like.
Loaded: loaded (/etc/systemd/system/iota-node.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Friday..... Process: 3542 Execstart =usr/bin/java -jar /root/.iota-node/iri.jar -c /root/.iota-node/iri.ini (code=exited, status=255) Main PID: 3542 (code=exited, status=255)
...... any idea what this means ??? Did i screw something up while following your instructions...or do you think i need to wipe everything [uninstall] and start from beginning....
Regards,
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
+x+x+xHI first off great script dodolord, Made life very easy. Can I suggest the following 1. Add to your pre-reqs the following items: curl, npm, dig, 2. can you detail BY EXAMPLE how to add a neighbour. Lets say, i have a neighbour with the following details: tcp://a.b.c.d:12345 udp://6.7.8.9:09876 you mention that to add a neighbor use the following command: sudo iota-node --add-neighbor addressofYourNeighbour Can you advise the command we need to issue at the terminal of VPS please ? Sorry, we are brand new to Linux, and doing our best to learn this. Regards, Mango Guy Hi Mango, Thanks for the feedback. I will add dig, curl and npm in the README. And for the example, you have type the following command: sudo iota-node --add-neighbor tcp://a.b.c.d:12345 or if you want to add the other neighbor: sudo iota-node --add-neighbor udp://6.7.8.9:9876 I hope I could help you! Perfect. Thanks. Do you by any chance have available slot to add me as neighbor. I installed everything as you mentioned, but i dont have active neighbors. Plus Unfortunately I can't add more neighbors since my server is at it's limits. But you can always find neighbors on this forum, on https://www.reddit.com/r/nodesharing/ and on slack (on the nodesharing channel).
|
|
|
dodolord
|
|
Group: Forum Members
Posts: 24,
Visits: 0
|
+xAlso, after installing. >>After restarting your terminal, you can run iota-node from everywhere: sudo iota-node <option> << I believe we need to start the software, by issuing sudo iota-node -x [ is tis correct] however, things are not great for me. i issued this command at terminal [ sudo iota-node -s] the entire ting has exited. something like. Loaded: loaded (/etc/systemd/system/iota-node.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Friday..... Process: 3542 Execstart =usr/bin/java -jar /root/.iota-node/iri.jar -c /root/.iota-node/iri.ini (code=exited, status=255) Main PID: 3542 (code=exited, status=255) ...... any idea what this means ??? Did i screw something up while following your instructions...or do you think i need to wipe everything [uninstall] and start from beginning.... Regards, This is because the iota-node service (daemon) will only start AFTER adding a neighbor. Since you didn't first add a neighbor, the service was not active and this caused this failure. Check the power part of the screenshot in the README: "... Add a neighbor to start a node ..." If the node is not started, you can't use it. I hope It was helpful
|
|
|
EtUnity
|
|
Group: Forum Members
Posts: 9,
Visits: 7
|
Great work! Any chance you can add Nelson to the Script?
|
|
|
EtUnity
|
|
Group: Forum Members
Posts: 9,
Visits: 7
|
+xGreat work! Any chance you can add Nelson to the Script? I tried to run the command after runiing the scripts and got the below error. Did I do something wrong? Thanks ~$ sudo iota-node -i sudo: iota-node: command not found
|
|
|