SCM Manager is a free and open source web-based source code management tool which allows us to manage Git, Mercurial and Subversion repositories centralized under one application. In this tutorial, we will be learning how to install SCM Manager on Elementary OS.
First, let’s go to the official SCM Manager website at https://www.scm-manager.org/ to download the latest version of the release for Linux:
wget https://download.scm-manager.org/scm-manager/latest/scm-server-*-app.zip
After the download is complete, extract the .zip file in the location of your choice:
unzip scm-server-*-app.zip
You can choose to delete the .zip file now, this won’t affect the SCM Manager installation.
SCM Manager requires Java to operate, so we need to install Java Development Kit (JDK) on our computer:
sudo apt-get install default-jdk
Now, let’s navigate into the extracted SCM Manager directory and launch the server:
cd scm-server-*-app
./bin/scm-server start
SCM Manager is now up and accessible via your web browser on http://localhost:8080/scm. You can sign in with the default username "scmadmin" and password "admin".
To stop SCM Manager, simply navigate to the SCM Manager directory and stop the server:
cd scm-server-*-app
./bin/scm-server stop
In this tutorial, we have learned how to install SCM Manager on Elementary OS. You can now use SCM Manager to manage your Git, Mercurial and Subversion repositories. Enjoy!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!