Skip to content

Instantly share code, notes, and snippets.

Last active August 3, 2018 00:31
What would you like to do?
Vagrant Debian/Ubuntu OS
#!/usr/bin/env sh
# Install php71
apt-get install -y python-software-properties
add-apt-repository -y ppa:ondrej/php
apt-get update -y
apt-get install -y php7.1 php7.1-fpm php7.1-cli php7.1-common php7.1-mbstring php7.1-gd php7.1-intl php7.1-xml php7.1-mysql php7.1-mcrypt php7.1-zip
# Tell apache to use php71
a2enmod proxy_fcgi setenvif
a2enconf php7.1-fpm
#!/usr/bin/env sh
# install yarn
curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update -y && sudo apt-get install yarn -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment