svn架设

安裝环境fedora 10 + apache

.
1.登入root,並進入console介面,(對了避免出太大的問題,先把selinex關掉吧)
2.yum -y install subversion
3.svnadmin create "目錄名稱"
4.修改"目錄名稱"的owner ex: chown -r apache:apache "目錄名稱" 

5.yum -y install mod_dav_svn
7.加入svn的認證使用者

$ ### First time: use -c to create the file
$ ### Use -m to use MD5 encryption of the password, which is more secure
$ htpasswd -cm /etc/svn-auth-file harry
New password: ***** 
Re-type new password: *****
Adding password for user harry
$ htpasswd /etc/svn-auth-file -m sally
New password: *******
Re-type new password: *******
Adding password for user sally
$

8.修改/etc/httpd/conf.d/subversion.conf的設定加入以下內容
<Location "目錄名稱">
  DAV svn
  SVNPath "目錄名稱"
  AuthType Basic
  AuthName "SVN Source Control"
  AuthUserFile /etc/svn-auth-file
  Require valid-user
</Location>

重新開啟http

 

Import Your Project

(assuming you’ve put your project /tiger into repository)

 svn import tiger/ http://localhost/svn/tiger/trunk -m 'initial submit'
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值