Skip to content

Instantly share code, notes, and snippets.

View Kayoti's full-sized avatar

Wael Kayoti

View GitHub Profile
@lyquix-owner
lyquix-owner / lamp-ubuntu16.sh
Last active March 5, 2023 14:20
Bash script to setup LAMP server on Ubuntu 16.04
#!/bin/bash
# Check if script is being run by root
if [[ $EUID -ne 0 ]]; then
printf "This script must be run as root!\n"
exit 1
fi
DIVIDER="\n***************************************\n\n"
@phlbnks
phlbnks / wp.sh
Last active June 6, 2022 09:07 — forked from bgallagh3r/wp.sh
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Do you need to setup new MySQL database? (y/n)"
read -e setupmysql
if [ "$setupmysql" == y ] ; then
echo "MySQL Admin User: "
read -e mysqluser