Build a CentOS tile server - server

In order to build a CentOS 6.5 OSM tiles server I'm looking for some documentation and/or tutorials.
I tried this one as I said in my previous post but it worked on Ubuntu 14.04, not on CentOS 6.5...
Also, I want to be able to connect to my tiles from QGIS via the server URL.
It involves using some special protocols like WMS, WCS or WFS (I don't understand well about this).
If you have ideas you're welcome !

You can try my gist to build and run OSM tile server on CentOS 7 with all up-to-date dependencies, work in progress and will be updated, but it works now.

Related

how to install bind 9.9.8 or higher on CentOS 5.8

I am running a web server based on CentOS 5.8 and I need to upgrade my version of bind to make it PCI compliant. I'm currently running bind 9.3.6 and I need to have bind 9.9.8 or higher. I've tried yum update bind but apparently I already have the latest version according to yum. I did some Googling and I found an RPM file bind-9.10.2-1.el5.i686.rpm which looks like it would work but i don't know if it should try installing it or not. I think I would need bind-devel and bind-libs which I can get from the same site. Am I better off compiling from source? I know CentOS 5 is old but I'm trying to avoid reinstalling the whole server.
Installing binary rpm's from later versions of CentOS is unlikely to work: there are many changes since CentOS5.
Rebuilding a src.rpm locally is one way to see what issues there are.
Meanwhile, upgrading to CentOS6 (at least: CentOS7 uses systemd which takes some study) is often not a whole lot more effort than retrofitting something like bind, and will have other efficiencies. YMMV, everyone's does.

Update Centos Machine 5.10 to 6.5

I want to update my dedicate Centos Machine, which installed WHM. I want to know that if I do update the OS, there any changes on WHM. Like any default Setting changed? or any other Problems.
So please suggest me that right way of update Centos without any problems, because many websites hosted on this Server.
Thanks
Pankaj Gupta
Pankaj, because there are many changes in a major CentOS release you cannot upgrade from 5.10 to 6.5. You need to put together a migration plan. First install CentOS 6.5 on another server, configure httpd and php/passenger/whichever and test that each hosted website is working properly. Then you can reinstall and reconfigure everything.
Give CentOS 7 a try.
Upgrading is not possible and even if you try around doing some search you will end up wasting lot of time by fixing the dependency related errors etc. So its always better and safe to do a fresh install of CentOS 6.5 and then migrate the sites.

OSM2PGSQL for CentOS 6

I am trying to load the data from planet osm files to postgres database installed on CentOS server. Is there any available binary for CentOS which i can be used. I am not well conversant with C and C++ hence cannot build it from source. Need binary which i can use directly for loading data into postgres on CentOS.
Please help.
There is a long and extensive osm2pgsql wiki page in the OSM wiki which also explains how to build it from source. You don't need any C or C++ knowledge to build packages from source, basic Linux knowledge should be enough.

How to host the OpenStreetMap Locally

I want to host the OSM (OpenStreetMap) locally. I need the basic idea what are required for hosting the OSM and how the task can be done in a step wise manner. I have to host it in Windows7 environment.
Any kind of help will be useful.
switch2osm contains detailed instructions and requirements for setting up a OSM server. If you have a Windows system then better set up a Linux VM inside it.
A bit too old but I will just put it here for someone who is searching for the same thing.
An exact instance of OpenStreetMap can be hosted locally by following the installation guide of OpenStreetMap.
Quoting from the Link:
"These instructions are designed for setting up The Rails Port for development and testing. If you want to deploy the software for your own project, then see the notes at the end.
You can install the software directly on your machine, which is the traditional and probably best-supported approach. However, there is an alternative which may be easier: Vagrant. This installs the software into a virtual machine, which makes it easier to get a consistent development environment and may avoid installation difficulties. For Vagrant instructions, see VAGRANT.md.
These instructions are based on Ubuntu 12.04 LTS, which is the platform used by the OSMF servers. The instructions also work, with only minor amendments, for all other current Ubuntu releases, Fedora and MacOSX
We don't recommend attempting to develop or deploy this software on Windows. If you need to use Windows, then try developing this software using Ubuntu in a virtual machine, or use Vagrant."

Orchard CMS on Mono

This question might be slightly subjective, but I am unsure where else it would be better suited.
I have used Orchard on a number of projects where the server was Windows Server based - integrating with AD, SQL etc to provide a MVC based portal - like stealing candy from a toddler!
I have been exploring MonoTouch recently, and installed Orchard on OSX under ModMono as per http://docs.orchardproject.net/Documentation/Running-Orchard-on-Mono.
It all seems to run fine, and fast, but I am unsure whether to back this on a commercial venture. I have always used MySQL or MSSQL as the DB, whereas my current install is running PostgreSQL - something new (which is always good).
Does anyone know of any sites which use Orchard running on Mono, with ModMono (Apache2) and PostgreSQL?
I plan to deploy to a cloud server running CentOS and Mono to do further testing before going any further, but think it could be an exciting avenue to explore.
I can't say I know of any sites that run Orchard on Mono commercially but I do know of a lot of sites that use Mono, Postgresql and CentOS. But if it works on a Mac running Modmono and Postgresql then it should work on CentOS.
The only issues that you may face running on Linux is case sensitivity. If you do run in to case sensitivity issues when you are trying out Orchard on Linux then you may want to configure your site to use Mono IOMAP temporarily until you fix an issues with case sensitivity.
This is a very reliable and cost effective stack. It may take a bit of research and problem solving to get up and running initially but once it's running it should be very stable.
I am currently near the end of porting an application that is going to be using Mono, Postgresql and Ubuntu running on Amazon EC2. I believe that Ubuntu is better than CentOS when it comes to Mono as it is much easier to setup and seems to be better supported. You can use the badgerports repositories located here if you want to try out the latest version of Mono on Ubuntu.