f3025bde96
Append to keys file, in case someone forgets to add a key to the file. This way they won't nuke the file by running the script and lose access to the server. |
||
---|---|---|
.. | ||
README.md | ||
authorized_keys | ||
bashrc | ||
letsencrypt-setup.sh | ||
setup.sh | ||
skynet-nginx.conf | ||
ssh_config | ||
tmux.conf |
README.md
Skynet Portal Setup Scripts
This directory contains a setup guide and scripts that will install and configure some basic requirements for running a Skynet Portal. The assumption is that we are working with a Debian Buster Minimal system or similar.
Initial Setup
(Assumes we are logged in as root on a fresh installation of Debian)
You may want to fork this repository and add your ssh pubkey to
authorized_keys
and optionally edit the tmux
and bash
configurations.
- SSH in a freshly installed Debian machine.
apt-get update && apt-get install sudo
adduser user
usermod -a -G sudo user
- Quit the ssh session.
You a can now ssh into your machine as the user user
.
- On your local machine:
ssh-copy-id user@ip-addr
- On your local machine:
ssh user@ip-addr
- Now logged in as
user
:sudo apt-get install git
git clone https://github.com/NebulousLabs/skynet-webportal
cd skynet-webportal/setup-scripts
- Add ssh pubkeys to
authorized_keys
file. ./setup.sh
- Once DNS records are set you can run:
./letsencrypt-setup.sh