Install Subversion Edge (SVN visual management tool) under Linux

Recently I tried to install Subversion Edge (I feel that this should be done by operation and maintenance, but there is no operation and maintenance in the group, but I can only send me a rookie developer to try it...), summarize my installation process and Problems encountered in the process[]~( ̄▽ ̄)~*

First install Subversion Edge (go to the official website to download)

Address: https://www.collab.net/downloads/subversion

However, the download was too slow and I found a CollabNetSubversionEdge-5.2.3_linux-x86_64.tar.gz

  Netdisk address: https://pan.baidu.com/s/1e0dAVGEdtt8Gq06l-W8Zdg Extraction code: isrn

The environment I use: jdk1.7 Python2.6

-------------------------------------------------- --------------Dividing line---------------------------------- --------------------------------

Linux environment

First create a new user such as: coco

Install jdk1.7 and Python2.6 (this is the version of jdk and Python I use)

Switch to the coco user, the root account cannot be used to install and start the installation process, otherwise the subversion startup will fail and you need to reinstall o(╥﹏╥)o

Unzip: tar zxvf CollabNetSubversionEdge-5.2.3_linux-x86_64.tar.gz

Find csvn.conf under csvn/data/conf/, you need to modify two places, first vi csvn.conf

Go to modify RUN_AS_USER=svn and JAVA_HOME=**** (write your own JDK installation path. Some people say that using JDK6 can be automatically recognized. The host I use is JDK1.7)

If you need to configure csvn to use port 1-1023 permissions, then you need to switch to the root account and execute the following two commands. I did not have root permissions on the host at the time, so this step was skipped. . .

chown root:coco /***(your own path)/csvn/lib/httpd_bind/httpd_bind (root:coco coco replaced with your own user name)

chmod u+s /*** (your own path)/csvn/lib/httpd_bind/httpd_bind

Now, if you switch to root and execute the previous step, you need to switch to the user you created by yourself. Mine is coco

Enter the csvn/bin/ directory and start Subversion edge

sh csvn start
Starting CSVN Console......
CSVN Console started
Waiting for application to initialize (this may take a minute)....................... ...
CSVN Console is ready at  http://host IP:3343/csvn (the access address of the UI page will appear here, at this time it means that the installation and startup are successful and you can go to the UI page of Subversion Edg e []~ ( ̄▽ ̄)~*) If the port is occupied, you need to kill the process occupying the port.

apachectl file modification: HTTPD='/***(your own path)/csvn/bin/httpd'

./apachectl -f /***(your own path)/csvn/data/conf/httpd.conf -k start(httpd: Could not open configuration file /data/conf/httpd.conf: No such file or directory)

Address: http://Host IP:3343/csvn
Username: admin
Password: admin (I changed the initial password after I entered)

After logging in, you can follow the novice to guide yourself to configure, but you need to pay attention when configuring the access port

I configured 80 before and when I clicked Start on the home page, I kept reporting an error and failed to start, because on the host, I cannot use the port assigned to root by default without root privileges. I need to modify the port number as 9000 (1-1023 is root)

I'm still a bit nervous when I blog for the first time. . . This article mainly records the process of my installation and the problems and solutions at that time[]~( ̄▽ ̄)~*I hope I can point out where there is an error, let’s study together. (*^▽^*)

Guess you like

Origin blog.csdn.net/qq_40210804/article/details/91868763