Shell script to install a AceD Masternode on a Linux server running Ubuntu 16.04.
This will require a VPS, I use Vultr. The $5/mo server size will suffice.
This script will install AceD v2.1.
Log into the server using ssh (Putty for windows or terminal for Mac users) and run the following commands:
wget -q https://raw.githubusercontent.com/cryptosharks131/AceD/master/aced_install.sh
bash aced_install.sh
After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps for Windows Wallet
- Open the AceD Core Wallet.
- Go to RECEIVE and create a New Address: MN1
- Send 10000 AceD to MN1.
- Wait for 15 confirmations.
- Go to Tools -> "Debug console - Console"
- Type the following command: masternode outputs
- Go to ** Tools -> "Open Masternode Configuration File"
- Add the following entry:
Alias Address Privkey TxHash Output_index
- Alias: MN1
- Address: VPS_IP:PORT
- Privkey: Masternode Private Key
- TxHash: First value from Step 6
- Output index: Second value from Step 6 It can be 0 or 1
- Click OK and exit the Wallet.
- Open AceD Core Wallet, 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.
- Click Start All or Start Alias
- If you are not able to see your Masternode, try to close and open your desktop wallet.
aced-cli getinfo
aced-cli masternode status
aced-cli mnsync status
Also, if you want to check/start/stop AceD , run one of the following commands as root:
systemctl status AceD #To check the service is running.
systemctl start AceD #To start AceD service.
systemctl stop AceD #To stop AceD service.
systemctl is-enabled AceD #To check whetether AceD service is enabled on boot or not.
The first line (rm aced_update.sh) is not required the very first time you update the node and will return an error if you run it. This is fine, continue with the update script.
rm aced_update.sh*
wget -q https://raw.githubusercontent.com/cryptosharks131/AceD/master/aced_update.sh
bash aced_update.sh
Sentinel is installed in /sentinel and added to crontab file.
Sentinel log file is /root/.acedcore/sentinel.log
Test the config by running the following commands:
cd /sentinel
./venv/bin/py.test ./test
SENTINEL_DEBUG=1 ./venv/bin/python bin/sentinel.py