Install SCM Manager in Windows

This post assumes you already have a Windows server available

Prerequisites

  • Windows Server
  • Java 1.6 or newer (Java 1.6 = Java 6)
  • A copy of SCM Manager (Download here)

Setup

Install Java

At the time of writing this, I am using Java 8u45.

Prep SCM Manager

Unzip your download of SCM Manager to a folder in Program Files. In my case I am working with a 64-bit operating system so I unzipped everything to C:\Program Files (x86)\scm-server. The installation is complete.

Set SCM Manager to start at boot

So I know that you can install this as a service using the install parameter, but when I did this the service would not start. So instead of wasting time trying to figure that out, I improvised.

In Windows Task Scheduler I created a task to run at system startup to run scm-server.bat, located in the bin folder under scm-server. You can reboot now and test.

Since I was setting this up for my workplace I set this task to run as a service account instead of my own account. That way the software will continue to function even if I leave the organization.

Configure SCM Manager

After reboot the SCM Server should be running and with a web browser you can now open up the administration console.

http://localhost:8080

Username: scmadmin
Password: scmadmin (Change this)

Now under Config select each item and configure to your liking. I made a chage to the Base Url and then under Repository Types I moved each type to a new location, outside of the user profile.

You can add new users under Security > Users, and groups under Security > Groups. But the magic happens under Main > Repositories. Here is where you can create your repos and manage permissions and get the repo url.

Conclusion

At this point you should have a runnig git server providing a web front end for management. With the plugins available you can extend the functionality of the product to include things like Active Directory authentication or bug tracking with Bugzilla and Trac. This software is pretty flexible and very easy to set up. Well worth trying out.

Built with Jekyll using the KeepItSimple Theme