Home > System Tutorial > LINUX > How to deploy CSVN server on CentOS6.7

How to deploy CSVN server on CentOS6.7

PHPz
Release: 2024-04-14 09:43:23
forward
476 people have browsed it

How to deploy CSVN server on CentOS6.7

Server required components: Minimum installation is acceptable (personal test), additional required components: jdk-8u91-linux-x64.gz, CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gzCollabNetSubversionEdge-5.1.4_linux-x86_64.tar .gzCollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gz

step1: Upload these two software packages to the /opt directory of the server and install jdk1.8
tar zxvf jdk-8u91-linux-x64.gz
mv jdk1.8.0_91/ /usr/local/
vi /etc/profile
####添加如下三行
export JAVA_HOME=/usr/local/jdk1.8.0_91
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
source /etc/profile
java -version   ##查看java版本已经是1.8
Copy after login
step2:Install csvn
tar xvf CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gz
mkdir /application
mv csvn/ /application/
useradd csvn
passwd csvn
chown -R  csvn:csvn /application/
vim /etc/sudoers
####添加下面一行使csvn可以使用sudo
csvn    ALL=(ALL)   ALL
ln -s /application/csvn/bin/csvn /etc/csvn
ln -s /application/csvn-httpd /etc/csvn-httpd
Copy after login
step3: Start the service: csvn csvn-httpd
service csvn start
service csvn-httpd start
Copy after login

The above is the detailed content of How to deploy CSVN server on CentOS6.7. For more information, please follow other related articles on the PHP Chinese website!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template