centosでsvnをインストールして構成


1.    svnサービスのインストール
    :
yum install subversion

           
    :
subversion -v

2.    インストールが完了したらSVNライブラリを作成します.
  /opt/svn/repos    svn   

mkdir /opt/svn/repos
svnadmin create /opt/svn/repos          ,   repos       ,    conf, db,format,hooks, locks, README.txt.
3.    svnの構成
          conf ,    ,   
       authz, passwd, svnserve.conf
      authz      ,                ,   
    passwd         ,    
    svnserve   svn     

3.1      [users]
# harry = harryssecret
# sally = sallyssecret
hello=123
   =           hello  , 123    
3.2     authz  
[/] 
hello= rw
   hello             ,       。       ,       。
3.3     snvserv.conf

anon-access = none #           
auth-access = write #          
password-db = password 
authz-db = authz   #       
realm = /opt/svn/repos #       ,subversion         ,            。
      .           ,        ,      .

4.サービスを開始し、接続する
4.1      (     :3690):
svnserve -d -r /opt/svn/repos

     svn   ,         
svnserve -d -r /opt/svn/repos --listen-port 3391                svnserver

4.2      
    TortoiseSVN,      : svn://your server address (                )


  :            ;