diff --git a/docs/_source/locale/en/LC_MESSAGES/maps-libre-is.po b/docs/_source/locale/en/LC_MESSAGES/maps-libre-is.po new file mode 100644 index 0000000..ff2107d --- /dev/null +++ b/docs/_source/locale/en/LC_MESSAGES/maps-libre-is.po @@ -0,0 +1,105 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2024, Jeff Moe +# This file is distributed under the same license as the Libre Developers +# Documentation package. +# FIRST AUTHOR , 2024. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Libre Developers Documentation 0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-14 10:47-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language: en\n" +"Language-Team: en \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.16.0\n" + +#: ../../../_source/maps-libre-is.rst:3 +msgid "maps.libre.is" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:4 +msgid "HOWTO run your own map servers." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:8 +msgid "Debian" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:9 +msgid "Using Debian stable (12/bookworm)." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:13 +msgid "Firewall" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:14 +msgid "Open ports 80 and 443 for web." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:17 +msgid "Apache" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:18 +msgid "Install and set up Apache." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:27 +msgid "" +"Add new apache configs to /etc/apache2/sites-available/maps-libre-is.conf:" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:71 +msgid "Enable new configuration:" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:82 +msgid "Nominatim" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:83 +msgid "" +"\"Nominatim uses OpenStreetMap data to find locations on Earth by name and " +"address (geocoding). It can also do the reverse, find an address for any " +"location on the planet.\"" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:87 +msgid "``_" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:89 +msgid "``_" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:91 +msgid "``_" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:93 +msgid "The full installation is quite demanding:" +msgstr "" + +#: ../../../_source/maps-libre-is.rst:95 +msgid "2GB RAM minimum." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:97 +msgid "Full planet import requires 128GB of RAM or more." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:99 +msgid "Full planet needs at least 1TB of fast disk." +msgstr "" + +#: ../../../_source/maps-libre-is.rst:101 +msgid "Full import of planet takes 2.5 days on NVMe, 4-5 days on SSD." +msgstr "" diff --git a/docs/_source/maps-libre-is.rst b/docs/_source/maps-libre-is.rst new file mode 100644 index 0000000..1db31e1 --- /dev/null +++ b/docs/_source/maps-libre-is.rst @@ -0,0 +1,102 @@ +============= +maps.libre.is +============= +HOWTO run your own map servers. + + +Debian +====== +Using Debian stable (12/bookworm). + + +Firewall +======== +Open ports 80 and 443 for web. + +Apache +====== +Install and set up Apache. + +.. code-block:: sh + + sudo apt install apache2 python3-certbot-apache + certbot -d maps.libre.is -d map.libre.is + # remove old apache configs: + rm /etc/apache2/sites-enabled/000-default* + +Add new apache configs to /etc/apache2/sites-available/maps-libre-is.conf: + +.. code-block:: apache + + + ServerName maps.libre.is + ServerAlias map.libre.is + ServerAdmin webmaster@libre.is + DocumentRoot /var/www/html/maps-libre-is + ErrorLog ${APACHE_LOG_DIR}/error-libre-maps-is.log + CustomLog ${APACHE_LOG_DIR}/access-libre-maps-is.log combined + RewriteEngine on + ReWriteCond %{HTTPS} off + RewriteCond %{SERVER_NAME} =map.libre.is + RewriteRule ^ https://maps.libre.is%{REQUEST_URI} [END,NE,R=permanent] + ReWriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + RewriteCond %{SERVER_NAME} =maps.libre.is + RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] + + + + ServerName maps.libre.is + ServerAlias map.libre.is + ServerAdmin webmaster@libre.is + DocumentRoot /var/www/html/maps-libre-is + ErrorLog ${APACHE_LOG_DIR}/error-ssl-libre-maps-is.log + CustomLog ${APACHE_LOG_DIR}/access-ssl-libre-maps-is.log combined + RewriteEngine on + RewriteCond %{SERVER_NAME} =map.libre.is + RewriteRule ^ https://maps.libre.is%{REQUEST_URI} [END,NE,R=permanent] + ReWriteCond %{HTTPS} off [OR] + ReWriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] + ReWriteRule ^(.*)$ https://%1$1 [L,R=301] + + Options FollowSymlinks + AllowOverride All + Require all granted + + Include /etc/letsencrypt/options-ssl-apache.conf + SSLCertificateFile /etc/letsencrypt/live/maps.libre.is/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/maps.libre.is/privkey.pem + + # vim: syntax=apache ts=4 sw=4 sts=4 sr noet + +Enable new configuration: + +.. code-block:: sh + + sudo mkdir -p /var/www/html/maps-libre-is + echo maps.libre.is | sudo tee /var/www/html/maps-libre-is/index.html + sudo ln -s /etc/apache2/sites-available/maps-libre-is.conf /etc/apache2/sites-enabled/maps-libre-is.conf + sudo systemctl restart apache2 + + +Nominatim +========= +"Nominatim uses OpenStreetMap data to find locations on Earth by name and +address (geocoding). +It can also do the reverse, find an address for any location on the planet." + + ``_ + + ``_ + + ``_ + +The full installation is quite demanding: + +* 2GB RAM minimum. + +* Full planet import requires 128GB of RAM or more. + +* Full planet needs at least 1TB of fast disk. + +* Full import of planet takes 2.5 days on NVMe, 4-5 days on SSD. +