I hereby claim:
- I am karlkeefer on github.
- I am karlkeefer (https://keybase.io/karlkeefer) on keybase.
- I have a public key ASCB2OtUJirTVcG2rIGs5UhmBSlTvWCOlP6E5BSd3h6uXQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # fresh installation script for a basic LAMP stack on an ubuntu 18 box | |
| # setup the below variables and run this script as root to set it all up | |
| # NOTE: you must run this as root, and must have an SSH key already in ~/.ssh/authorized_keys | |
| # TODO: Consider prompting for all of these settings: | |
| # apache settings | |
| DOMAIN=your_domain.com |
| #!/bin/sh | |
| # install basic stuff | |
| sudo apt update && sudo apt install git vim | |
| # install docker/docker compose.... | |
| # exercise left to the reader depending on distro and versions and stuff | |
| # add user to docker group | |
| sudo usermod -aG docker $USER |