Need a 2 scripts scripts for Ubuntu- For [login to view URL] Node

Ukończone Opublikowano 6 lat temu Płatność przy odbiorze
Ukończone Płatność przy odbiorze

I am using [login to view URL] droplets and when i create a new there is a function to run a script on startup on that droplet.

I need a script that does this:

1: Installs a software using this command :

curl -sSL [login to view URL] | bash

Once that is done we just need to edit the env file and add the ERC20 address(eth address) and your ip address(droplet IP). To do this, run the following commands

cd ~/chainpoint-node

cp .[login to view URL] .env

use your favorite editor (i prefer nano):

nano .env

The file there are two fields:

NODE_TNT_ADDRESS=

CHAINPOINT_NODE_PUBLIC_URI=

These two fields have to be filled out , example:

NODE_TNT_ADDRESS=

CHAINPOINT_NODE_PUBLIC_URI=[login to view URL]

Problem 1:

1: Once the script runs on the node, it would need to retrieve what eth wallet adresse to use.

2: IP is known, as that can be found on the droplet by the script, but eth adresse is nowhere to be found.

Solution:

1: Script installes a ftp or software the connects to a cloud storage like dropbox and checks a excel file called "node list"

This will contain ip and what eth adresse that droplet needs to use

So if node with ip [login to view URL] checks the file, it needs to find the same IP(its own ip) in the list and then use that corresponding eth adresse. Se example file

This way we control what each node will use for its eth adresse

Once this is done, script then needs to navigate here using :

cd ~/chainpoint-node

And use command "Make Up"

This will start the node

Once that is done successfully, it should install the second script on the node(that script will run 24/7 as process on the node) If it fails on the first script, then it won't install the second script

The second script is in doc file

Need this done asap, you will get access to two nodes.

Both are working,but only 1 is registered

The one that is registered, its important you don't uninstall the node or anything like that.

Cause that would cause us to loose the registration key

THe other node that is not registered, you can do anything with it

Access will be given to the [login to view URL] site, were the not registered node is located.

Linux Shell Script Ubuntu

Numer ID Projektu: #15397106

O projekcie

1 oferta Zdalny projekt Aktywny 6 lat temu

Przyznany użytkownikowi:

dkokmadis

A proposal has not yet been provided

$133 USD w 1 dzień
(381 ocen)
7.0