Sui node installation scripts for Debian based servers.
If you only have a root user or are unsure, start here
wget https://raw.githubusercontent.com/mrv777/sui-installation-scripts/master/create-sudo-user.sh
bash ./create-sudo-user.sh -u {username} -p {password}
Remove the {username} with your username and the same for passwordLogout and log back in as new user. Now that we have a regular user we can do the 2 commands to get and set everything up:
wget https://raw.githubusercontent.com/mrv777/sui-installation-scripts/master/install-sui.sh
screen -S sui -m bash ./install-sui.sh
This is the main script. It installs, creates and configures all necessary parts to run an Sui node.
To install a sui node, copy the script to the Debian server and run bash ./install-sui.sh
. It is designed to run with a sudo user.
If you don't have a sudo user on the server yet (for example if just created a new Ubuntu Droplet from Digital Ocean), you can use the create-sudo-user.sh script to automatically create one.
This script lets you create a sudo user with ease. Call it with ./create-sudo-user.sh -h
for parameter description.