Skip to content

Instantly share code, notes, and snippets.

View faisalansari-cs's full-sized avatar

Faisal Ansari faisalansari-cs

View GitHub Profile
@faisalansari-cs
faisalansari-cs / setup-webserver.sh
Created July 18, 2019 21:01 — forked from sheikhwaqas/setup-webserver.sh
Install Apache & PHP with MongoDB and XDebug Extensions on Ubuntu 14.04 LTS
#!/bin/bash
# Download and Install the Latest Updates for the OS
apt-get update && apt-get upgrade -y
# Set the Server Timezone to CST
echo "America/Chicago" > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
# Enable Ubuntu Firewall and allow SSH, HTTP & HTTPS Ports
ufw allow 22