In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to build a svn CVM? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
SVN is an open source version control system, and Subversion manages data that changes over time. The data is placed in a central data archive (repository). This archive remembers every change in the file.
In the CVM, you can manually install SVN and configure the environment. Let's introduce the building tutorial below.
1. Remotely connect to the Linux instance. Run the following command to install SVN. Yum install subversion
two。 Run the command to view the SVN version. Svnserve-version
3. Run the command to create the version library root directory. Mkdir / var/svn
4. Run the following command in turn to create a version library.
# cd / var/svn# svnadmin create / var/svn/svnrepos
5. Run the following command to view the automatically generated version library file.
# cd svnrepos# ls
6. Follow these steps to set the account password for the SVN repository:
Run the cd conf/ command. Run the vi passwd command to open the user profile. Press the I key to enter edit mode. Move the cursor to the [users] block and add the user account and password. Press ESC to exit edit mode and enter: wq to save and exit.
7. Follow these steps to set read and write permissions for the account:
Run the vi authz command to open the permissions control file. Press the I key to enter edit mode. Move the cursor to the end of the file and add the following code (where suzhan represents the account, r represents read permission, and w indicates write permission):
[/]
Suzhan=rw
Press ESC to exit edit mode and enter: wq to save and exit.
8. Follow these steps to modify the SVN service configuration.
Run vi svnserve.conf to open the SVN service configuration file. Press the I key to enter edit mode. Move the cursor to find the following configuration line, and delete the comment # and space before the line:
Anon-access = read # anonymous users can read, you can also set anon-access = none, anonymous users are not allowed to access. Set to none, you can make the log date display normally auth-access = write # authorized user can write password-db = passwd # which file to use as the account file authz-db = authz # which file to use as the permissions file realm = / var/svn/svnrepos # authentication space name, the directory where the version library is located
9. Press ESC to exit edit mode and enter: wq to save and exit.
10. Run the command to start the SVN version library. Svnserve-d-r / var/svn/
11. Run the command ps-ef | grep svn to see if the SVN service is enabled.
After reading the above, have you mastered the method of building svn CVM tutorials? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.