New SVN project under Linux

Source: Internet
Author: User

1. New Project
Svnadmin Create/mnt/fbdisk/svn/newproject

2. The NewProject directory will be created under SVN
Total 24
Drwxr-xr-x 2 root root 4096 APR 3 14:05 conf
Drwxr-sr-x 6 root root 4096 APR 2 22:49 db
-r--r--r--1 root root 2 Apr 2 22:49 format
Drwxr-xr-x 2 root root 4096 Apr 2 22:49 Hooks
Drwxr-xr-x 2 root root 4096 Apr 2 22:49 Locks
-rw-r--r--1 root root 229 Apr 2 22:49 README.txt

3. Enter the Conf directory
[email protected] conf]# LL
Total 12
-rw-r--r--1 root root 1119 Apr 3 14:02 Authz Configure access rights
-rw-r--r--1 root root 355 Apr 2 22:56 passwd configuration password
-rw-r--r--1 root root 3068 Apr 3 14:05 svnserve.conf Configure SVN service

Modify the svnserver.conf, as follows
[email protected] conf]# cat svnserve.conf |grep-v ^#|grep-v ^$
[General]
Anon-access = None
auth-access = Write
Password-db = passwd
Authz-db = Authz
Realm = Feiben
[SASL]

Modify passwd Add account password, the corresponding relationship is the account password, the equal sign can not have spaces, an account corresponding to a row
[email protected] conf]# cat passwd |grep-v ^#|grep-v ^$
[Users]
Admin=error#[email protected]#
Jinshan=error#[email protected]#

Modify Authz,
[email protected] conf]# cat Authz |grep-v ^#|grep-v ^$
[Aliases]
[Groups]
admin = Admin,jinshan Add Group member
[/]
@admin = Rwadmin Group member has read and write access

4. Close and start
[Email protected] conf]# Ps-ef |grep SVN
Root 22086 1 0 14:06? 00:00:00 svnserve-d-r/mnt/fbdisk/svn/
Root 22128 22012 0 14:15 pts/0 00:00:00 grep--color=auto svn
[[email protected] conf]# kill-9 22086 Close
[[email protected] conf]# svnserve-d-r/mnt/fbdisk/svn/start

New SVN project under 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.