Skip to content

Script for bootstrapping Enroll servers based on Sprinkle framework

Notifications You must be signed in to change notification settings

enroll/enroll-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boostrapping Enroll server

  1. SSH to server, create user enroll:

     adduser enroll
    
  2. Add enroll to /etc/sudoers, don't require password:

     enroll ALL=(ALL:ALL) NOPASSWD: ALL
    
  3. Copy public keys for user enroll.

  4. Fix locales:

     sudo locale-gen en_US.UTF-8
     sudo dpkg-reconfigure locales
    
  5. Disable password authentication. Edit /etc/ssh/sshd_config to:

     ChallengeResponseAuthentication no
     PasswordAuthentication no
     UsePAM no
    
     # Then:
     sudo service ssh restart
    
  6. Increase SWAP size in case of 512MB droplet

  7. Run:

     ./bootstrap.sh staging staging.enroll.io
     ./bootstrap.sh production enroll.io
    

About

Script for bootstrapping Enroll servers based on Sprinkle framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published