NODE FROM OCEAN PROTOCOL | PER ONE CLICK! 🔥

DK Nodes
4 min readNov 24, 2024

--

Hello fellows!

We have prepared a script for you that will help you install an OCEAN PROTOCOL node with just one click!

1. First of all, purchase a server from Contabo or Spacecore.

Server specifications:

• 6 vCPU Cores
• 16 GB RAM
• 400 GB SSD

We set up 10 Ocean Protocol nodes for this configuration. If you install more, the nodes might fail to meet the uptime requirement, so it’s better not to take the risk.

2. Set up the server on your PC.

Log in using the command root@ip.

But before that, we recommend securing your server. Read more in our article.

3. Check the ports before installation.

The Ocean Protocol node uses the following ports:
8108
2003 to 2003+N
3003 to 3003+N
4003 to 4003+N
5003 to 5003+N

Before installing the node, make sure these ports are not in use.

What are ports and what role do they play in nodes? — Read more

4. Install the script.

Run the following command and download:

sudo bash -c 'git clone https://github.com/dknodes/ocean.git && cd ocean && chmod ugo+x ocean.sh && ./ocean.sh'

Bonus for you: this script creates EVM wallets and checks the node status through the website https://nodes.oceanprotocol.com/.

If the node goes down, the script automatically restarts it, so you don’t have to keep an eye on the site all the time.

Command 1 — install node
Command 2 — view logs of Typesense.
Command 3 — view logs of Ocean Nodes.
Command 4 — stop node.
Command 5 — start node.
Command 6 — view created wallets.
Command 0 — exit.

To use the commands, press the appropriate number and then “enter”.

Here, the IP address is also detected automatically. If it’s not detected, the script will prompt you to enter it manually.

5. To install the node, press the first command and then “enter.”

Hit the first command to set up the nodes, then type in the number of nodes — 10 in our case.

After that, the script should let you know your nodes “are installed successfully”.

6. Check the logs.

Press the 2nd and 3rd commands and then “enter.”

When you hit the 3rd command, you’ll need to enter how many nodes you have, and then the node number.

You can also import your keys into MetaMask and check them with command 6.

You can also check your node on the site by entering your server’s IP.

➡️ https://nodes.oceanprotocol.com/

If it’s lit up green with a checkmark, everything is good!

Previous articles:

Nodes Guide

🗺️ All the info on nodes, giveaways, educational content, and research will be on our sources — DKNODES, GitHub and X (Twitter).

Thanks for your attention, node runners!

--

--

DK Nodes
DK Nodes

Written by DK Nodes

write about nodes printing on nodes noderunners Telegram Channel – https://t.me/dknodes X (Twitter) – https://x.com/dknodes

No responses yet