NOTE: I have logged in as root, which will work, but it’s safer to login as a new sudo user for the following steps. See the link above for a step-by-step guide to this

In the console, type the following commands to update your server:

sudo apt update

sudo apt upgrade

In the console, type the following commands to install the dependencies:

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libevent-pthreads-2.1-6 libminiupnpc10 libzmq5 libdb4.8 libdb4.8++

4. Download and install the Energi software on your server

Energi Team Members instructions:

Download the latest pre-release build… from your home directory in the console type:

wget https://s3-us-west-2.amazonaws.com/download.energi.software/releases/energi/v1.1.1/energi-v1.1.1-ubuntu-18.04LTS.tar.gz

Public instructions:

To download the latest version of Energi to your server, go to the downloads page and copy the link to the latest Energi Core for Linux, then, from the home directory in the console type:

wget LinkToFile

Once downloaded, enter this command to unpack the wallet:

tar -xvzf energi.tar.gz

Then, move rename the wallet directory to "energi"

mv energicore-1.1.1 energi

Update your Environment Variables:

Add this line to the end of your ~/.bashrc file:

export PATH="${PATH}:${HOME}/energi/bin"

Then, log out of the console and log back in to update your environment variables that you’ve just specified in .bashrc

Test that the Energi Core software has been installed correctly. In the console, type the following command:

energi-cli

If everything is installed correctly, you should get a help menu, and no errors about missing dependencies. There will be a "too few parameters" error after the help menu displays. This is normal.

5. Configure your Masternode:

From your home folder (/home/username) , create the .energicore directory:

mkdir .energicore

Create energi.conf

nano energi.conf

To obtain your Masternode Private Key, type the following command into the debug console of your local Energi wallet:

masternode genkey

Back up this key somewhere safe, and have it available to use in the next step:

Add these lines to the energi.conf file:

rpcuser=USERNAME

rpcpassword=PASSWORD

rpcallowip=127.0.0.1

listen=1

server=1

daemon=1

maxconnections=24

externalip=SERVER_IP_ADDRESS

masternode=1

masternodeprivkey=MASTERNODE_PRIVATE_KEY

Now in the same debug console, obtain your masternode collateral address by typing the following command:

getaccountaddress AddressLabel

Use whatever label you want for this address.

Then, send exactly 10,000 NRG to this address.

You will also need the transaction ID and index for this transaction. To obtain that information, type the following command into the debug console:

masternode outputs

Open your local masternode.conf file and add the masternode information on a new line.