Get the App
SLTechnology News&Howtos  ›  Servers  › 

CSVN installation configuration

Shulou Source: shulou.com Published: 2022-06-03 09:38:16 12月06日 Update

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.

Tags: User configuration environment variable password browser directory browse subdirectory copy permission version user name firewall do not dedicated prepare login enter Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Docker vpn MariaDB Huawei