1. Install package
# yum install mod_dav_svn subversion
2. Subversion apache config,
# vi /etc/httpd/conf.d/subversion.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos>
DAV svn
SVNParentPath /var/www/svn/repos
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</LimitExcept>
</Location>
3. Configure user
# htpasswd -cm /etc/svn-auth-conf yourusername
New password:
Re-type new password:
Adding password for user yourusername
4. Configure repository
# cd /var/www/
# mkdir svn
# cd svn
# mkdir repos
# svnadmin create myproject
# chown -R apache.apache myproject
# /sbin/service httpd restart
5. Test repository
5.1 Access http://<server_name>/repos/myproject
5.2 svn co http://<server_name>/repos/myproject
6.It's conventional to have /trunk, /branches, and /tags subdirectories for each project.
# svn mkdirhttp://<server_name>/repos/myproject/trunk
# svn mkdirhttp://<server_name>/repos/myproject/branches
# svn mkdirhttp://<server_name>/repos/myproject/tags
分享到:
相关推荐
Server is a package that contains everything you need to install, configure and manage Subversion server for your team on a Windows platform. It includes Subversion, Apache and a management console
VisualSVN Server allows you to easily install and manage a fully-functional Subversion server on the Windows platform. Thanks to its robustness, unbeatable usability and unique enterprise-grade ...
CollabNet 官方提供的用于 linux 操作系统 Subversion ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
CollabNet 官方提供的用于 linux 操作系统 Subversion ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
(注意这是用于 64 位 linux 操作系统的) ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
*** 注意这是用于 64 位 linux 操作系统的 *** ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
CollabNet 官方提供的用于 linux 操作系统 Subversion ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
*** 注意这是用于 64 位 linux 操作系统的 *** ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
*** 注意这是用于 64 位 linux 操作系统的 *** ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
CollabNet 官方提供的用于 linux 操作系统 Subversion ...安装完后,需要运行 /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion 对服务器进行初始配置(例如:选择用 Apache 还是 svnserve 做服务器)
./configure --prefix=/usr/local/webserver/apache2 --enable-dav --enable-so --enable-modules=most --with-apr-util=/usr/local/apr-util make sudo make install tar xf sqlite-autoconf-3071502.tar.gz cd...
./configure --prefix=/usr/local/webserver/apache2 --enable-dav --enable-so --enable-modules=most --with-apr-util=/usr/local/apr-util make sudo make install tar xf sqlite-autoconf-3071502.tar.gz cd ...
* The stable subversion tree should not remain unstable at any time. Atomic commits aught be used to introduce code from the development version to the stable tree. At any given time a security ...
SMTP Enum, SNMP, SOCKS5, SSH (v1 and v2), Subversion, Teamspeak (TS2), Telnet, VMware-Auth, VNC and XMPP. However the module engine for new services is very easy so it won't take a long time until ...