Build the SVN (CollabNetSubversion) service in Linux (RedHat4)

Source: Internet
Author: User
Recently, I set up the SVN service on a Linux server and found some materials on the Internet. Many articles are compiled and installed based on sourcecode. The advantage is that you do not need to consider the version of the Linux server, for the compilation and installation of source code, the official website also has a relatively good detailed installation guide, the corresponding address is: Compile. Svn official

Recently, I set up the SVN service on a Linux server and found some materials on the Internet. Many articles are compiled and installed based on the source code. The advantage is that you do not need to consider the version of the Linux server, for the compilation and installation of source code, the official website also has a relatively good detailed installation guide, the corresponding address is: Compile. The official svn website also provides Binary Packages for downloading. You only need to select the platform you have installed. I have installed Binary Packages on the 64-bit Linux Server of RedHat4. After selecting the corresponding platform, the following page is displayed:

I chose the server of the CollabNet version. after entering the download page, you will find that if the Redhat version is later than 5, you can download the Subversion Edge. This configuration is relatively simple. After installation, you can use the GUI to configure it, a bit similar to the visual SVN Server in windows. The original official text is as follows:

A certified software stack containing the latest versions of Subversion, Apache, and ViewVC.
Platforms: Red Hat Enterprise Linux 5.x, Red Hat Enterprise Linux 6.x, CentOS 5.x, SUSE Linux Enterprise 11.x

In other versions, only the rpm installation packages corresponding to the client, server, and viewcc can be downloaded. I download four files and perform operations at a time by referring to the official README installation. The names of the four files are as follows:

  • CollabNetSubversion-client-1.7.5-1.x86_64.rpm
  • CollabNetSubversion-extras-1.7.5-1.x86_64.rpm
  • CollabNetSubversion-server-1.7.5-1.x86_64.rpm
  • RPM-GPG-KEY-csvn.asc

Here, I will share two articles on the installation procedure and the configuration and installation of CollabNetSubversion Linux server. The address is as follows:

Http://www.linuxidc.com/Linux/2012-06/63594.htm and http://www.linuxidc.com/Linux/2012-06/63595.htm

After the service is configured, it can be accessed normally. Generally, the most common configuration is to configure user permissions, which are usually used for different directories (also called different paths) the permissions assigned to different users are also different. The SVN permission configuration is in the/etc/opt/CollabNet_Subversion/conf/directory, which contains the corresponding configuration file, what is commonly used in my personal experience?Svn_access_fileThis file is configured with the specific permissions of the user corresponding to the repository. Generally, you can modify this file. Configuration of this file in windows visual SVN Server graphical interface configuration the last generatedAuthzThe file configuration is basically the same. You can configure user groups and user permissions for different repositories and files. Here we will not describe the specific configuration of the file. If you are interested, you can check google.

Finally, I will share some common configurations:

  • Restart service command:/etc/init. d/collabnet_subversion restart
  • Add User: htpasswd/etc/opt/CollabNet_Subversion/conf/svn_auth_file 'username'

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.