Auto-Installer Ubuntu 16.04 / 18.04

logo-ubuntu.jpg

Basic Requirements

There are many reputable providers that these can be purchased from: Vultr, Hetzner, and Time4VPS etc. Don't use lowest cost VPS to host your masternode as we will be going through a processes which requires a bit of memory. 1 GB of RAM is a good beginning with most providers.

A Virtual Private Server (VPS) running Ubuntu 16.04 LTS or 18.04 LTS

  • 20 GB of disk space
  • At least 100 Mbps bandwidth speed
  • External IPv4 or IPv6 addr
  • 1 GB of RAM or more
  • 1 fast CPU of more

Graphical Wallet: A copy of the most up-to-date Adeptio Core wallet for your personal computer, you will use to store your masternode funds and control it. Download:

Adeptio coins in your Adeptio Core wallet. You can buy it on Crex24 eXchange or BiteBTC eXchange. 1 masternode requires:

  • 10 000 ADE & 1 ADE coin for transaction costs

A program to login to your VPS:

Please keep in mind that you’re gonna need a single IP for each masternode you’re planning to run.

You can use regular user with sudo rights (safer) or root

 

Preparing VPS for masternode installation

Login with ssh or putty to your VPS server. And update the packages for up-to-date state:

sudo apt-get update -y
sudo apt-get upgrade -y

Adding a SWAP file:

sudo fallocate -l 3G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab
sudo echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

Reboot the server to load a new kernel (if) there are new one.

sudo reboot

Login with ssh or putty to your VPS server once again.

 

Installing masternode with auto-install scripts

Now we can use auto installer script from adeptio-project official github repository. Scripts intended to do most of hard work for us. Of course you can check the script code content:

To start an auto installer for IPv4 masternode copy this line to the terminal/console and paste to VPS server:
cd ~/ && sudo apt-get install curl -y && bash <(curl -s https://raw.githubusercontent.com/adeptio-project/adeptio/master/scripts/setup_adeptio_cold_masternode_ipv4_latest.sh) | tee ~/adeptio_masternode_installation.log
To start an auto installer for IPv6 masternode copy this line to the terminal/console and paste to VPS server:
cd ~/ && sudo apt-get install curl -y && bash <(curl -s https://raw.githubusercontent.com/adeptio-project/adeptio/master/scripts/setup_adeptio_cold_masternode_ipv6_latest.sh) | tee ~/adeptio_masternode_installation.log

Now follow instructions during setup. It could take for a while to install the dependencies and resources.

Please take a note that installation log can be accessed at path ~/adeptio_masternode_installation.log

 

Auto installer asking for masternodeprivkey

Great job. Now open Adeptio Core wallet. In order to get the masternode to run, we need to send 10,000 ADE to an address we are just going to create. In your GUI-Wallet go to: Tools -> Debug Console and type in:

masternode genkey

This will generate a private key - We need to add that key to the “masternodeprivkey”-field in the same field which auto-installer asking for. Please input and wait for auto-installer finishes the setup on VPS side.

Next generate a wallet-address. Each masternode needs it’s own address. We are going to send 10,000 ADE to this address later.

getaccountaddress adeptio_masternode01

You can change adeptio_masternode01 to whatever you want to name your masternode.

Save the address & masternodeprivkey you’ve just generated for the next step.

 

Sending 10,000 ADE to the address

Send exactly 10,000 ADE coins to that address you just saved couple minutes ago. Yes - make sure this is only 10,000 ADE. No less, no more

Wait for the transaction to have at least 15 confirmations before continuing.

 

Getting the transaction output

Open up the wallet debug console once again Tools -> Debug Console and type in:

masternode outputs

It will display a list of valid masternode transactions. If this is your first masternode there will be only one.

The list contains a longer number (transaction ID) and a following number 0 or 1

Save both of these somewhere for the next step.

 

Putting all information together

We need a config file of our GUI wallet with name - masternode.conf. (Find it or use the “Edit config file” in the Adeptio Core wallet client under “Tools”) and fill it out like this:

{YOURMASTERNODENAME} {YOURVPSIP:9077} {The masternodeprivkey} {The output from when we entered masternode outputs} {The check digit that follows 0 or 1}

The result for example:

adeptio_masternode01 1.2.3.4:9077 qqqxxxbbbbqqqq1111222 qqqqxxxxxxbbbbbbbbqqqqqqq1112222xxxxx 0

Save and close the masternode.conf, then restart the Adeptio Core wallet. 

 

Start the masternode from Adeptio Core wallet.

We almost finished. We are now at the final step of our process. To start our masternode and finalize our process all we have to do is press the "start missing" button (or highlight the node and press "start alias").

After this, it should say enabled and still have a 00:00 under time. This shouldn't alarm you, as it can take a few hours for this to reflect. If we want to confirm we were successful, the best way is back on our VPS. There, enter the following command:

adeptio-cli masternode status

Successful output:

{
"txhash": "a8769244e7826273b182d4d7d5937f55dfc2b87fe45a257afad407f806ed0160",
"outputidx": 0,
"netaddr": "x.x.x.x:9077",
"addr": "APxwmaL9gK1yj467FntsxFATjaJ4GvQz18",
"status": 4,
"message": "Masternode successfully started"
}

Congratulations! You’ve successfully setup a masternode and installed storADEserver!

Please take a note that to get first reward it could take 2-8 days. Depending on masternode count

Need additional help? Go to Discord and ask for help.

 

No Comments
Back to top