Install
Latest Version Tag |
---|
Install dependencies
Update system and install build tools
sudo apt update & sudo apt upgrade -ysudo apt install curl -ysudo apt install docker.io -y && \ docker --versionsudo apt install docker-compose -y && docker-compose --versionmkdir ocean && cd ocean
Install file2ban
# set and copy the config that will have higher prioritysudo 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 statussudo systemctl status fail2ban
# check which jails are active (by default only sshd)sudo fail2ban-client status
# check sshd statisticssudo fail2ban-client status sshd
# look at the logssudo 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
docker-compose up -d
Check the logs
docker-compose logs -f
Update node
docker stop ocean-nodedocker rm ocean-nodedocker stop typesensedocker rm typesense
and
docker-compose up -d
Dasboard
Let’s go to the dashboard to check if our node is working properly
[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