Bash Installer for SmartNodes on Ubuntu
Bash Installer for SmartNodes on UbuntuSetting up a masternode on Ubuntu has never been easier! With this new bash installer, all you have to do is a few copy and pastes plus clicks! Hop on linux via the ssh and once you login with root, copy and paste the following lines into console:
wget https://rawgit.com/SmartCash/smartnode/master/install.sh
bash ./install.sh
You will be warned that the script will reboot the server once it's finished. You can cancel by pressing ctrl+c or you can continue by pressing Enter. Next you will be asked to enter a custom number for the ssh port. Changing the ssh port from the default number which is 22 to something else can protect you against certain types of DDOS attacks. You can ignore this step by pressing Enter again. Next you will be asked to enter your node's private key. Once you enter your node's private key, and press enter, the installer will take care of everything else. If you don't have your node's private key yet, you can generate one through the smartcash console or cli using the following command:
[smartcash-cli] smartnode genkey
This is all of course the server-side of things. To enable your smartnode, you'll need to add the following line in your smartnode.conf file and then run the qt wallet where you can start or enable your node. You obviously need to replace the words below with appropriate values and strings; node-alias can be anything you choose.
node-alias vps-ip:9678 node-privatekey collateral-txid vout
Furthermore, this installer comes with 3 cronjobs to make sure your node is always running and up-to-date. The first one checks every minute to make sure smartcashd is running. The second one checks every 30 minutes to make sure the daemon is not stuck. And the third one checks every 2 hours to upgrade in case there is a new release. What more could you have asked for?! It pretty much does all you need so that when you go to sleep, you can be rest assured that your node is most likely going to continue running!
BEE $SMART! https://github.com/smartcash/smartnode