Shell script to install an Ellerium Masternode on a Linux server running Ubuntu 16.04.
wget -q https://raw.githubusercontent.com/click2install/elleriumcoin/master/install-ellerium.sh
bash install-ellerium.sh
Donations for the creation and maintenance of this script are welcome at:
BTC: 1DJdhFp6CiVZSBSsXcecp1FnuHXDcsYQPu
The script assumes you are running a cold wallet on your local PC and this script will execute on a Ubuntu Linux VPS (server). The steps involved are:
You are now ready to configure your local wallet and finish the masternode setup
getnewaddress [address-name]
- e.g. getnewaddress mn1
sendtoaddress [output from #6] 1000
masternode outputs
[address-name from #6] [ip:port of your VPS] [privkey from script output] output index [txid from from #9] [output index from #9]
- MN-1 127.0.0.2:6110 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
The script does not support installing multiple masternodes on the same host.
When you run the script it will tell you what it will do on your system. Once completed there is a summary of the information you need to be aware of regarding your node setup which you can copy/paste to your local PC.
If you want to run the script before setting up the node in your cold wallet the script will generate a priv key for you to use, otherwise you can supply the privkey during the script execution.
The script allows for a custom SSH port to be specified as well as setting up the required firewall rules to only allow inbound SSH and node communications, whilst blocking all other inbound ports and all outbound ports.
The fail2ban package is also used to mitigate DDoS attempts on your server.
Despite this script needing to run as root
you should secure your Ubuntu server as normal with the following precautions:
If the above precautions are taken you will need to su root
before running the script.
Whilst effort has been put into maintaining and testing this script, it will automatically modify settings on your Ubuntu server - use at your own risk. By downloading this script you are accepting all responsibility for any actions it performs on your server.