Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CSVN installation configuration

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report