Skip to content

Latest commit

 

History

89 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages