Skip to content

Instantly share code, notes, and snippets.

View joshmeads's full-sized avatar

Josh Meads joshmeads

View GitHub Profile
@joshmeads
joshmeads / White label Route 53 nameservers.md
Created March 10, 2021 20:57 — forked from blofeldthefish/White label Route 53 nameservers.md
AWS Route 53 white label nameserver setup
const fs = require('fs');
const yargs = require('yargs');
const { Argv } = yargs;
const { promisify } = require('util');
const { resolve } = require('path');
const exists = promisify(fs.exists);
const readFile = promisify(fs.readFile);
const writeFile = promisify(fs.writeFile);
@joshmeads
joshmeads / Amazon Linux 2 - Base Config.md
Last active March 6, 2020 10:21
Amazon Linux 2 - Base Config

Amazon Linux 2

sudo yum update -y

Install AV

sudo amazon-linux-extras install epel sudo yum install -y clamav sudo freshclam

Install lynis

@joshmeads
joshmeads / commands.txt
Created March 6, 2020 08:25 — forked from adam1010/commands.txt
Web Server Setup on Amazon Linux 2
## Amazon Linux 2 ##
sudo yum update -y
sudo amazon-linux-extras install lamp-mariadb10.2-php7.2 nginx1.12
sudo yum install -y mariadb-server
sudo systemctl enable php-fpm
sudo systemctl enable nginx
sudo systemctl enable mariadb
const translate = (message) => {
if (typeof message !== 'object') return message;
return this.context.intl.formatMessage(message);
};