Difference between revisions of "Database/Map/Server"
From Open Maps wiki
(→RPi side) |
|||
Line 17: | Line 17: | ||
# [http://gis.stackexchange.com/a/102775 set up mapserv] | # [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] | # [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.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.pihomeserver.fr/en/2014/05/22/raspberry-pi-home-server-creer-hot-spot-wifi-captive-portal/ captive portal setup!!] | ||
Line 23: | Line 24: | ||
[http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods] | [http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods] | ||
+ | |||
== For Online == | == For Online == | ||
Revision as of 15:49, 25 January 2015
Client Side
extract the location client-side with EXIF-JS
RPi side
Tutorial for mapserver hosting OSM
works great. Then
- uninstall apache
- install Nginx instead
- now set up PHP with fastCGI
- set up mapserv
- add mapserv to cache
- set up AP with udhcpd
- edimax version of hostapd
- captive portal setup!!
- but with iptables command from here, since the others are broken
- handle AP downs