Difference between revisions of "Database/Map/Server"
From Open Maps wiki
(→RPi side) |
(→RPi side) |
||
Line 11: | Line 11: | ||
# [http://elinux.org/RPi_Nginx_Webserver install Nginx instead] | # [http://elinux.org/RPi_Nginx_Webserver install Nginx instead] | ||
# Make a link to /var/www to make things easier: "sudo ln -s /var/www /home/USER/code" | # Make a link to /var/www to make things easier: "sudo ln -s /var/www /home/USER/code" | ||
− | # [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://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://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!!] |
Revision as of 04:16, 23 February 2015
Client Side
extract the location client-side with EXIF-JS
RPi side
Lets set up our map server with local cached image files
- install Nginx instead
- Make a link to /var/www to make things easier: "sudo ln -s /var/www /home/USER/code"
(# 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
- dnsmarsq script logging...
ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup