CSVN installation configuration
I. Installation environment preparation
1. Download JDK
Extract and copy the downloaded tar -zxvf jdk-8u211-linux-x64.tar.gz to/usr/local
# tar -zxvf jdk-8u211-linux-x64.tar.gz -C /usr/local/cd /usr/localmkdir /usr/local/javacd jdk1.8.0_211/
2. Configure environmental variables
Add environment variables
echo /usr/local/java/jdk1.8.0_211 >> /etc/profile#vim /etc/profileexport JAVA_HOME=/usr/local/java/jdk1.8.0_211export JRE_HOME=$JAVA_HOME/jreexport CLASS_PATH=.:$ JAVA_HOME/lib:$JRE_HOME/libexport PATH=$JAVA_HOME/bin:$PATH
Make Configuration Effective
#source /etc/profile
View Java version
# java -versionjava version "1.8.0_211"Java(TM) SE Runtime Environment (build 1.8.0_211-b12)Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
II. Installation of CSVNs
1. Download CSVN decompression
tar -zxvf CollabNetSubversionEdge-5.2.3_linux-x86_64.tar.gz -C /usr/local
2. Create a dedicated user
groups svn #Create svn group useradd -g svn svnuser #Create svnuser and join svn group echo 123456| passwd --stdin svnuser The requested URL/application/csvn/was not found on this server. Set the generic group of the csvn directory and its subdirectories to svnchmod -R g+rwx /usr/local/csvnchown -R svnuser:svn /usr/local/csvn/data
Configure sudo permissions
vim /etc/sudoers#svnuser ALL=(ALL) ALL
3. Install csvn
./ csvn-httpd install
Start csvn
./ csvn start
turn off the firewall
setenforce 0systemctl stop firewalld
III. Browser login
Enter http://10.1.1.50:3343/csvn in the browser. The default username and password are admin and admin respectively.