Installation
All commands must be run under root user
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
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
- format it using XFS filesystem
- run the following command
- mount /var/lib/docker
Install distribution:
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:
Go to https://cube.octa.space and add new node
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.
The default firewall configuration tool for Ubuntu is ufw. To open ports which is necessary for the node to operate run the following commands:
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: