Skip to content

Instantly share code, notes, and snippets.

View simas-dev's full-sized avatar

Simas Kurmis simas-dev

View GitHub Profile
@simas-dev
simas-dev / rPi3-php7-setup.sh
Created July 25, 2017 07:22 — forked from Lewiscowles1986/rPi3-php7-setup.sh
Raspberry Pi PHP7, Nginx 1.9 Installer
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
echo "deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi" > /etc/apt/sources.list.d/stretch.list
echo "APT::Default-Release \"jessie\";" > /etc/apt/apt.conf.d/99-default-release