Skip to content

Install


Latest Version Tag

Install dependencies

Update system and install build tools
Terminal window
sudo apt update & sudo apt upgrade -y
sudo apt install curl -y
sudo apt install docker.io -y && \ docker --version
sudo apt install docker-compose -y && docker-compose --version
mkdir ocean && cd ocean
Install file2ban

more here and here

Terminal window
# set and copy the config that will have higher priority
sudo apt install fail2ban -y && \
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local && \
sudo nano /etc/fail2ban/jail.local
# uncomment and add your IP: ignoreip = 127.0.0.1.1/8 ::1 [ip]
sudo systemctl restart fail2ban
# check status
sudo systemctl status fail2ban
# check which jails are active (by default only sshd)
sudo fail2ban-client status
# check sshd statistics
sudo fail2ban-client status sshd
# look at the logs
sudo tail /var/log/fail2ban.log
# stop work and remove from autoloading
\#sudo systemctl stop fail2ban && sudo systemctl disable fail2ban

Download and Initialize node

If you have a ready-made private key, enter Y and Enter

On request enter the private key

Next, if necessary, enter the ports we need.

If the default ports are satisfied, just press Enter 5 times

Enter your external IP address

Start node

Terminal window
docker-compose up -d

Check the logs

Terminal window
docker-compose logs -f

Update node

Terminal window
docker stop ocean-node
docker rm ocean-node
docker stop typesense
docker rm typesense

and

Terminal window
docker-compose up -d

Dasboard

Let’s go to the dashboard to check if our node is working properly

Terminal window
[YOUR_IP]:8000/dashboard/

In the dashboard, connect the EVM wallet whose private key was specified when installing the node

Copy the ID of your node and go to explorer

Enter the node ID in the search field

At first, the search result will be empty! But after a few hours, the node will appear.

The status should be “Positive” and uptime will also appear