In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Installation instructions
System environment: CentOS7.2
# check whether SVN is installed
Rpm-qa subversion
one。 Install SVN
Yum-y install subversion
1. Verify the installation
Verify the installed SVN version information
Svnserve-version
2. Code base creation
After the SVN software installation is completed, the SVN library needs to be established.
Mkdir-p / svn/www/
Svnadmin create / svn/www//test
After executing the above command, automatically establish the svndata library, check the / svn/www/test folder and find that it contains conf, db,format,hooks, locks, README.txt and other files, indicating that a SVN library has been established.
3. Configure the code base
Go to the folder conf generated above and configure it
Cd / svn/www/test/conf
User password passwd configuration
Vim passwd
Modify the passwd to the following:
[users]
# harry = harryssecret
# sally = sallyssecret
Zyy=123456
Permission control authz configuration
Vim authz
The goal is to set which users can access which directories and append the following to the authz file:
# setting [/] represents all resources in the root directory
[/]
Cqh=rw
Service svnserve.conf configuration
Vim svnserve.conf
Add the following:
[general]
# Anonymous access permission, which can be read,write,none. Default is read.
Anon-access=none
# make authorized users have write permission
Auth-access=write
# path to password database
Password-db=passwd
# access Control File
Authz-db=authz
# Authentication namespace, subversion will be displayed in the authentication prompt and will be used as the keyword for the credential cache
Realm = This Is A Repository
4. Start SVN
Svnserve-d-r / svn/www/
5. View the SVN process
[root@log ~] # ps-ef | grep svn
Root 17742 17609 0 11:21 pts/0 00:00:00 grep-color=auto svn
Root 20744 September 29-00:00:00 svnserve-d-r / svn/www/
6. Detect the SVN port
[root@log ~] # netstat-antlp | grep svnserve
Tcp 0 0 0.0.0. 0 3690 0.0.0. 0. 0. 0.
7. Testing
The SVN service has been started, using the client to test the connection.
Client connection address: svn://192.168.110.247/test
Username / password: zyy/123456
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.