PowerShell scripts for managing the Elrond node/s
The set of this scripts will support you in deploying, removing, upgrading, as well as in many other management activities related to your Elrond node/s
- Ubuntu/Debian OS
- A standard user on the system with sudo access
- Microsoft PowerShell. Official page: https://docs.microsoft.com/en-us/powershell/
- Clone or download the files in this repo
- Install PowerShell if you don't have it already. Check this page for the correct package for your OS Distribution / version:
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install -y powershell
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install -y powershell
After cloning the repository, prepare your configuration file:
- Rename the user-config.json.sample to user-config.json
- Edit the values in the config file to match your preferences
Option1: Run the scripts directly from your favourite shell
/scripts-path/deploy-node.ps1
Option2: Switch to PowerShell first (this enables double-tab arguments listing)
pwsh
/scripts-path/deploy-node.ps1