Skip to content

Instantly share code, notes, and snippets.

@udomsak
Last active June 11, 2017 21:36
Show Gist options
  • Save udomsak/91898289354aa87ee060329597c22acd to your computer and use it in GitHub Desktop.
Save udomsak/91898289354aa87ee060329597c22acd to your computer and use it in GitHub Desktop.
sudo apt-get install -y git curl nginx-full
sudo apt-get install -y php5-fpm php5-cli php5-curl php5-intl php5-json
sudo apt-get install -y php5-intl php5-xdebug php5-curl php5-ldap
sudo apt-get install -y mongodb-org php5-mongo
sudo apt-get install -y libav-tools libavcodec-extra
sudo mkdir -p /var/www
sudo adduser `whoami` www-data
sudo chown `whoami`:www-data -R /var/www
sudo chmod 0755 -R /var/www
sudo chmod g+s -R /var/www
git clone https://github.com/campusdomar/PuMuKIT2.git /var/www/pumukit2
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment