Skip to content

Instantly share code, notes, and snippets.

@LostinOrchid
Last active August 3, 2018 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LostinOrchid/514e9becb2c9da52321b4a8f80822b18 to your computer and use it in GitHub Desktop.
Save LostinOrchid/514e9becb2c9da52321b4a8f80822b18 to your computer and use it in GitHub Desktop.
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