Linux SVN build

Source: Internet
Author: User

1, installation #yum install Subversion2, view version # Svnserve--version3, build svn repository #mkdir-p/opt/svn/repos#svnadmin create/opt/svn/ Repos executes the above command, automatically set up multiple files under Repos, respectively conf, db,format,hooks, locks, README.txt. 4, configuration into the above generated folder conf, configuration, there are several files Authz, passwd, svnserve.conf
Where Authz is the permission control, you can set which users can access which directories, passwd is to set the user and password, Svnserve is to set the SVN-related Operations 4.1 first set passwd [users] # Harry = Harry Ssecret
# sally = Sallyssecret
Hello=123
User Name = password 4.2 Set permissions again Authz
[/]hello= rw means that Hello users have read and write access to all directories and, of course, can limit
[Groups]
Develop = Pan,hellodesign = Test[/trunk] @develop = rw*= Set group permissions
4.3 final setting snvserv.conf anon-access = None # makes unauthorized users inaccessible auth-access = Write # gives authorized users Write permission
password-db = password
authz-db = authz # access Control file
Realm =/opt/svn/repos # authentication namespace, Subversion will be displayed in the authentication prompt, and as the credential cache keyword 5, link start svn:svnserve-d-t-r/opt/svn/repos If there is already SVN running, Can be run on a different port
svnserve-d-r/opt/svn/repos--listen-port 3391 Check out SVN co file:///opt/svn/repos//home/test1/Export (none. svn) SVN export SVN://19 2.168.1.198:3391/home/test4 import file svn import/opt/lampp/htdocs/zhijianew/config/svn://192.168.1.198:3391/trunk-m " New "View SVN process PS aux|grep svnserve Check whether svn rpm-qa Subversion uninstall Yum Remove Subversion action Add File svn add AAA.P HP Submit file svn ci-m "comment" aaa.php update file svn up delete file svn delete aaa.php-m "comment" vs. base file Compare svn diff aaa.php View Logs SVN log aaa.php

Linux SVN build

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.