how to setup version controlling system in small team - eclipse

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

Related

Need simple version control tool for own development project (site)

I am doing a project in my spare time, and I need version control. Mainly I need some kind of sync that keeps remote / local files synced up since I make changes both on the server and locally.
Environment is Windows 8, 64bit, main dev tool is Dreamweaver, and the servers are on the host at the moment (although I am thinking for setting up a local db and server).
I don't want anything fancy, or complicated and only this very basic functionality is needed. Just for it to keep track of whether the server version and the local version is most recent, possible warn me if I am about to make a version control mistake.
You say that you need "some kind of sync that keeps remote / local files synced up" with simple workflow. Take a closer look at Apache Subversion (SVN) then; SVN is a storage and a time machine for your sources and is a great solution to organize your code and development process. Read SVNBook!
Adobe Dreamweaver supports SVN out-of-the-box, BTW. There is a good article series about using Dreamweaver with SVN:
Using Subversion with Dreamweaver CS5 – Part 1: Introducing Subversion,
Using Subversion with Adobe Dreamweaver CS5 – Part 2: Configuring Dreamweaver to use Subversion.

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

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

What is the best way to sync your codefiles to your remote server?

currently I am maintaining a django web application and I am using rsync via ssh to sync between my files and edits, using www-data user.
Then I reload the apache server.
I have tried git but had many problems on pushing, initiating a bare git couldn't help either.
Apart from deleted files from the source, rsync does it's job quite good.
What do you use?
Using OS: Ubuntu 10.04 LTS x64 on both server and local
I use mercurial, it's really easy to get running locally and very easy to push changes between different "servers".
you don't say what O/S you're using. I'm using Windows with tortoiseHg. I also use the VisualHg add-in for Visual Studio
When it comes to sync files between machines, I use BitTorrent Sync. Works on every major platform and it is super easy to configure. It even works for mobile devices.
Check out http://www.bittorrent.com/sync

iPhone: For integrating Code versioning thru SVN, is it necessary to upload files on a Server?

Please forgive my ignorance, but I am noob.
I have 4 Macs in my Office. I want to integrate SVN repository with XCode so that all of us can work on same project at the same time.
Is it necessary to setup SVN repository on a remote server? Can it be installed on any of these 4 Macs?
Please let me know.
No it's not necessary, but it definitely helps to avoid some nagging problems that can come up when you install the SVN server on a developer machine. For example:
Developer machine needs to be rebooted because he installed software, or ran into memory issues, or applied a patch etc etc.
Developer forgets that he is hosting the server and shuts down for the night. Meanwhile you were wanting to burn the midnite oil but don't have the latest revs.
Developer kicks power cord while you were in the middle of a commit.
Developer browses to a 'work related' site and now he's getting Russian bride pop-ups every few seconds. Frack, time for a reformat and darn if you don't gotta move the SVN server too.
... I'm sure you get the drift
SVN is pretty forgiving, and to be honest you could probably scrape by with installing it on a dev machine, but using a dedicated server is so much better.
Now, if you really want an SCM solution that Just Works, take a look at Git. XCode actually supports it natively and it's designed to work server-lessly. IMO it's a much better tool than SVN and worth dedicating some time to learn.
Good luck!
You can certainly use SVN locally with a repository that is a file on your local machine. However that's not what you want. You want to share files between computers, in which case you'll need one of the computers to be a server.
Here is a good guide for setting up svn on the mac: Subversion Server Guide Mac
The quickest option is to use a service like Beanstalk (http://beanstalkapp.com) to host the repository. Then you wont' have to mess with server setup and admin.