Difference between revisions of "Database/Map/Server"
From Open Maps wiki
(→RPi side) |
(→RPi side) |
||
Line 9: | Line 9: | ||
Lets set up our map server with local cached image files | Lets set up our map server with local cached image files | ||
− | # [http://elinux.org/RPi_Nginx_Webserver install Nginx] "sudo apt-get update" "sudo apt-get install nginx" | + | # [http://elinux.org/RPi_Nginx_Webserver install Nginx] "sudo apt-get update" "sudo apt-get install nginx" "sudo service nginx start" |
# 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" | ||
Revision as of 04:20, 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 "sudo apt-get update" "sudo apt-get install nginx" "sudo service nginx start"
- 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