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 > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
How to build SVN multi-version library environment, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
I.
1. Start SVN
Sudo svnserve-d-r / home/data/svn/
Where-d means daemon and-r means execution in the background
/ home/data/svn/ is the installation directory of svn
2. Close SVN
It is handled in the way that linux kills the process.
Ps-ef | grep svnserve
Root 4967 1 0 Aug23? 00:00:00 svnserve-d-r repository/
Here kill-9 4967 kills the process, and this 4967 is the process number
II.
1. Determination of server
2. Determination of configuration management tools (SVN)
3. Create the root directory of the version library. As shown in the following figure, there are project1 and project2 libraries under the svnroot root directory.
4. Create the first project project1. Command: svnadmin create E:\ svnroot\ project1
5. Create a second project project2, command: svnadmin create E:\ svnroot\ project2
6. For ease of management, set the passwords and permissions of all version libraries under the same file, as follows:
6.1 retrieve the authz and passwd files under the conf folder under project1 and put them under the svnroot root directory
6.2 modify the svnserve.conf file under the conf folder of each version library directory to set the
# anon-access = read
# auth-access = write
# password-db = passwd
# authz-db = authz
Modified to:
Anon-access = none
Auth-access= write
Password-db =.. /.. / passwd
Authz-db =.. /.. / authz
(password-db =.. /.. / passwd,authz-db =.. /.. / authz represents a relative path rather than an absolute path)
7. Define several roles for testing
7.1Configurator (svnadmin) to manage the entire library
7.2 Project Manager (manage) to manage related documents
7.3 developer (dev) to test whether the development is normal or not
8. Add roles below
Open the passwd file in the svnroot directory and create it by adding username = passwd under [user]. Remember the space before and after "=", as shown below: (svnadmin controls all projects and manages them uniformly)
9. Assign permissions to roles: suppose (quxin is the project manager of project1, huzhixin is the project manager of project2, dev1 and dev2 are developers of project1, dev3 and dev4 are developers of project2, test1 is the tester of project1, and test2 is the tester of project2)
The library directory and specific permissions are shown below:
Library directory permissions grouping:
Specific permissions: (under the root directory, svnadmin has all permissions, others only have read permissions, and subdirectory permissions should be set.
You need to set the permissions of the parent of the subdirectory. Set individual file permissions as follows:)
Start the SVN service, either in the dos command or install the SVN service in the service management
Start the service in the DOS command: svnserve-d-r E:\ svnroot
If the service is installed in service management, simply download a SVNService.exe file, put it in the bin folder of the subversion installation directory, and then run it in the dos command
The operation method is as follows: SVNService-install-d-rE:\ svnroot
10. Install the client, connect the server to the library you want to access, if you access project1:svn://172.16.26.28/project1, access project2 in the same way, and so on to more version library projects.
11. Tools
SVN server side: Subversion 1.5
Client: TrotoiseSVN 1.5
12. Download address: www.iusesvn.com, you need to register to download the relevant version of the tool.
13. Definition of related roles
Configure the administrator CM:
The entire configuration management library is managed by the configuration administrator. The configuration administrator is responsible for assigning and modifying permissions for other members and maintaining all directories and configuration items.
Project Manager:
In this project, the development manager is responsible for leading the completion of the requirements analysis and the overall system design, and is responsible for the overall progress of the project. The development manager has access to management documents and can read and write project documents.
Development team Leader:
The development team leader is responsible for organizing and managing the work of the team. At the same time, the development team leader also needs to undertake certain development tasks. The development team leader has read access to management documents, read access to the modules responsible for this group, and read and write permissions to the modules they are responsible for.
Development engineer:
The development engineer completes the specific development tasks, has read and write access to the module directory he is responsible for, and has read access to the management class documents.
Test team Leader:
The test team leader is responsible for organizing the test, giving the test plan and test plan, and approving the test report. The test team leader has read access to all directories and read and write access to the test directory
Test engineer:
The test engineer is responsible for completing the test work, including test case development and test execution, and test report writing. The test engineer has read access to the module he is responsible for and read and write access to the test case catalog.
QA engineer:
QA engineers have read access to all directories and read and write access to the QA class document directory.
Senior Manager:
The senior manager is responsible for the coordination of departments and projects. Read and write access to the department common library PUB, and read access to each project.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.