Nodes

Installation

12min

All commands must be run under root user

Prepare system

GPU drivers

Please skip this step if want to have your node act only as VPN gateway It’s necessary to install and configure GPU drivers, support for NVIDIA and AMD cards

Docker

Prepare disk volume and filesystem

Before docker installation it’s neccessary to prepare the separate disk volume for docker’s data. This volume should be mounted on /var/lib/docker and formatted in XFS filesystem.

In case you don’t have the ability to use separate disk partition, use file as separate volume:

  • create 100Gb file, if you have more spare disk space, create as much as possible
Shell

  • format it using XFS filesystem
Shell

  • run the following command
Shell

  • mount /var/lib/docker
Shell


Install OctaSpace software

Install distribution:

Shell


By default to access the node TCP port 47015 is used and must be open in firewall. If you need to change it, run the installation as:

Shell


Go to https://cube.octa.space and add new node

Firewall

The following ports must be opened:

Port

Protocol

Description

51800-52000

TCP/UDP

Service ports

38000

TCP/UDP

Network P2P ports

47015

TCP

Node Control Interface

The ports above are defaults ports used by the system, the ports except network ports are possible to change to other ones in the CUBE interface.

Opening ports using UFW

The default firewall configuration tool for Ubuntu is ufw. To open ports which is necessary for the node to operate run the following commands:

Shell


DDNS - Dynamic DNS

If you don’t have static IP address you may use dynamic DNS service to make your node available via domain name instead of IP address.

After dynamic DNS is configured you will be able to install node software by specifying this name like:

Shell