THIS GUIDE IS FOR ROOT USERS -
YOU MUST BE A MEMBER OF THE FOLLOWING GROUP
User=root
Group=root
Shell script to install a Aquila Masternode on a Linux server running Ubuntu 16.04. Use it on your own risk.
This script can generate a private key for you, or you can generate your own private key on the Desktop software.
Steps generate your own private key.
- Download and install Aquila v1.2.0.2 for Windows - Download Link - https://github.com/aquilacoin/AquilaX/releases/
- Go to Tools -> Click "Debug Console"
- Type the following command: masternode genkey
- You now have your generated Private Key (MasternodePrivKey)
First you will need a VPS to continue on with this guide. If you do not have one get one from here Vultr.
Next step is to download the script on the vps with command below.
cd && bash -c "$(wget -O - https://raw.githubusercontent.com/aquilacoin/Aquila-Script/master/aquila-install.sh)"
You will have 6 options one you run the command above.
- This option Will install a fresh MNN VPS instance
- This option will update your MN wallet on the vps if a network or wallet update is needed.
- This option will Start Aquila Masternode
- This option will Stop Aquila Masternode
- This option will show Aquila Server Status
- This option will Rebuild Aquila Masternode Index
If you need to go back and either start or stop Aquila just use this command.
cd && bash -c "$(wget -O - https://raw.githubusercontent.com/aquilacoin/Aquila-Script/master/aquila-install.sh)"
That command above will be your shortcut to control your masternode. More commands will come in time.
Once the VPS installation is finished.
Check the block height
watch ./Aquila-cli getinfo
We want the blocks to match whats on the Aquila block explorer (http://exploreraqx.aquila.online/)
Once they match you can proceed with the rest of the guide.
Once the block height matches the block explorer issue the following command.
CTRL and C at the same time (CTRL KEY and C KEY)
After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps:
- Open the Aquila Desktop Wallet.
- Go to RECEIVE and create a New Address: MN1
- Send 5000 AQX to MN1. You need to send 5000 coins in one single transaction.
- Wait for 15 confirmations.
- Go to Tools -> Click "Debug Console"
- Type the following command: masternode outputs
- Go to Tools -> "Open Masternode Configuration File"
- Add the following entry:
Alias Address Privkey TxHash TxIndex
MN1 127.0.0.2:45454 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
- Alias: MN1
- Address: VPS_IP:PORT
- Privkey: Masternode Private Key
- TxHash: First value from Step 6
- TxIndex: Second value from Step 6
- Save and close the file.
- Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
- Click Update status to see your node. If it is not shown, close the wallet and start it again.
- Select your MN and right click on the masternode Start Alias to start it.
- Alternatively, open Debug Console and type:
startmasternode alias 0 MN1
- Login to your VPS and check your masternode status by running the following command:.
./Aquila-cli masternode status
You want to see "Masternode started successfully and Status 4"
./Aquila-cli getinfo
./Aquila-cli mnsync status
./Aquila-cli masternode status