jinfeng_wang

          G-G-S,D-D-U!

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks
          1) install svn server:  yum install subversion

          2) install  dav mod :  yum install mod_dav_svn

          3) create the svn dir
          $ mkdir /home/svn
          $ cd /home/svn
          $ mkdir myproject
          $ chown -R root:subversion myproject
          $ chmod -R g+rws myproject

          4) create the respository
          $ svnadmin create /home/svn/myproject

          5) config the WebDAV protocals for web access the svn server:
              a)edit the file of /etc/httpd/conf.d/subversion.conf", and add the following code:
          <Location /svn>DAV svn
          SVNPath /home/svn 
          AuthType Basic AuthName "myproject subversion repository" AuthUserFile /etc/subversion/passwd <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location>
             b)restart apache :   /etc/init.d/apache2 restart
             c)create the pass file, and add the user:
                touch  /etc/subversion/passwd 
          htpasswd -c /etc/subversion/passwd user_name
          6) now you can use your client browser/tool to access your svn server : http://localhost/svn/myproject
           
          posted on 2009-05-19 23:49 jinfeng_wang 閱讀(452) 評論(0)  編輯  收藏 所屬分類: ZZLinux
          主站蜘蛛池模板: 堆龙德庆县| 永新县| 达尔| 徐汇区| 萝北县| 泽州县| 马关县| 化隆| 涿州市| 大兴区| 长子县| 曲阜市| 洛宁县| 宁德市| 吉安县| 平遥县| 井陉县| 靖远县| 犍为县| 定南县| 道真| 凤庆县| 天长市| 平山县| 田林县| 汨罗市| 密云县| 偃师市| 镇康县| 孙吴县| 峨眉山市| 和龙市| 廉江市| 高雄市| 庆元县| 凤凰县| 岑巩县| 长治市| 科技| 黎城县| 交口县|