Once you log on, you should change your password:

type passwd

6. Create a new user account

Now, you will want to make a non-root sudo user to run your Energi software.

Type adduser [newusername] The adduser program will walk you through the process of setting up a new user account.

Then type usermod -aG sudo newusername to add that user to the sudo group:

Type exit to end your SSH session, and then reconnect as your new user:

7. Update your server

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

sudo apt update

sudo apt upgrade

Enter "Y" for yes to continue with the system update. It may take a few minutes to install everything.

7. Install the required dependencies

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

Press [ENTER] to continue adding the packages

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++

Enter "Y" for yes to continue...

8. Install Energi

Download and install the Energi software on your server.

Make sure to copy the link to the most recent Linux version found here: energi.world/downloads. This tutorial was written using version 2.1.2

Then, in your console run the wget command followed by the link to the file:

wget https://s3-us-west-2.amazonaws.com/download.energi.software/releases/energi/v2.1.2/energicore-2.1.2-linux.tar.gz

Once downloaded, enter this command to unpack the wallet:

tar -xvzf energicore-2.1.2-linux.tar.gz

TIP: On the command line, you can type a partial filename, and then hit the [TAB] key to autocomplete. This comes in handy for long filenames. If there is more than one option, it will display them in a list.

Then, move/rename the wallet directory to energi

type mv energicore-2.1.2 energi

TIP: use the ls command to list the contents of the directory you're currently working in. Here, you can observe that the archive file energicore-2.1.2-linux.tar.gz was unpacked into a directory named energicore-2.1.2 , and then we used the mv command to move it to energi , effectively renaming it:

9. Update your Environment Variables

Open your ~/.bashrc file with nano , a text editor:

nano ~/.bashrc

Use your arrow keys to arrow down to the end of the file, and add this line:

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

Press ctrl X (or command X on Mac) to save. Enter "Y" and press [ENTER] to confirm.

Then, type exit to log out of the console. Log back in via SSH 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.

10. Create the .energicore directory and energi.conf file

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

mkdir .energicore

cd .energicore/

nano energi.conf

Then, add these lines to your energi.conf file:

daemon=1

rpcallowip=127.0.0.1

rpcuser=user (alphanumeric only)

rpcpassword=password (alphanumeric only)

Once again, press ctrl X (or command X on Mac) to save. Enter "Y" and press [ENTER] to confirm.

11. Copy your encrypted wallet.dat file to the server

Use sftp to copy your local wallet.dat file (containing the NRG you want to stake) to the server. Make sure you have encrypted the wallet before doing this!

Verify that your .energicore folder contains the energi.conf file you just setup as well as the wallet.dat file you just uploaded

12. Adjust your permissions

type the following command:

chmod -R go= ~/.energicore

(this removes group and other permissions so only the owner of that folder can read those files)

13. Bootstrap your Full Node!

Make sure you are still working within your .energicore directory and type these commands:

wget https://www.dropbox.com/s/gsaqiry3h1ho3nh/blocks_n_chains.tar.gz?dl=1 -O energiblocks

tar -xvzf energiblocks

NOTE: This will download and unpack the blockchain files to your server much more quickly than letting it sync from scratch!

14. Start your Full Node!

In the console, type energid to start the server. You will have to wait hours for it to sync, unless you bootstrapped it in the previous step. You can check the status by running this command on the server: energi-cli mnsync status

Wait for it to say " MASTERNODE_SYNC_FINISHED "

15. Enable Staking

Type the following command:

energi-cli walletpassphrase password 999999999 true

" password " should be the password you used to encrypt your wallet.dat file.

" 999999999 " is how many seconds the wallet should remain unlocked for staking.

" true " at the end means "unlock for staking only"... this is VERY IMPORTANT, as without it the wallet would be fully unlocked for spending as well...

16. Verify that your wallet is currently staking

Type energi-cli getstakingstatus

Congratulations! You are now staking Energi on a cloud server 24/7… Way to go!

Note: It’s technically possible to earn NRG with staking just 1 NRG but currently, it will take 2.6 years to get 1 NRG.