UPDATE: for centos users, you can now use the pirl repository. http://repo.pirl.io
Added a script to help users install with the repository, it will overwrite the same file locations as this normal installer, but make future updates as easy as running a simple 'yum update' command. to use this, run
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 ./install_PIRL_rpms.sh
This script will install a Premium or Content masternode https://chaindata.pirl.network/1-9-12-lion/ for PIRL on stock Ubuntu, or centos.
- 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 configuration file named pirlnode.conf under /etc/pirl/ for the masternode tokens.
- Check out if pirl marlin was initialized before. If not will initialize it.
- Setup a systemd service named pirl and marlin, 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. (will be updated soon to firewalld instead to align more with one click installer)
- 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 ./pirl_masternode_installer.sh