Skip to content

Instantly share code, notes, and snippets.

View ShahrozeAli's full-sized avatar
🏠
Working from home

Shahroze Ali ShahrozeAli

🏠
Working from home
View GitHub Profile
@ShahrozeAli
ShahrozeAli / wp.sh
Created January 24, 2018 07:59 — forked from phlbnks/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
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
#ask for the site name
echo "Site Name:"
read name
# make site directory under splogs
mkdir C:/xampp/htdocs/$name