Deploy a Public Blue0x Node
Sign up for a VPS (Virtual Private Server) with a provider like DigitalOcean.com (opens in a new tab)
These instructions assume you are using DigitalOcean, but other VPS providers are similar.
DigitalOcean $200 Credit for All New Users (opens in a new tab)
Once signed up you will have a $200 credit for 60 days
The $5 monthly plan covers 1 month of computing for 1 server with 1 GB RAM and 25 GB storage. This is sufficient, but not ideal. The $10 monthly plan, with 2 GB RAM and 50 GB storage, is better suited to run the Blue0x software.
Create your first Droplet
-
Click
Create
and thenDroplet
from the dropdown menu. -
Select
Ubuntu 20.04(LTS) x64
-
Select the
Basic
,Regular Intel with SSD
, and either the $5/mo or $10/mo option. -
Choose any
datacenter
that you would like. -
Enter a secure
root password
. You will need this later. -
Choose a
hostname
if you would like or leave it as default. -
Click
Create Droplet
. -
In a few moments, your new VPS will be ready to go.
Connect to your new Droplet
-
If you are on
Windows
, download Putty. (opens in a new tab) Once installed, fill in theIP Address of your VPS
into theHost Name
field. Confirm that thePort
is set to22
and that theConnection type
isSSH
. In theConnection
subheading, underSSH
ensure2
is selected underSSH protocol version
. UnderData
subheading, enterroot
asAuto-login username
. You may then connect by clickingOpen
. Once started, you will then need to enter the password you specified in the last step. -
If you are on a
Mac
, you can use terminal, which is built into MacOS. -
If you are on a
Linux
system, you can use any shell to connect viassh root@IP_ADDRESS_VPS
.
After logged in to your VPS, install Java
-
Run the following commands in your terminal
sudo apt update
sudo apt install default-jdk
Download and run Blue0x
-
Run the following commands in your terminal
git clone https://github.com/theBlue0x/node.git
cd node
./compile.sh
./run.sh
-
You will see a message indicating that the node is running at
localhost:2022
-
In your favorite browser, open
IP_ADDRESS_OF_VPS:2022/index.html
-
You will see the Blue0x Login Screen.
-
Click
Create Your Account
. -
Save and securely store your new account passphrase.
-
Once you are done setting up your account, stop your node by pressing
CTRL+C
in the terminal.
Enroll in Node Rewards
-
Run the following command in your terminal
nano conf/nxt.properties
-
Add
nxt.myPlatform=BLX-__-___-___-___
whereBLX-___-___-___-___
is your new account address. PressCTRL+X
,ENTER
to save the file. -
Restart your node as a background service
./run.sh --daemon
-
Verify that your node is properly configured here (opens in a new tab)
Congratulations! You are now running a public Blue0x Node!
Your rewards will arrive soon!