In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to build a SVN server in linux. I think it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
The installation steps are as follows:
1 、 yum install subversion
2. Enter rpm-ql subversion to view the installation location, as shown below:
We know that svn generates several binaries in the bin directory.
Enter svn-- help to see how to use svn, as shown in the figure below.
3. Create the svn version library directory
Mkdir-p / var/svn/svnrepos
4. Create a version library
Svnadmin create / var/svn/svnrepos
Turn svn off and on after the configuration is complete.
Killall svnserve
Svn is enabled:
Svnserve-d-r / var/svn/svnrepos = = this is the version library
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. Test on windows
Create a new test folder, and right-click SVN checkout under this folder as shown below (to install TortoiseSVN in advance):
Fill in the address of SVN, as shown below:
Enter the password, as shown below:
The above is how to build a SVN server in linux. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.