03 – Remote Git or SVN repository over HTTP: SCM-Manager

03 – Remote Git or SVN repository over HTTP: SCM-Manager

There is many tools and tutorials shows how to setup SCM over HTTP. In my opinion the fastest and the cheapest way is to install Scm-Manager tool which allows to create, manage and expose over HTTP all common types of source code repositiories (Git, SVN).


This part of the guide comes from the official SCM-Manager bitbucket repository.

Important! For this tutorial purposes change default scm-manager HTTP port to 9092. The default scm-manager port is 8080 (default apache tomcat port). We are going to install few more tools based on apache tomcat, so to avoid conflicts, we will change every default ports configuration.

Debian linux family (i.a. Ubuntu)

Connect to your Ubuntu Server and run:

Important! This is temporary version of the script until SCM-Manager developers resolve their nexus server problem. The right script is below.

The right scritp – not working now!


To change default SCM-Manager port 8080 to 9092 edit:

Find the line

and change port number to 9092

Restart service.

Starting, stopping and restarting SCM-Manager service in Ubuntu

Test SCM-Manager access

Verify the isntallation now. Open a browser and go:

In my case:

LogIn. The default SCM-Manager login/password is : scmadmin/scmadmin

SCM Manager - Mozilla Firefox_008

First Git repository

Add tutorial user

Go to users and add new user: tutorial/tutorial

SCM Manager - Mozilla Firefox_009

Add permissions for All repositories to the tutorial user and press Enter key to save.

SCM Manager - Mozilla Firefox_010

Create repository

Go to Repositories tab, Click add and create repository as below.

Your test repository is ready for work. Let’s checkout it somewhere.

In my case:


Post-Installation directory layout

Redhat linux family (i.a. CentOS)

Create a file SCM-Manager.repo in yum repos directory.

Put the following content:

Save and exit to the shell. To install scm-server run as root:


Leave a Reply

Notify of
Close Menu