Setting up a BPL Core node
This article will guide you through the set-up of a BPL Corenode (either forging or relay) on the BPL Core network.
Setting up a BPL Core node is relatively easy, but it will help to have some experience with SSH and using the Linux terminal as well as managing a Virtual Private Server (VPS).
To ensure a stable and consistent internet connection, a VPS (Virtual Private Server) provider with a guaranteed up-time of 99% or greater. There are many affordable providers available by a www search for "VPS provider".
The minimum recommended specifications for a BPL Core node are:
- Processor: 2 cores
- RAM: 8 gigabytes
- Solid State Drive: 100 gigabytes
- Processor: 1 core
- RAM: 4 gigabytes
- Solid state drive: 100 gigabytes
The BPL Core node software needs the following ports to be opened for proper functioning:
- HTTP and SSL (for install and updates): Ports 80 & 443
- SSH (for node administration): Port 22
- BPL Core Specific: Ports 4200, 9030, & 9031
Now for the fun stuff... You'll have your BPL Core node up and running in about 15 minutes by carefully following the steps below, on a suitable VPS running Ubuntu 16.04 or 18.04.
Add the user "bpluser" and grant the new user sudo access
- Log in as bpluser
Run the following command to start the install process:
Press [Enter] on your keyboard if you see the following prompt (will not occur for all OS configurations):
- When you see the prompt "What network do you want to operate on?", use the arrows on your keyboard to select "mainnet" (or "testnet" if you are participating).
- Press "Y" on your keyboard when you see the prompt "Can you confirm?"
- Press "y" on your keyboard when you see the prompt "Would you like to configure the database? [y/N]"
Enter a username for your database when you see the prompt "Enter the database username" then press [Enter] on your keyboard
It is recommended that you use a different username than the user (bpluser) you created in step 1 of this guide
Enter a password for your database user when you see the prompt "Enter the database password"
It is recommended that you use a strong password that is different from the bpluser password you set in step 1 of this guide
Enter a name for your database when you see the prompt "Enter the database name"
We recommend that your database be named "bpl_mainnet" for a mainnet node or "bpl_testnet" for testnet
Thats it... you have successfully installed and configured your BPL Core node!
Now that your node is installed, you'll need to start it. This will is covered in the knowledge document Basic BPL Core Node Management