How to host the OpenStreetMap Locally - openstreetmap

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."

Related

how to setup version controlling system in small team

I'm a web developer and would like to setup one system as server which can have all the source code which my team will develop.
My worries here is we all use different different OS (windows, Ubuntu, CentOS) but we work from the same place. I want to have some version controlling tool which allows us to do development efficiently.
Currently we are spending more time to integrate each other code in your code and fixing code according to new/old code.
We all use eclipse Juno. I really appreciate if someone can send me step by step guide to setup the version control system on Ubuntu or CentOS system.
I want this version controlling system should work in local only. I don't want to host my code on some 3rd party server. I want them in my local server only.
Thank you,
You can use Git with Gitlab. Just follow the setup instructions on your Linux based local server.
Git works also with Windows. Check http://git-scm.com/ or http://uncod.in/blog/installing-tortoisegit-on-windows7/
You can use Egit to integrate with Eclipse.
Good Luck!
I really enjoy Veracity. It's cross-platform and you can run it as a sever that only exists on your local network. The interface is fairly similar to Subversion, but is distributed version control. Here's a quick introduction:
http://veracity-scm.com/qa/questions/53/ive-installed-veracity-how-do-i-get-started-using-it

How is Github Enterprise hosted?

How exactly does github enterprise (or similar services) allow you to install it and host on your own servers without being open source?
I'm not very familiar with GitHub Enterprise, but it appears it's just a OVF package (commonly used format for packaging an entire virtual machine) that you just import and go.. a full stack including the OS and all. It's not something you just install alongside other things like WordPress (or at least it doesn't appear to be.)
As someone mentioned, it's an Open Virtualisation Format image which you can run in VMWare, VirtualBox or IBM Power. You can read more in the GitHub Enterprise FAQ.
The Virtual Image runs a Linux OS and the GitHub software. Most of the work has been done for you, it's pretty much plug and pay (licence for 40 users runs at $10k/year last time I checked).
GHE is available as appliance and you can import the downloaded ova file to vmware and can configure it from the GUI after installation

Windows Web Platform Installer vs Manual Install?

I am going to be moving all my websites to a Windows Web Server 2008 R2 machine. I have installed it in a virtual machine to test that my websites work with it.
I have noticied that there is a program called Web Platform Installer. I have used it to install a few sites but I was just thinking is it a security risk using this? Would it be better for me to manually install the sites (WordPress, Umbraco, etc)
Thanks
We push that out to all our customers just for ease of deployment, and I have not seen any security issues with it, however, I would question its reliability as it fails about 10% of the time (to install whatever I have selected). Having said that, when it does work, its a fairly good tool, as it will install any prerequisites that you may not have been aware of (like SMO, or if you try to install Wordpress without MySQL), and will also keep you up-to-date on newer version of software that you have installed.

how do you build your appliances?

virtual machines hold great promise as a way to distribute hard to configure applications. i have been using jeos vmbuilder (and some bash scripts) to generate my appliances, but i'm looking for something more elegant.
in my case, i'm looking for a solution that will build a linux-based vm with configured versions of tomcat and mysql as a base. each future release would be a new war file and a sql update script. it'd be really nice if already deployed vms could self-update and test builds could be pushed to ec2.
in my brief search, i've found rpath rbuilder, turnkey linux,
vagrant up, suse studio, jeos vmbuilder, and vmware studio. rather than try all of these, i figure i'd ask what this community uses to build and distribute appliances...
I use pungi myself.

UNIX web development server for virtual machine PC in Windows

I'm planning to build Linux web development server in virtual machine environment on Windows Virtual PC. As I don't have much experience with installing and configuring Linux web servers, I wanted to ask for some advice:
What Linux distribution do you recommend for such server? I want the virtual server to look like real hosting environment.
Do any pre-configured virtual machines for web development exist out there?
Maybe some instruction and tips on configuring?
My requirements for the server are quite standard: latest versions of Apache, MySQL, PHP, probably Python and Postgre.
Thank you.
UPDATE: OK I think I'll go with Ubuntu Server for this.
You can probably go with Ubuntu. It is easy for a beginner and there is plently of documentation on how to install a LAMP stack and later you can move on to other distros.
If you are looking for pre-configured machines, then you can have a look at VMWare Appliances
For the distribution I would recommend Ubuntu - you can add all the server software you want from their repositories.
For a virtual machine I'd recommend Ubuntu Server Edition JeOS, as that won't have any un-needed software on it.
Debian Lenny - rock solid stability & the most package support
I'm sure you can find some
Use prefork-worker apache, MySQL 5/PHP 5, Postgres 8.4.
There are lots of prebuilt vmware images that you can use. You might also consider looking at something like Amazon EC2 for which there are lots of off the shelf images.
I would also suggest Ubuntu server as a base OS.
Incidentally there are other virtualisation options in case Virtual PC doesn't recognise those prebuilt image formats (I think those formats are more standardised and interoperable these days, but not sure)...e.g. there is vmware, and there is virtualbox.org
Does it need to be in Linux straight away? You can run (Apache et al) XAMPP locally and get it up and running in 5 minutes.