This script will install a premium masternode v5-beta for PIRL on stock Ubuntu.
- Ask user to enter his MN token and Poseidon token.
- If a user already had Premium node installation and only wants to upgrade binaries tokens will not be changed.
- Optionally make a user, and home directory, to run the PIRL service.
- Download pirl premium masternode binary and set permissions on it.
- Download pirl premium marlin binary and set permissions on it.
- Setup a systemd service named pirlnode, enable it, and start it.
- Check out if pirl marlin was initialized before. If not will initialize it.
- Setup a systemd service named pirlmarlin, enable it, and start it.
- If user wants to change SSH port, install firewall and upgrade system, runs firewall.sh module.
- Upgrades system if user allows.
- Install the ufw firewall and open needed ports.
- Optionally update the SSH daemon to run on a non-standard port of your choice.
- Install git:
sudo apt install git
- Clone this git repository:
git clone https://github.com/phatblinkie/mn_installer.git
- Change into the newly created directory:
cd mn_installer
- Run this script via the command:
sudo ./mn_installer_premium.sh