Chinaunix首页 | 论坛 | 博客
  • 博客访问: 201995
  • 博文数量: 33
  • 博客积分: 995
  • 博客等级: 准尉
  • 技术积分: 335
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-13 21:36
文章分类

全部博文(33)

文章存档

2014年(9)

2011年(1)

2010年(2)

2009年(7)

2008年(8)

2007年(3)

2006年(3)

我的朋友

分类: LINUX

2009-11-12 11:10:25

subversion.conf
 
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
#
# Example configuration to enable HTTP access for a directory
# containing Subversion repositories, "/var/www/svn".  Each repository
# must be readable and writable by the 'apache' user.  Note that if
# SELinux is enabled, the repositories must be labelled with a context
# which httpd can write to; this will happen by default for
# directories created in /var/ Use "restorecon -R /var/www/svn"
# to label the repositories if upgrading from a previous release.
#
#
# To create a new repository "" using
# this configuration, run as root:
#
#   # cd /var/www/svn
#   # svnadmin create stuff
#   # chown -R apache.apache stuff
#

    ServerAdmin
    DocumentRoot /home/svn/
    ServerName svn.vidanetwork.net
    ErrorLog logs/svn.vidanetwork.net-error_log
    CustomLog logs/svn.vidanetwork.net-access_log common
  
      DAV svn
      SVNParentPath /home/svn/repos
      # Limit write permission to list of valid users.
      #
         # Require SSL connection for password protection.
         # SSLRequireSSL
         AuthType Basic
         AuthName "Vidanetwork Inc."
         AuthUserFile /home/svn/svnpasswd
         Require valid-user
      #
  

 
readme.txt
 
htpasswd -m svnpasswd username
check out the project with super user
# cd /home/dev4/html
# svn co .......
# chown -R dev4:dev4 IG
#
 
create project
cd /home/svn/repos
svnadmin create projectname
chown -R apache.apache projectname
cd /tmp
mkdir projectname
cd projectname
mkdir trunk tags branches
cd ..
svn import projectname -m "create vmanager project."
阅读(628) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~