The SwerpBox Bootstrap contains a set of shell scripts for installing and configuring a fresh Ubuntu (server) operating system.
- Ubuntu - 16.x
Edit the config.sh file in the lib
directory and adjust the settings as you see fit, namely the following variables:
- SERVER_IP
- SERVER_HOSTNAME
- USER_LOGIN
- USER_PASS
ssh
to your server or VM.- Switch to the root user.
- Create the a /root/.ssh/authorized_keys file with your public key.
chmod -R 600 /root/.ssh
.- Run the
/swerpbox/bootstrap/bootstrap.sh
script.
After the scripts run, you will have created a user for SwerpBox to run as. Installed Docker and Docker Compose. Configured the server's locales, hostname, and timezone. Ready to use SwerpBox!