Skip to content

Instantly share code, notes, and snippets.

View karlkeefer's full-sized avatar
🔨
Building Things

Karl Keefer karlkeefer

🔨
Building Things
View GitHub Profile
@karlkeefer
karlkeefer / desktop-setup.sh
Last active March 15, 2024 00:44
Setup a fresh ubuntu install with my custom goodies
#!/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
@karlkeefer
karlkeefer / server-setup.sh
Created September 25, 2019 17:28
Basic LAMP stack configuration and hardening for Ubuntu 18
#!/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

Keybase proof

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: