This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/setup-scripts
Marcin Jachymiak f3025bde96 Clean up README. Append to keys file
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.
2020-01-31 14:16:11 -05:00
..
README.md Clean up README. Append to keys file 2020-01-31 14:16:11 -05:00
authorized_keys Remove authorized keys 2020-01-31 14:06:52 -05:00
bashrc Move setup scripts in dir 2020-01-30 13:42:24 -05:00
letsencrypt-setup.sh Add domain name param to LE script 2020-01-31 14:06:43 -05:00
setup.sh Clean up README. Append to keys file 2020-01-31 14:16:11 -05:00
skynet-nginx.conf Update nginx config 2020-01-31 13:30:36 -05:00
ssh_config Move setup scripts in dir 2020-01-30 13:42:24 -05:00
tmux.conf Add copy-paste to tmux 2020-01-30 17:19:38 -05:00

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.

  1. SSH in a freshly installed Debian machine.
  2. apt-get update && apt-get install sudo
  3. adduser user
  4. usermod -a -G sudo user
  5. Quit the ssh session.

You a can now ssh into your machine as the user user.

  1. On your local machine: ssh-copy-id user@ip-addr
  2. On your local machine: ssh user@ip-addr
  3. Now logged in as user: sudo apt-get install git
  4. git clone https://github.com/NebulousLabs/skynet-webportal
  5. cd skynet-webportal/setup-scripts
  6. Add ssh pubkeys to authorized_keys file.
  7. ./setup.sh
  8. Once DNS records are set you can run: ./letsencrypt-setup.sh