-
SSH to server, create user
enroll
:adduser enroll
-
Add
enroll
to/etc/sudoers
, don't require password:enroll ALL=(ALL:ALL) NOPASSWD: ALL
-
Copy public keys for user enroll.
-
Fix locales:
sudo locale-gen en_US.UTF-8 sudo dpkg-reconfigure locales
-
Disable password authentication. Edit
/etc/ssh/sshd_config
to:ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no # Then: sudo service ssh restart
-
Increase SWAP size in case of 512MB droplet
-
Run:
./bootstrap.sh staging staging.enroll.io ./bootstrap.sh production enroll.io