Last active
August 6, 2019 14:33
-
-
Save hanafiah/9f0384056dc6a6574248d8005df6b492 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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