Script - Phase 1
Through the bash / shell scripting method, you will be able to install the complete setup in few steps
plugin-deployment
Please ensure, you have git & curl command installed already. If not, use the following command
sudo apt install git
sudo apt install curl
Please install an editor of your choice(like vim, nano etc.,) to edit files during installation
Do a git clone and perform the following actions
git clone https://github.com/GoPlugin/plugin-deployment.git
cd plugin-deployment
There are two scripts in this folder namely,
1_prerequisite.bash
2_nodeStartPM2.sh
Create two files namely '.env.apicred', '.env.password', by using the below mentioned command in terminal.
put - the credentials in below format in '.env.apicred' file - these credentials helps you to login your Plugin GUI
put - password(very strong) in '.env.password' file and it should follow specific format, which is given under NOTE
NOTE:
Before triggering 1_prerequisite.bash, please ensure to change the password at line number 203. The password should be a strong one as it is a Postgres password. Keep in mind that, the password should not have * or @ characters
Open the terminal, go to a specific folder, and trigger the bash file like below
./1_prerequisite.bash
What it does?
It installs all prerequisites for the plugin environment.
If your system already has a few packages that are necessary for Plugin environment, then the packages will throw error/warning messages and override the same.
It is always recommended to go with fresh VPS or Machine
Last updated