apt update -y && apt install git -y
ssh-keygen -t rsa -b 2048 -f ~/.ssh/subspace -N ""
chmod 0600 ~/.ssh/subspace.pub
ssh-copy-id -i ~/.ssh/subspace.pub -p 9778 root@REMOTE_IP
git clone https://github.com/sahalchenko/subspace
cd subspace
chmod +x subspace.sh
nano ./ansible/hosts.yml
ansible_host
ansible_port
wallet
subspace_disk_size
and other if need
nano ./ansible/group_vars/node1.yml
nano ./ansible/group_vars/node2.yml
or create new and change vars too. After that, don't forget to add a free node to the ./ansible/hosts.yml file.
cp ./ansible/group_vars/node2.yml ./ansible/group_vars/node3.yml
./subspace.sh
./subspace.sh
If you find it useful and want to invite us for a beer, just click on the donation button. Thanks!