jinfeng_wang

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

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks

          公告

          歡迎交流鏈接,給我留言

          常用鏈接

          留言簿(40)

          隨筆分類(592)

          隨筆檔案(400)

          Domestic

          Foreign

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          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 閱讀(447) 評論(0)  編輯  收藏 所屬分類: ZZ 、Linux
          主站蜘蛛池模板: 利川市| 忻州市| 六枝特区| 洞口县| 荆门市| 铜川市| 习水县| 额敏县| 方城县| 巴东县| 和龙市| 石狮市| 儋州市| 台东县| 香港| 崇阳县| 长乐市| 肥东县| 南召县| 徐州市| 虞城县| 石家庄市| 抚顺县| 崇信县| 广汉市| 景德镇市| 离岛区| 大理市| 永嘉县| 武威市| 泉州市| 琼海市| 图片| 玉山县| 沐川县| 拉萨市| 三河市| 江源县| 醴陵市| 台山市| 怀集县|