SCM-manager as version controller

Source: Internet
Author: User

I always wanted to find a perfect version of the controller. I tried a lot of management software such as submin and if. svnadmin, and found that SCM-manager is too convenient.

Because the controller of the original version is visual SVN on the Windows platform, I want to migrate it to git using gitlab, but considering the company's programmers, I want to integrate SVN and git into a server.

Find it and find that SCM-manager is too convenient. Install the Java environment and download the Deb package to a version controller environment.

Deployment platform: Ubuntu 14.04

1. Download JDK

Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2. Decompress JDK

Tar zxvf jdk-version.tgz

Mv jdk-version/usr/local/JDK

3. Configure JDK Variables

JAVA_HOME=‘/usr/local/jdk‘CLASS_PATH="$JAVA_HOME/lib:$JAVA_HOME/jre/lib"PATH=".:$PATH:$JAVA_HOME/bin"export JAVA_HOME 

4. Add the SCM-manager Source

vim /etc/apt/source.list.d/scm-manager.list
deb http://maven.scm-manager.org/nexus/content/repositories/releases ./

5. Add a key for Installation

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D742B261sudo aptitude updatesudo aptitude install scm-server

6. Switch to root, apply environment variables, and start the service

sudo su - rootsource /etc/prfofileservice scm-server start

7. Open your browser and use scmadmin and scmadmin to log on to a SVN and git environment.

8. The combination of LDAP and nginx will be provided later

SCM-manager as version controller

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.