http://wiki.tacticalspace.org/openmaps/api.php?action=feedcontributions&user=213.240.88.33&feedformat=atomOpen Maps wiki - User contributions [en]2024-03-29T12:48:51ZUser contributionsMediaWiki 1.22.6http://wiki.tacticalspace.org/openmaps/index.php?title=Raspberry_Pi_setupRaspberry Pi setup2016-05-22T09:26:25Z<p>213.240.88.33: </p>
<hr />
<div>Before you can do anything, you need to configure the Wifi on the Pi (NB: default Pi login is 'pi' and default password is 'raspberry')<br />
<br />
The [https://davidmaitland.me/2015/12/raspberry-pi-zero-headless-setup/ setting up a headless Pi instructions here] (in particular Step 3) worked for us, although we only needed ssid and psk (password) for the network={... step.<br />
<br />
Lets set up our map server with local cached image files<br />
<br />
== Installing required software ==<br />
<br />
Install nginx (server), hostapd (wifi AP host), dnsmasq (light dns server) <br />
[http://elinux.org/RPi_Nginx_Webserver install Nginx] <br />
<nowiki><br />
sudo apt-get update<br />
sudo apt-get install nginx<br />
sudo apt-get install hostapd<br />
sudo apt-get install dnsmasq<br />
</nowiki><br />
<br />
== Web Server ==<br />
<br />
Set up web server to forward 404's to root directory (needed for captive portal behaviour) and start<br />
edit /etc/nginx/sites-available/default<br />
<br />
and modify line in "location / {" section:<br />
<nowiki><br />
try_files $uri $uri/ = 404;<br />
</nowiki><br />
becomes<br />
<nowiki><br />
try_files $uri $uri/ /index.html;<br />
</nowiki><br />
<br />
Now start the server<br />
<nowiki><br />
sudo service nginx start<br />
</nowiki><br />
<br />
== Set up hostapd ==<br />
<br />
Set up AP with hostap (instructions from [http://elinux.org/RPI-Wireless-Hotspot set up AP with udhcpd])<br />
edit the file /etc/hostapd/hostapd.conf <br />
<nowiki><br />
interface=wlan0<br />
ssid=TacticalSpaceLab<br />
hw_mode=g<br />
channel=6<br />
auth_algs=1<br />
wmm_enabled=0<br />
</nowiki><br />
Edit the file /etc/default/hostapd and change the line:<br />
<nowiki><br />
#DAEMON_CONF=""<br />
</nowiki><br />
to<br />
<nowiki><br />
DAEMON_CONF="/etc/hostapd/hostapd.conf"<br />
</nowiki><br />
Start it up, and add it to start at boot <br />
<nowiki><br />
sudo service hostapd start<br />
sudo update-rc.d hostapd enable<br />
</nowiki><br />
<br />
=== Note for EDIMAX adaptors === <br />
<br />
[http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd if using an edimax wifi usb]<br />
<br />
<br />
== DHCP and DNS for access point and captive portal ==<br />
<br />
Set up /etc/network/interfaces for serving DHCP and DNS<br />
<nowiki><br />
auto lo <br />
iface lo inet loopback <br />
<br />
auto wlan0<br />
iface wlan0 inet static<br />
address 10.1.2.1<br />
netmask 255.255.255.0<br />
network 10.1.2.0<br />
<br />
</nowiki><br />
configure dnsmasq /etc/dnsmasq.conf<br />
<nowiki><br />
# captive portal to this<br />
no-resolv <br />
server=/localnet/10.1.2.1<br />
server=/tacticalspace/10.1.2.1<br />
address=/#/10.1.2.1<br />
interface=wlan0<br />
dhcp-range=10.1.2.5,10.1.2.200,12h<br />
</nowiki><br />
restart dnsmasq<br />
<nowiki><br />
sudo /etc/init.d/dnsmasq restart<br />
</nowiki><br />
<br />
== More Captive Portal Stuff ==<br />
<br />
Some notes about the process of making a captive portal<br />
<br />
[http://stackoverflow.com/questions/3615147/how-to-create-wifi-popup-login-page Pop up page info for IOS, Windows, and Android]<br />
<br />
[http://serverfault.com/questions/446674/how-to-configure-nginx-to-redirect-all-request-from-domain-aliases-to-main-domai forward to domain]<br />
<br />
[https://www.raspberrypi.org/forums/viewtopic.php?t=90155&p=764850 iptables nat stuff for captive portal]<br />
<br />
[http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods]<br />
<br />
== Logging people ==<br />
if you want dnsmarsq script logging...<br />
Create /var/log/dhcp_leases file with write<br />
create /usr/bin/logdhcp, make executable<br />
add it to dnsmasq config<br />
<nowiki><br />
#!/bin/bash<br />
destfile=/var/log/dhcp_leases<br />
#if [ "$1" == "add" ]<br />
#then<br />
if [ -f "$destfile" ]<br />
then<br />
echo "$1 $2" >> "$destfile"<br />
fi<br />
#fi<br />
</nowiki><br />
[[File:logging_dhcp.png|thumbnail]]<br />
<br />
ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup<br />
<br />
== Map framework == <br />
<br />
Copy the server framework files across<br />
<br />
The files needed for hosting the map are part of the [https://github.com/neonascent/openmaps, Open Maps GitHub repository] in location "Device Files/www/"<br />
Place these file (javascript, example index, map tiles) into /var/www/html<br />
<br />
The repository only includes very far-out zoom levels (2,3,4). This older archive has zoom levels down to 18 in the areas around central Paris, Berlin, and Vienna: [http://maps.tacticalspace.org/var-MQ-Feb2015.zip MQ var directory archive]<br />
<br />
Remember to make all /var/www/html folders readable with: <br />
<nowiki><br />
sudo find /var/www -type d -exec chmod a+x {} +<br />
sudo find /var/www -type d -exec chown root:root {} +<br />
sudo find /var/www -type f -exec chmod a+r {} +<br />
sudo find /var/www -type f -exec chown root:root {} +<br />
</nowiki><br />
<br />
== Power saving ==<br />
<br />
If you are using the device for battery-based or power-sensitive installs, follow these [http://www.jeffgeerling.com/blogs/jeff-geerling/raspberry-pi-zero-conserve-energy instructions for disabling LED and HDMI functionality to save power].<br />
<br />
<br />
== For Map content == <br />
<br />
[http://mapnik.org/ MapNik coding platform for maps... pull render tiles using this?]<br />
<br />
[http://maps.stamen.com/m2i/image/20130610/mapstack_ZHVazuJTG7s beautiful Stamen Design map that can be used]<br />
[[File:Map example1.png|thumbnail]]<br />
[[File:Map example2.png|thumbnail]]</div>213.240.88.33http://wiki.tacticalspace.org/openmaps/index.php?title=Raspberry_Pi_setupRaspberry Pi setup2016-05-22T08:43:13Z<p>213.240.88.33: /* For Map content */</p>
<hr />
<div>Before you can do anything, you need to configure the Wifi on the Pi (NB: default Pi login is 'pi' and default password is 'raspberry')<br />
<br />
The [https://davidmaitland.me/2015/12/raspberry-pi-zero-headless-setup/ setting up a headless Pi instructions here] (in particular Step 3) worked for us, although we only needed ssid and psk (password) for the network={... step.<br />
<br />
Lets set up our map server with local cached image files<br />
<br />
== Installing required software ==<br />
<br />
Install nginx (server), hostapd (wifi AP host), dnsmasq (light dns server) <br />
[http://elinux.org/RPi_Nginx_Webserver install Nginx] <br />
<nowiki><br />
sudo apt-get update<br />
sudo apt-get install nginx<br />
sudo apt-get install hostapd<br />
sudo apt-get install dnsmasq<br />
</nowiki><br />
<br />
== Web Server ==<br />
<br />
Set up web server to forward 404's to root directory (needed for captive portal behaviour) and start<br />
edit /etc/nginx/sites-available/default<br />
<br />
and modify line in "location / {" section:<br />
<nowiki><br />
try_files $uri $uri/ = 404;<br />
</nowiki><br />
becomes<br />
<nowiki><br />
try_files $uri $uri/ /index.html;<br />
</nowiki><br />
<br />
Now start the server<br />
<nowiki><br />
sudo service nginx start<br />
</nowiki><br />
<br />
== Set up hostapd ==<br />
<br />
Set up AP with hostap (instructions from [http://elinux.org/RPI-Wireless-Hotspot set up AP with udhcpd])<br />
edit the file /etc/hostapd/hostapd.conf <br />
<nowiki><br />
interface=wlan0<br />
ssid=TacticalSpaceLab<br />
hw_mode=g<br />
channel=6<br />
auth_algs=1<br />
wmm_enabled=0<br />
</nowiki><br />
Edit the file /etc/default/hostapd and change the line:<br />
<nowiki><br />
#DAEMON_CONF=""<br />
</nowiki><br />
to<br />
<nowiki><br />
DAEMON_CONF="/etc/hostapd/hostapd.conf"<br />
</nowiki><br />
Start it up, and add it to start at boot <br />
<nowiki><br />
sudo service hostapd start<br />
sudo update-rc.d hostapd enable<br />
</nowiki><br />
<br />
=== Note for EDIMAX adaptors === <br />
<br />
[http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd if using an edimax wifi usb]<br />
<br />
<br />
== DHCP and DNS for access point and captive portal ==<br />
<br />
Set up /etc/network/interfaces for serving DHCP and DNS<br />
<nowiki><br />
auto lo <br />
iface lo inet loopback <br />
<br />
auto wlan0<br />
iface wlan0 inet static<br />
address 10.1.2.1<br />
netmask 255.255.255.0<br />
network 10.1.2.0<br />
<br />
</nowiki><br />
configure dnsmasq /etc/dnsmasq.conf<br />
<nowiki><br />
# captive portal to this<br />
no-resolv <br />
server=/localnet/10.1.2.1<br />
server=/tacticalspace/10.1.2.1<br />
address=/#/10.1.2.1<br />
interface=wlan0<br />
dhcp-range=10.1.2.5,10.1.2.200,12h<br />
</nowiki><br />
restart dnsmasq<br />
<nowiki><br />
sudo /etc/init.d/dnsmasq restart<br />
</nowiki><br />
<br />
== More Captive Portal Stuff ==<br />
<br />
Some notes about the process of making a captive portal<br />
<br />
[http://stackoverflow.com/questions/3615147/how-to-create-wifi-popup-login-page Pop up page info for IOS, Windows, and Android]<br />
<br />
[http://serverfault.com/questions/446674/how-to-configure-nginx-to-redirect-all-request-from-domain-aliases-to-main-domai forward to domain]<br />
<br />
[https://www.raspberrypi.org/forums/viewtopic.php?t=90155&p=764850 iptables nat stuff for captive portal]<br />
<br />
[http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods]<br />
<br />
== Logging people ==<br />
if you want dnsmarsq script logging...<br />
Create /var/log/dhcp_leases file with write<br />
create /usr/bin/logdhcp, make executable<br />
add it to dnsmasq config<br />
<nowiki><br />
#!/bin/bash<br />
destfile=/var/log/dhcp_leases<br />
#if [ "$1" == "add" ]<br />
#then<br />
if [ -f "$destfile" ]<br />
then<br />
echo "$1 $2" >> "$destfile"<br />
fi<br />
#fi<br />
</nowiki><br />
[[File:logging_dhcp.png|thumbnail]]<br />
<br />
ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup<br />
<br />
== Map framework == <br />
<br />
Copy the server framework files across<br />
<br />
The files needed for hosting the map are part of the [https://github.com/neonascent/openmaps, Open Maps GitHub repository] in location "Device Files/www/"<br />
Place these file (javascript, example index, map tiles) into /var/www/html<br />
<br />
The repository only includes very far-out zoom levels (2,3,4). This older archive has zoom levels down to 18 in the areas around central Paris, Berlin, and Vienna: [http://maps.tacticalspace.org/var-MQ-Feb2015.zip MQ var directory archive]<br />
<br />
Remember to make all /var/www/html folders readable with: <br />
<nowiki><br />
sudo find /var/www -type d -exec chmod a+x {} +<br />
sudo find /var/www -type d -exec chown root:root {} +<br />
sudo find /var/www -type f -exec chmod a+r {} +<br />
sudo find /var/www -type f -exec chown root:root {} +<br />
</nowiki><br />
<br />
== For Map content == <br />
<br />
[http://mapnik.org/ MapNik coding platform for maps... pull render tiles using this?]<br />
<br />
[http://maps.stamen.com/m2i/image/20130610/mapstack_ZHVazuJTG7s beautiful Stamen Design map that can be used]<br />
[[File:Map example1.png|thumbnail]]<br />
[[File:Map example2.png|thumbnail]]</div>213.240.88.33http://wiki.tacticalspace.org/openmaps/index.php?title=Raspberry_Pi_setupRaspberry Pi setup2016-05-22T08:43:01Z<p>213.240.88.33: /* More Captive Portal Stuff */</p>
<hr />
<div>Before you can do anything, you need to configure the Wifi on the Pi (NB: default Pi login is 'pi' and default password is 'raspberry')<br />
<br />
The [https://davidmaitland.me/2015/12/raspberry-pi-zero-headless-setup/ setting up a headless Pi instructions here] (in particular Step 3) worked for us, although we only needed ssid and psk (password) for the network={... step.<br />
<br />
Lets set up our map server with local cached image files<br />
<br />
== Installing required software ==<br />
<br />
Install nginx (server), hostapd (wifi AP host), dnsmasq (light dns server) <br />
[http://elinux.org/RPi_Nginx_Webserver install Nginx] <br />
<nowiki><br />
sudo apt-get update<br />
sudo apt-get install nginx<br />
sudo apt-get install hostapd<br />
sudo apt-get install dnsmasq<br />
</nowiki><br />
<br />
== Web Server ==<br />
<br />
Set up web server to forward 404's to root directory (needed for captive portal behaviour) and start<br />
edit /etc/nginx/sites-available/default<br />
<br />
and modify line in "location / {" section:<br />
<nowiki><br />
try_files $uri $uri/ = 404;<br />
</nowiki><br />
becomes<br />
<nowiki><br />
try_files $uri $uri/ /index.html;<br />
</nowiki><br />
<br />
Now start the server<br />
<nowiki><br />
sudo service nginx start<br />
</nowiki><br />
<br />
== Set up hostapd ==<br />
<br />
Set up AP with hostap (instructions from [http://elinux.org/RPI-Wireless-Hotspot set up AP with udhcpd])<br />
edit the file /etc/hostapd/hostapd.conf <br />
<nowiki><br />
interface=wlan0<br />
ssid=TacticalSpaceLab<br />
hw_mode=g<br />
channel=6<br />
auth_algs=1<br />
wmm_enabled=0<br />
</nowiki><br />
Edit the file /etc/default/hostapd and change the line:<br />
<nowiki><br />
#DAEMON_CONF=""<br />
</nowiki><br />
to<br />
<nowiki><br />
DAEMON_CONF="/etc/hostapd/hostapd.conf"<br />
</nowiki><br />
Start it up, and add it to start at boot <br />
<nowiki><br />
sudo service hostapd start<br />
sudo update-rc.d hostapd enable<br />
</nowiki><br />
<br />
=== Note for EDIMAX adaptors === <br />
<br />
[http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd if using an edimax wifi usb]<br />
<br />
<br />
== DHCP and DNS for access point and captive portal ==<br />
<br />
Set up /etc/network/interfaces for serving DHCP and DNS<br />
<nowiki><br />
auto lo <br />
iface lo inet loopback <br />
<br />
auto wlan0<br />
iface wlan0 inet static<br />
address 10.1.2.1<br />
netmask 255.255.255.0<br />
network 10.1.2.0<br />
<br />
</nowiki><br />
configure dnsmasq /etc/dnsmasq.conf<br />
<nowiki><br />
# captive portal to this<br />
no-resolv <br />
server=/localnet/10.1.2.1<br />
server=/tacticalspace/10.1.2.1<br />
address=/#/10.1.2.1<br />
interface=wlan0<br />
dhcp-range=10.1.2.5,10.1.2.200,12h<br />
</nowiki><br />
restart dnsmasq<br />
<nowiki><br />
sudo /etc/init.d/dnsmasq restart<br />
</nowiki><br />
<br />
== More Captive Portal Stuff ==<br />
<br />
Some notes about the process of making a captive portal<br />
<br />
[http://stackoverflow.com/questions/3615147/how-to-create-wifi-popup-login-page Pop up page info for IOS, Windows, and Android]<br />
<br />
[http://serverfault.com/questions/446674/how-to-configure-nginx-to-redirect-all-request-from-domain-aliases-to-main-domai forward to domain]<br />
<br />
[https://www.raspberrypi.org/forums/viewtopic.php?t=90155&p=764850 iptables nat stuff for captive portal]<br />
<br />
[http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods]<br />
<br />
== Logging people ==<br />
if you want dnsmarsq script logging...<br />
Create /var/log/dhcp_leases file with write<br />
create /usr/bin/logdhcp, make executable<br />
add it to dnsmasq config<br />
<nowiki><br />
#!/bin/bash<br />
destfile=/var/log/dhcp_leases<br />
#if [ "$1" == "add" ]<br />
#then<br />
if [ -f "$destfile" ]<br />
then<br />
echo "$1 $2" >> "$destfile"<br />
fi<br />
#fi<br />
</nowiki><br />
[[File:logging_dhcp.png|thumbnail]]<br />
<br />
ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup<br />
<br />
== Map framework == <br />
<br />
Copy the server framework files across<br />
<br />
The files needed for hosting the map are part of the [https://github.com/neonascent/openmaps, Open Maps GitHub repository] in location "Device Files/www/"<br />
Place these file (javascript, example index, map tiles) into /var/www/html<br />
<br />
The repository only includes very far-out zoom levels (2,3,4). This older archive has zoom levels down to 18 in the areas around central Paris, Berlin, and Vienna: [http://maps.tacticalspace.org/var-MQ-Feb2015.zip MQ var directory archive]<br />
<br />
Remember to make all /var/www/html folders readable with: <br />
<nowiki><br />
sudo find /var/www -type d -exec chmod a+x {} +<br />
sudo find /var/www -type d -exec chown root:root {} +<br />
sudo find /var/www -type f -exec chmod a+r {} +<br />
sudo find /var/www -type f -exec chown root:root {} +<br />
</nowiki><br />
<br />
== For Map content == <br />
<br />
[http://mapnik.org/ MapNik coding platform for maps... pull render tiles using this?]<br />
[http://maps.stamen.com/m2i/image/20130610/mapstack_ZHVazuJTG7s beautiful Stamen Design map that can be used]<br />
[[File:Map example1.png|thumbnail]]<br />
[[File:Map example2.png|thumbnail]]</div>213.240.88.33http://wiki.tacticalspace.org/openmaps/index.php?title=Raspberry_Pi_setupRaspberry Pi setup2016-05-22T08:41:24Z<p>213.240.88.33: /* Map framework */</p>
<hr />
<div>Before you can do anything, you need to configure the Wifi on the Pi (NB: default Pi login is 'pi' and default password is 'raspberry')<br />
<br />
The [https://davidmaitland.me/2015/12/raspberry-pi-zero-headless-setup/ setting up a headless Pi instructions here] (in particular Step 3) worked for us, although we only needed ssid and psk (password) for the network={... step.<br />
<br />
Lets set up our map server with local cached image files<br />
<br />
== Installing required software ==<br />
<br />
Install nginx (server), hostapd (wifi AP host), dnsmasq (light dns server) <br />
[http://elinux.org/RPi_Nginx_Webserver install Nginx] <br />
<nowiki><br />
sudo apt-get update<br />
sudo apt-get install nginx<br />
sudo apt-get install hostapd<br />
sudo apt-get install dnsmasq<br />
</nowiki><br />
<br />
== Web Server ==<br />
<br />
Set up web server to forward 404's to root directory (needed for captive portal behaviour) and start<br />
edit /etc/nginx/sites-available/default<br />
<br />
and modify line in "location / {" section:<br />
<nowiki><br />
try_files $uri $uri/ = 404;<br />
</nowiki><br />
becomes<br />
<nowiki><br />
try_files $uri $uri/ /index.html;<br />
</nowiki><br />
<br />
Now start the server<br />
<nowiki><br />
sudo service nginx start<br />
</nowiki><br />
<br />
== Set up hostapd ==<br />
<br />
Set up AP with hostap (instructions from [http://elinux.org/RPI-Wireless-Hotspot set up AP with udhcpd])<br />
edit the file /etc/hostapd/hostapd.conf <br />
<nowiki><br />
interface=wlan0<br />
ssid=TacticalSpaceLab<br />
hw_mode=g<br />
channel=6<br />
auth_algs=1<br />
wmm_enabled=0<br />
</nowiki><br />
Edit the file /etc/default/hostapd and change the line:<br />
<nowiki><br />
#DAEMON_CONF=""<br />
</nowiki><br />
to<br />
<nowiki><br />
DAEMON_CONF="/etc/hostapd/hostapd.conf"<br />
</nowiki><br />
Start it up, and add it to start at boot <br />
<nowiki><br />
sudo service hostapd start<br />
sudo update-rc.d hostapd enable<br />
</nowiki><br />
<br />
=== Note for EDIMAX adaptors === <br />
<br />
[http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd if using an edimax wifi usb]<br />
<br />
<br />
== DHCP and DNS for access point and captive portal ==<br />
<br />
Set up /etc/network/interfaces for serving DHCP and DNS<br />
<nowiki><br />
auto lo <br />
iface lo inet loopback <br />
<br />
auto wlan0<br />
iface wlan0 inet static<br />
address 10.1.2.1<br />
netmask 255.255.255.0<br />
network 10.1.2.0<br />
<br />
</nowiki><br />
configure dnsmasq /etc/dnsmasq.conf<br />
<nowiki><br />
# captive portal to this<br />
no-resolv <br />
server=/localnet/10.1.2.1<br />
server=/tacticalspace/10.1.2.1<br />
address=/#/10.1.2.1<br />
interface=wlan0<br />
dhcp-range=10.1.2.5,10.1.2.200,12h<br />
</nowiki><br />
restart dnsmasq<br />
<nowiki><br />
sudo /etc/init.d/dnsmasq restart<br />
</nowiki><br />
<br />
== More Captive Portal Stuff ==<br />
<br />
[http://stackoverflow.com/questions/3615147/how-to-create-wifi-popup-login-page Pop up page info for IOS, Windows, and Android]<br />
[http://serverfault.com/questions/446674/how-to-configure-nginx-to-redirect-all-request-from-domain-aliases-to-main-domai forward to domain]<br />
[https://www.raspberrypi.org/forums/viewtopic.php?t=90155&p=764850 iptables nat stuff for captive portal]<br />
<br />
== Logging people ==<br />
if you want dnsmarsq script logging...<br />
Create /var/log/dhcp_leases file with write<br />
create /usr/bin/logdhcp, make executable<br />
add it to dnsmasq config<br />
<nowiki><br />
#!/bin/bash<br />
destfile=/var/log/dhcp_leases<br />
#if [ "$1" == "add" ]<br />
#then<br />
if [ -f "$destfile" ]<br />
then<br />
echo "$1 $2" >> "$destfile"<br />
fi<br />
#fi<br />
</nowiki><br />
[[File:logging_dhcp.png|thumbnail]]<br />
<br />
ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup<br />
<br />
== Map framework == <br />
<br />
Copy the server framework files across<br />
<br />
The files needed for hosting the map are part of the [https://github.com/neonascent/openmaps, Open Maps GitHub repository] in location "Device Files/www/"<br />
Place these file (javascript, example index, map tiles) into /var/www/html<br />
<br />
The repository only includes very far-out zoom levels (2,3,4). This older archive has zoom levels down to 18 in the areas around central Paris, Berlin, and Vienna: [http://maps.tacticalspace.org/var-MQ-Feb2015.zip MQ var directory archive]<br />
<br />
Remember to make all /var/www/html folders readable with: <br />
<nowiki><br />
sudo find /var/www -type d -exec chmod a+x {} +<br />
sudo find /var/www -type d -exec chown root:root {} +<br />
sudo find /var/www -type f -exec chmod a+r {} +<br />
sudo find /var/www -type f -exec chown root:root {} +<br />
</nowiki><br />
<br />
== For Map content == <br />
<br />
[http://mapnik.org/ MapNik coding platform for maps... pull render tiles using this?]<br />
[http://maps.stamen.com/m2i/image/20130610/mapstack_ZHVazuJTG7s beautiful Stamen Design map that can be used]<br />
[[File:Map example1.png|thumbnail]]<br />
[[File:Map example2.png|thumbnail]]</div>213.240.88.33