Deploying Super Node
To initiate the installation of the essential runtime components required by boson super nodes, please execute the following command on your build machine:
Building Debian Package
After installing the dependencies on your build machine, execute the following commands to build a Debian package that can be installed as a super boson node:
After the build, a Debian package is generated with the following nomenclature boson-<version>-SNAPSHOT-all.deb.
Installing Super Node
After generating the Debian package, proceed to upload it to the VPS server. Then, execute the following command to install it as a super boson node in the server with privileged permission:
After the installation, several directories and files with the following organized structure are created if it's a fresh installation:
/usr/lib/boson: contains the runtime libraries, including jar packages
/etc/boson: contains the config file default.conf
/var/lib/boson: contains the runtime data store
/var/log/boson: contains the output log file boson.log
A list of runtime data stored and cached under /var/lib/boson
includes the following files:
key: contains a generated private key
id: contains the node ID in base58 format
dht4.cache: contains the routing table information for IPv4 addresses.
node.db: contains information about Value and Peer announced over network.
Enable Port Opening
If the VPS running the super node has a firewall enabled, it needs to enable the designated ports. The default port being used is 39001
. To enable or check the port if it's already enabled, run the commands with 'ufw'
tool below with privileged permission:
Checking Service Status
Once the super node has been installed and is running on the VPS, it is advisable to employ the 'systemctl' command to check the service status or initiating start/stop actions for effective management.
Below is the command to check the output log for more detailed information on the current running status.
An Example of a Config File
To properly run the boson super node service, update the config file with the following contents, but make sure to fill in your own address4 or address6 field.
Last updated
Was this helpful?