csvn build

Subversion is a free / open source version control system, Subversion manages to say with
file change time. These files are placed in a central repository (repository) in. This archive
much like a file server unusual, but it remembers every change in the file so you can put
the file back to the old version, or change the browser history files. many people will imagine a version control system
as a sort of "time machine."
some version control systems also software configuration management (SCM) systems for these systems.
are specifically designed to manage large numbers of program code, but also has many features specifically used in software development purposes
- like programming language can fully understand, or to provide translation software work. Subversion, however, is not
such a system; it is a generic system that can be used to manage any type of file, including program

First, you must first download the JDK in advance to find his source packages begin downloading to / usr / local / src online. Download after decompression

tar -zxvf jdk-8u211-linux-x64.tar.gz -C /usr/local/java

vi / etc / profile to set the environment variable

export JAVA_HOME=/usr/lcoal/java
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
csvn build

II. CSVN begin the installation source on the Internet to find a package to the / usr / local / src, decompression
tar -xf CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gz -C / usr / local / csvn

csvn build

1.groupadd svn svn create user groups
2.useradd -g svn svnuser create user svnuser, and to the svn group
3.echo 123456 | passwd --stdin svnuser set a password to the user svnuser

chown -R svnuser: svn / usr / local / csvn / data directory and its subdirectories are provided csvn group metal svn
group permission 4.chmod + w / etc / sudoers provided csvn directory is read-write execution
5.chown -R svnuser: owner svn / data / server / csvn / data data directory set for svnuser, is a group of the svn
6. the permissions provided sudu vim / etc / sudoers
csvn build

Adding a line inside svnsuer ALL = (ALL) ALL

III. He installed to / usr / local / csvn / bin / csvn-httpd install

IV. Start csvn
cd / usr / local / csvn / bin
./csvn Start
csvn build

Then turn off the firewall
systemctl STOP firewalld
setenforce 0

Then open the browser to access

csvn build

Guess you like

Origin blog.51cto.com/14354119/2426916