Build the Linux svn service and build the linuxsvn Service

Source: Internet
Author: User

Build the Linux svn service and build the linuxsvn Service
1. Install svn in yumYum-y install subversion2. view the installed svn versionSvnserve -- version3. Create a code library1. create a directory named mkdir-p/home/test2. create the version library svnadmin create/home/test and execute the preceding command to automatically create the test database, check the/home/test folder and find that files such as conf, db, format, hooks, locks, and README.txt are included. This indicates that a SVN library has been created.4. Configure the code libraryGo to the conf directory of the code library created above. 1. configure vim passwd file suvan = 123456 username = PASSWORD 2. permission authz configuration vim authz file is added with two lines after the file [/] # indicates all resources under the root directory suvan = rw # role created in the previous step = read and write permissions 3. svn service configuration vim svnserve. anon-access = none # anonymous access permission added to conf under [general], which can be read, write, none, the default value is read auth-access = write # grant the authorized user the write permission. password-db = passwd # password Database path authz-db = authz # access control file realm =/home/test # authentication namespace, the subversion is displayed in the authentication prompt and serves as the key word cached by the credential.5. Start the svn ServiceSvnserve-d-r/home/test configuration is complete. Start to test the svn address on a windows client. Enter svn: // ip address/version library address.Ps: to facilitate management, it is best to create folders under a unified directory, create version libraries with svnadmin create, and then follow the above configurations respectively, finally, start the svn service in the upper-layer folder.

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.