centos 7 installation csvn

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
centos 7 installation csvn

7.[root@localhost local]# source /etc/profile

8. [root @ localhost local] # # java -version java version of view;
centos 7 installation csvn

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
centos 7 installation 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
centos 7 installation csvn
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.
centos 7 installation csvn

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

centos 7 installation csvn

Six input in the browser http: // IP address plus port number and csvn

  默认用户名和密码都是admin

centos 7 installation csvn

 点启动

     再点版本库

centos 7 installation csvn

Point creation (name easily play)

centos 7 installation csvn

Just hook a file, then Download
centos 7 installation csvn

And then point to create

再点浏览
就可以上传下载了

centos 7 installation csvncentos 7 installation csvn

Guess you like

Origin blog.51cto.com/14259161/2426928
Recommended