Skip to content

Instantly share code, notes, and snippets.

@Maxstupo
Maxstupo / install-wordpress.sh
Last active September 15, 2018 17:50
Install Wordpress
#!/bin/bash
#
# Program: install_wordpress.sh
# Purpose: Installs WordPress (Tested on Ubuntu Server 16.04.2 LTS)
# Date: 23/03/2017
# Author: Maxstupo
#
# Command Line Arguments:
# $1 = the username for ownership of files (default: admin)
# $2 = the new db user password (default: password)
@Maxstupo
Maxstupo / run-from.sh
Created March 23, 2017 07:54
Run bash script from url
#!/bin/bash
curl -s $1 | sudo bash /dev/stdin
# Usage: bash run-from.sh <url-to-bash-script>