Skip to content

Instantly share code, notes, and snippets.

Avatar

Derek Slenk derekslenk

View GitHub Profile
@derekslenk
derekslenk / Commands.sh
Last active Mar 30, 2020 — forked from nrollr/Commands.sh
Install PHP 7.3 and NGINX on Amazon Linux 2 AMI
View Commands.sh
## Install NGINX
$ sudo amazon-linux-extras install nginx1.12 -y
## Install PHP and PHP-FPM
# this package include php-fpm
$ sudo amazon-linux-extras install php7.3 -y
## Configure NGINX (see below)
$ sudo nano /etc/nginx/conf.d/default.conf
View keybase.md

Keybase proof

I hereby claim:

  • I am derekslenk on github.
  • I am slenk (https://keybase.io/slenk) on keybase.
  • I have a public key ASATHMnbNbiXdiEn8xLAYSF4DZNkJfHR1o3XdEJj_YOWMwo

To claim this, I am signing this object:

@derekslenk
derekslenk / pihole.yml
Last active May 9, 2019
For setting up pihole and cloudflared for DNS over HTTPs
View pihole.yml
version: '2'
# More info for pihole: https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
# More info for cloudflared: https://hub.docker.com/r/visibilityspots/cloudflared/ and https://docs.pi-hole.net/guides/dns-over-https/
services:
cloudflared:
container_name: "cloudflared"
image: visibilityspots/cloudflared:amd64
network_mode: "host"
You can’t perform that action at this time.