Difference between revisions of "Database/Map/Server"
From Open Maps wiki
Line 1: | Line 1: | ||
+ | == Client Side == | ||
extract the location client-side with [https://github.com/jseidelin/exif-js EXIF-JS] | 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://wiki.openstreetmap.org/wiki/Mapserver Tutorial for mapserver hosting OSM] | ||
Line 12: | Line 14: | ||
# [http://xmodulo.com/how-to-uninstall-and-remove-apache2-on-ubuntu-debian.html uninstall apache] | # [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://elinux.org/RPi_Nginx_Webserver install Nginx instead] | ||
− | |||
# [http://wiki.nginx.org/PHPFcgiExample now set up PHP with fastCGI] | # [http://wiki.nginx.org/PHPFcgiExample now set up PHP with fastCGI] | ||
# [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://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!!] | ||
# '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]''' | # '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]''' | ||
+ | # [http://raspberrypi.stackexchange.com/a/5341 handle AP downs] | ||
[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] |
Revision as of 08:36, 22 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
- edimax version of hostapd
- captive portal setup!!
- but with iptables command from here, since the others are broken
- handle AP downs