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