Use of SVN in Linux

Source: Internet
Author: User

1. Install Linux

Execute the following command, a prompt appears in the middle, select Y to

Yum Install Subversion
2. Create a repository location
Svnadmin Create/usr/java/testjenk

3. Configure the Resource library

Go to the Conf folder to configure

    • Authz #权限配置文件
    • passwd #用户名密码文件
    • Svnserve.conf #资源库配置文件
3.1 Vim svnserve.conf

Need to open the following several commands, directly remove the preceding # and the space is good

# anon-access = Read # auth-access = Write # password-db = passwd

After modification

# Configure the path of the repository information, user files, and user password files anon-access = none   # to noneauth-access = WritePassword -db = passwdauthz-db = Authz
3.2 Vim Authz

Set the permissions under the root directory, Subman the user has read and write permissions, other users do not have permissions

3.3 Vim passwd

Set the password for the Subman user

3.4 Setting up self-booting

Add the following content

Svnserve-d-r/usr/java/testjenk

The SVN process can be viewed with the following command

' SVN '

You can kill and then start the SVN process by executing the following command

Svnserve-d-r/usr/java/testjenk

Attention:

SVN repository Start-up mode, such as Svnrepo under the Testjenk and Myrepo two repositories

    • Single Version library starter svnserve-d-r/usr/java/svnrepo/testjenk
    • Multi-repository Starter svnserve-d-r/usr/java/svnrepo

The difference between these two launches is that when you start SVN, you specify the startup parameters in the command-R directory.

4. Port Open

If the SVN repository is set up on the cloud service, you need to open port 3690 in the security group for other hosts to access, and the SVN service should start.

5. Access

Connect successfully to upload or download items

Use of SVN in Linux

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.