#*You're going to see lots of Warnings. [https://github.com/gravitystorm/openstreetmap-carto/issues/3183 this is ok]. Your tile server will work fine.
##Run ''exit''
=CONTENT BELOW NEEDS TO BE FORMATTED=#Run ''sudo nano /etc/renderd.conf'' and set the following /nowiki>[renderd] set "num_threads=4" #set to the # number of CPU Core's you have. This can be found under the Resources section of your Promox Container on the Proxmox web GUI [mapnik] set "plugins_dir=/usr/lib/mapnik/3.0/input" set "font_dir=/usr/share/fonts/truetype" set "find_dir_recursive=true" [default] set "XML=/home/osm/openstreetmap-carto-4.21.1/style.xml" set "HOST=YOURSERVER.COM"</nowiki>#Run ''sudo nano /etc/init.d/renderd'' and set the following <nowiki>set "RUNASUSER=osm"</nowiki>#Run ''sudo chown osm:osm /var/lib/mod_tile/ -R''#Run ''sudo systemctl daemon-reload''#Run ''sudo systemctl restart renderd''#Run ''sudo nano /etc/apache2/sites-available/tileserver_site.conf'' and set the following <nowiki>set "ServeName YOURSERVER.COM" comment out "#ServerAlias a.tile.mytileserver.org b.tile.mytileserver.org c.tile.mytileserver.org" by prepending with a "</nowiki> #"comment out this line</nowiki>#Run ''sudo nano /var/www/osm/slippymap.html'' and set the following change " <nowiki><title>" to what you wantMY NEW COOL TITLE!</title> change "var lat=", "MY.START_LATvar long=", & "MY.START_LONGvar zoom=" to what you wantMY_PREFERRED_ZOOM_LEVEL</nowiki>#Run ''sudo rm /var/www/index.html''#Run ''sudo nano /var/www/index.html '' and fill with <nowiki><html> <head> <meta http-equiv="refresh" content="0; url=http://YOURSERVER.COM/osm/slippymap.html" /> </head> </html></nowiki>
*''Most of basis for this How To came from https://www.linuxbabe.com/ubuntu/openstreetmap-tile-server-ubuntu-18-04-osm''
[[Category: Linux]]