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 閱讀(445) 評論(0)  編輯  收藏 所屬分類: ZZLinux
          主站蜘蛛池模板: 南靖县| 昌平区| 堆龙德庆县| 贵溪市| 张家界市| 即墨市| 香港 | 绥中县| 乌拉特中旗| 昌都县| 苍梧县| 淮滨县| 双城市| 滦平县| 尖扎县| 茂名市| 通化县| 麦盖提县| 湛江市| 肇东市| 芒康县| 平顶山市| 长治市| 南木林县| 库伦旗| 西宁市| 明星| 东阳市| 汤阴县| 织金县| 德昌县| 城固县| 敖汉旗| 和平区| 房产| 荔波县| 高要市| 长宁区| 敖汉旗| 赤水市| 鹤壁市|