To install the SVN server in Centos, perform the following operations to ensure network connectivity. otherwise, download the installation package of apache and svn and decompress it. install apacheyuminstallhttpd2. install svnyuminstallsubversionyuminstallmod_dav_sv... to install the SVN server in Centos, perform the following operations to ensure network connectivity. otherwise, download the installation package of apache and svn and decompress it. install apache yum install httpd2. install svn yum install subversion yum install mod_dav_svn3. create the SVN repository mkdir/home/svn4. create the version Library svnadmin create/home/SVN/xyz in the svn repository Directory (version Library name: xyz) 5. create a user and password in the/home/svn/xyz/conf Directory. enter "htpasswd-c passwd xiao" to create the user password for the first time. add "-c" parameter 6. set the permission to edit the authz file and set the group's read and write permissions 7. modify svnserver. conf 8. start the SVN service svnserve-d -- listen-port 3690-r/home/svn/xyz9. open port 3690 in the firewall and enter/etc/sysconfig. modify the iptables file and add the following: -A RH-Firewall-1-INPUT-m state -- state NEW-m tcp-p tcp -- dport 3690-j ACCEPT10. modify apache to ensure that http can access/etc/httpd/conf. d/subversion. add the following to the conf file: LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so DAV svn SVNParentPath/home/svn/xyzAuthType Basic AuthName "Authorization Realm" AuthUserFile/home/svn/xyz/conf/passwd AuthzSVNAccessFile/home/svn/xyz/conf/authz Require ID- user11. apache owns chown-R apache: apache/home/SVN/xyz12in the directory under svn configuration. set chkconfig httpd on13. set svn startup (1) write/usr/local/customshell/svn. sh, the content is svnserve-d -- listen-port 3690-r/home/svn/xyz (2 ). vim/etc/rc. d/rc. add/usr/local/customshell/svn. sh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.