I. Introduction environment
1. centos 7
2. Java1.8.0_211
Two .Java environment configuration
1. First find jdk package and csvn package online
2. First ls look Do you have these two packages
3.[root@localhost soft]# tar xf jdk-8u211-linux-x64.tar.gz -C /usr/local/
4.[root@localhost soft]# cd /usr/local/
5.[root@localhost local]# mv jdk1.8.0_211/ java/
6. The [the root @ localhost local] # Vim / etc / Profile # added three lines (java environment variable) end;
Export the JAVA_HOME = / usr / local / Java
Export the CLASSPATH =:. $ The JAVA_HOME / lib / Dt.jar: $ the JAVA_HOME /lib/tools.jar
Export the PATH = $ the PATH: $ JAVA_HOME / bin
7.[root@localhost local]# source /etc/profile
8. [root @ localhost local] # # java -version java version of view;
III. Creating user CSVN
[root@localhost ~]# useradd -m csvn
[root@localhost ~]# passwd csvn
Deployment of CSVN
1. [root @ localhost Soft] # mkdir / home directory csvn create the Data #
2. [@ localhost the root Soft] # CollabNetSubversionEdge the tar-XF-x86_64.tar.gz -C 4.0.11_linux / Data / decompression csvn Source Package #
3.[root@localhost soft]# cd /data/
4.[root@localhost data]# ls
csvn
5. [root @ localhost data] # chown -R csvn.csvn CSLA
6.[root@localhost data]# vim /etc/sudoers
98 root ALL=(ALL) ALL
99 csvn ALL=(ALL) ALL
7.[root@localhost data]# su csvn
8. [CSLA @ localhost ~] $ sudo -E / data / CSLA / bin / install CSLA
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for csvn:
Detected RHEL or Fedora:
Installing the CSVN Console daemon..
Setting RUN_AS_USER to: 'csvn'. Please edit '../data/conf/csvn.conf' if this needs to be adjusted
Setting JAVA_HOME to: '/usr/local/java'. Please edit '../data/conf/csvn.conf' if this needs to be adjusted.
See generated file
[csvn @ localhost data] $ vim csvn / data / conf / csvn.conf ( in / data below)
. 9 csvn the RUN_AS_USER =
46 is to true JAVA_REQUIRED =
47 = 1.6 JAVA_REQUIRED_VERSION
48 the JAVA_HOME = / usr / local / Java
V. start CSVN
CSLA / bin / CSLA start
Six input in the browser http: // IP address plus port number and csvn
默认用户名和密码都是admin
点启动
再点版本库
Point creation (name easily play)
Just hook a file, then Download
And then point to create
再点浏览
就可以上传下载了