Skip to content

Instantly share code, notes, and snippets.

Embed
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 https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ 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