In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to create a version library in SVN". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to create a version library by SVN"!
Apache Subversion, usually abbreviated to SVN, is an open source version control system. Subversion was developed by CollabNet Inc in 2000 and is now a project of the Apache Software Foundation. It is also part of a rich developer and user community.
Compared with RCS and CVS, SVN adopts branch management system, and its design goal is to replace CVS. Most of the free version control services on the Internet are based on Subversion.
Use the svn command to create a repository
[runoob@centos6 ~] # svnadmin create / opt/svn/runoob01 [runoob@centos6 ~] # ll / opt/svn/runoob01/total 24drwxr-xr-x 2 root root 4096 2016-08-23 16:31:06 confdrwxr-sr-x 6 root root 4096 2016-08-23 16:31:06 db-r--r--r-- 1 root root 2 2016-08-23 16:31:06 formatdrwxr-xr-x 2 root root 4096 2016-08-23 16:31:06 hooksdrwxr-xr-x 2 Root root 4096 2016-08-23 16:31:06 locks-rw-r--r-- 1 root root 229 2016-08-23 16:31:06 README.txt
Go to the / opt/svn/runoob01/conf directory to modify the default profile configuration, including svnserve.conf, passwd, authz configuration-related users and permissions.
1. Svn service profile svnserve.conf
The svn service configuration file is the file conf/svnserve.conf in the version library directory. This file consists of only one [general] configuration segment.
[general] anon-access = noneauth-access = writepassword-db = / home/svn/passwdauthz-db = / home/svn/authzrealm = tiku
2. Username password file passwd
The username password file is specified by the configuration item password-db of svnserve.conf and defaults to passwd in the conf directory. This file consists of only one [users] configuration segment.
The configuration line format of the [users] configuration segment is as follows:
< 用户名>=
< 口令>[users] admin = adminthinker = 123456
3. Permission profile
The permission profile is specified by the configuration item authz-db of svnserve.conf and defaults to authz in the conf directory. The configuration file consists of a [groups] configuration section and several version library path permission sections.
The format of the configuration line in the [groups] configuration section is as follows:
< 用户组>=
< 用户列表>The format of the segment name of the permission section of the version library path is as follows:
[
< 版本库名>:
< 路径>] [groups] g_admin = admin, Thinker [admintools: /] @ g_admin = rw* = [test:/home/thinker] thinker = rw* = r
This example uses svnserve-d-r / opt/svn to start SVN in multi-library svnserve mode, so URL:svn://192.168.0.1/runoob01
At this point, I believe you have a deeper understanding of "how to create a version library in SVN". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.