|
|
(31 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| | | |
− | == Client Side ==
| |
− |
| |
− | extract the location client-side with [https://github.com/jseidelin/exif-js EXIF-JS]
| |
− |
| |
− | == RPi side ==
| |
− |
| |
− | [http://wiki.openstreetmap.org/wiki/Mapserver Tutorial for mapserver hosting OSM]
| |
− |
| |
− | [http://my5cent.spdns.de/en/beaglebone-black-raspberry-pi/einfacher-karten-server-mit-mapserver-schape-files-und-openlayers.html RPi Mapserver Setup]
| |
− |
| |
− | works great. Then
| |
− |
| |
− | # [http://xmodulo.com/how-to-uninstall-and-remove-apache2-on-ubuntu-debian.html uninstall apache]
| |
− | # [http://elinux.org/RPi_Nginx_Webserver install Nginx instead]
| |
− | # [http://wiki.nginx.org/PHPFcgiExample now set up PHP with fastCGI]
| |
− | # [http://gis.stackexchange.com/a/102775 set up mapserv]
| |
− | # [https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps add mapserv to cache]
| |
− | # [http://elinux.org/RPI-Wireless-Hotspot set up AP with udhcpd]
| |
− | # [http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd]
| |
− | # [http://www.pihomeserver.fr/en/2014/05/22/raspberry-pi-home-server-creer-hot-spot-wifi-captive-portal/ captive portal setup!!]
| |
− | # '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]'''
| |
− | # dnsmarsq script logging...
| |
− | [[File:logging_dhcp.png]]
| |
− | ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup
| |
− |
| |
− |
| |
− | [http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods]
| |
− |
| |
− | == For Online ==
| |
− |
| |
− | [http://maps.stamen.com/m2i/image/20130610/mapstack_ZHVazuJTG7s beautiful Stamen Design map that can be used]
| |
− | [[File:Map example1.png|thumbnail]]
| |
− | [[File:Map example2.png|thumbnail]]
| |