Node Installation
Plugin 2.0 :- STEPS TO SETUP PLUGIN 2.0 NODE ON LINUX VPS
- Login as root to your new VPS 
- Update the system and add base packages before executing the below command on the root terminal. - sudo apt update -y && sudo apt upgrade -y && sudo apt install -y git nano curl && sudo apt autoremove -y 
 
- Allow permissions on the below ports. - sudo ufw allow 6688 
- sudo ufw allow 6689 
 
- Create a new admin user account - sudo groupadd my_new_user 
- sudo useradd -p $(openssl passwd -6 my_new_password) my_new_user -m -s /bin/bash -g my_new_user -G sudo 
 
- Now open a new terminal session to your VPS and logon with your new admin user account and complete the rest of the steps. - sudo -i -u my_new_user 
 
- git clone https://github.com/GoPlugin/pluginV2Install.git 
- chmod +x *.sh 
- ./pli_node_scripts.sh mainnet 
[Usage: ./pli_node_scripts.sh {function}]
Example: ./pli_node_scripts.sh mainnet where {function} is one of the following;
  mainnet       ==  deploys the full Mainnet node & exports the node keys
  keys          ==  extracts the node keys from DB and exports to json file for import to MetaMask
  logrotate     ==  implements the logrotate conf file 
  address       ==  displays the local nodes address (after full node deploy) - required for the 'Fulfillment Request' remix step
  node-gui      ==  displays the local nodes full GUI URL to copy and paste to browser- Run the following commands - source ~/.profile 
- pm2 status 
- pm2 log [id] 
 
- Login to the node UI with the credentials from pluginV2/apicredentials.txt 
- Go to the keys section and fetch the node address & fund it with 1 XDC and 1 PLI. 
Last updated
