Skip to content

Instantly share code, notes, and snippets.

@hanafiah
Last active August 6, 2019 14:33
Show Gist options
  • Save hanafiah/9f0384056dc6a6574248d8005df6b492 to your computer and use it in GitHub Desktop.
Save hanafiah/9f0384056dc6a6574248d8005df6b492 to your computer and use it in GitHub Desktop.
export LANGUAGE='en_GB.UTF-8'
export LC_ALL="en_GB.UTF-8"
sudo dpkg-reconfigure locales
pi@raspberrypi:~ $ sudo apt-get update
pi@raspberrypi:~ $ sudo apt-get install apache2 -y
pi@raspberrypi:~ $ sudo apt-get install php5 libapache2-mod-php5 -y
pi@raspberrypi:~ $ sudo apt-get install mysql-server php5-mysql -y
sudo service apache2 restart
#password: raspberry
#ref: https://grasehotspot.org/documentation/installation/
pi@raspberrypi:~ $ sudo wget http://packages.grasehotspot.org/pool/main/g/grase-repo/grase-repo_1.6_all.deb
pi@raspberrypi:~ $ sudo dpkg -i grase-repo_1.6_all.deb
pi@raspberrypi:~ $ sudo apt-get update
pi@raspberrypi:~ $ sudo apt-get install grase-www-portal grase-conf-freeradius grase-conf-openvpn
pi@raspberrypi:~ $ sudo nano /etc/dhcpcd.conf
#-----------------
# add this to bottom line
denyinterfaces wlan0
#-----------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment