Linux Configuration CollabNet Subversion edge__linux

Source: Internet
Author: User
Tags collabnet subversion svn collabnet
Absrtact: Has been doing the work of the Administrator, and today I did SVN management tool Collabnetsubversionedge, there are many examples on the Internet, but many are accessible to the Web interface, but can not start the version of the library services, so I tried many times, finally resolved the , now record it for later viewing again:
One: Before installing the configuration Collabnetsubversionedge need your Linux system has already installed the jdk1.6 above, the python2.4-2.6 between the version, if your machine does not install these two items, then you must install these two items before can continue to install next, specifically how to Ann Install, this relatively simple, you can Baidu.


Second: Start installation Collabnetsubversionedge steps as follows:

(1). Set up SVN user group and member Svnuser with root permission and set the password for Svnsuer:

#groupadd svn
#useradd-G svn svnuser
#passwd svnuser


(2). Give Svnuser user sudo permissions to execute as root:

#vim/etc/sudoers


(3). In # # Allow ROOT to run any commands anywhere
Root all= (All)
Add after

# # Allow Svnuser to run any commands anywhere
Svnuser all= (All)
Give the user svnuser sudo permissions.
Force Save and exit esc+:wq!


(4). Create a directory that holds Collabnetsubversionedge installation files:

# mkdir/home/subversion


(5). Download Collabnetsubversionedge installation package, download address: http://www.collab.net/downloads/subversion


(6). Upload the downloaded collabnetsubversionedge-4.0.12_linux-x86_64.tar.gz to your Linux server's opt directory


(7). Copy to your newly created directory:

CP Collabnetsubversionedge-4.0.12_linux-x86_64.tar.gz/home/subversion


(8). Extract collabnetsubversionedge-4.0.12_linux-x86_64.tar.gz Files:

TAR-ZXF collabnetsubversionedge-4.0.12_linux-x86_64.tar.gz


(9). Configure CSVN to use 1-1023 Port permissions:

#使用root用户

Chown root:svnuser/home/subversion/csvn/lib/httpd_bind/httpd_bind #root: Svnuser Svnuser replaced by your users, followed by the same path
chmod U+s/home/subversion/csvn/lib/httpd_bind/httpd_bind

(10). Configure Boot Startup:

CD/HOME/SUBVERSION/CSVN
sudo bin/csvn-httpd install     #svn服务端
sudo-e bin/csvn Install           #web页面

(11). Start Subversion Edge:

CD csvn/bin/
sh csvn start #启动
#如果使用start启动失败, you can use the following command
SH csvn console #此命令会在控制台输出启动日志 to determine what error caused the startup to fail

(12). After the above operation, remember to restart the system, so you can visit: HTTP://LOCALHOST:3343/CSVN
Note: If remote access does not work, may be the cause of the firewall, turn off the firewall should be OK
# service iptables stop

If there is no problem, then Linux subversion edge on the configuration succeeded, you can access through the browser, the default administrator's account password is: admin/admin, login address: http://localhost:3343/ CSVN, you can create a user and version library after a successful login, and you can also select a role for the user you create.


Reference URL:

Http://www.cnblogs.com/zz0412/p/install_Subversion_edge_4-0-1.html

Http://www.linuxidc.com/Linux/2012-06/62291p2.htm

Http://blog.chinaunix.net/uid-354915-id-3750929.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.