Last active
August 29, 2015 14:15
-
-
Save dmythro/e2edf50d1230562eb99f to your computer and use it in GitHub Desktop.
Quick setup for Ubuntu 14 + LEMP (on DigitalOcean)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Locale Set: English by default | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
dpkg-reconfigure locales | |
locale | |
# Time Zone selection | |
dpkg-reconfigure tzdata | |
# PHP: JSON | |
apt-get install php5-json | |
# PHP: GD | |
apt-get install php5-gd | |
# I just like when it's "/www" | |
mkdir /www | |
chown -R www-data:www-data /www/ | |
chmod -R 755 /www/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment