Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Svn3.0 version revised version

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. First check whether subversion is installed on the operating system

Rpm-qa subversion

two。 Install subversion

Yum-y install subversion

3. Specify the data storage path for svn

Mkdir-p / usr/local/svn/data

4. Specify the profile information path for svn

Mkdir-p / usr/local/svn/configure

5. Start the svn service

Svnserve-d-r / usr/local/svn/data/

6. Create a zhibo version library

Svnadmin create / usr/local/svn/data/zhibo

Svnadmin create / usr/local/svn/data/wangzhan

7. Go to the zhibo version library configuration directory and back up the configuration file

Cd / usr/local/svn/data/zhibo/conf/

Cp svnserve.conf / usr/local/svn/configure

8. Copy passwd and authz files to zhibo's svnpasswd directory and modify permissions

Cp-p authz passwd / usr/local/svn/configure/

Cd / usr/local/svn/configure/

Chmod 700 authz passwd

9. Modify svnserve.conf configuration file

Vim svnserve.conf

[general]

Anon-access = none / / Anonymous access is prohibited

Auth-access = write / / read permission after authentication

Password-db = / usr/local/svn/configure/passwd / / specify password file

Authz-db = / usr/local/svn/configure/authz / / specify permission authentication file

10. Create a user for the Svn version library and grant access to the specified project version library

Vim passwd

Wang = wang

Vim authz

[/]

Wang = rw:

11. Restart the svn service to verify

Pkill svnserve

Svnserve-d-r / usr/local/svn/data-- config-file=/usr/local/svn/configure/svnserve.conf

12.svn start script, give permission

Vim / root/svnstart.sh

#! / bin/bash

/ usr/bin/svnserve-d-r / usr/local/svn/data-- config-file=/usr/local/svn/configure/svnserve.conf

Chmod axix svnstart.sh

13. Join the boot self-boot

Vi / etc/rc.d/rc.local

/ root/svnstart.sh

14. Offline linux server turns off firewall

Service iptables stop

Chkconfig iptables off

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report