In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Linux how to build svn version management, 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.
The installation steps are as follows:
1 、 yum install subversion
2. Enter rpm-ql subversion to view the installation location, as shown below:
You can see that svn generates several binaries in the bin directory.
Type / usr/bin/svnversion-- version to view the version of svn, which means that svn is installed successfully, as shown below:
3. Create the svn version library directory
Mkdir-p / var/svn/svnrepos
4. Create a version library
Svnadmin create / var/svn/svnrepos
After executing this command, the following files are generated in the / var/svn/svnrepos directory
5. Enter the conf directory (the svn version library configuration file)
The authz file is a permission control file
Passwd is the account password file
Svnserve.conf SVN service profile
6. Set the account password
Vi passwd
Add the user and password to the [users] block, in the format: account = password, such as dan=dan
7. Set permissions
Vi authz
Add the following code at the end:
[/]
Dan=rw
Whiter
It means that the root directory of the version library, dan, has read and write access to it, and w only has read access.
8. Modify the svnserve.conf file
Vi svnserve.conf
Open the following comments:
Anon-access = read # Anonymous user readable
Auth-access = write # authorised user writable
Password-db = passwd # which file is used as the account file
Authz-db = authz # which file to use as the permissions file
Realm = / var/svn/svnrepos # authentication space name, directory where the version library is located
9. Start the svn version library
Svnserve-d-r / var/svn/svnrepos
10. Stop the svn service
Killall svnserve
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.