[우분투 SVN 설치]

 apt-get으로 설치

  1. subversion 설치 apt-get install subversion
  2. SVN용 linux 계정 생성 adduser svn
  3. 저장소 생성
    svnadmin create --fs-type fsfs [path]
  4. SVN 설정 - nano /home/svn/repos/conf/svnserve.conf
    주석해제
    [general]
    anon-access = read
    auth-access = write
    password-db = passwd
  5. svn 계정 관리 nano /home/svn/repos/conf/passwd
    [users]
    계졍명=비밀번호
    ex) user=1234
  6. 설정파일 권한 설정
    chown -R svn:svn /home/svn/repos/
  7. svn 서버 실행 svnserve -d -r [path] ex) svnserve -d -r /home/svn/repos
  8. trunk, branches, tags 생성
    svn mkdir --parents snv://localhost/repos/[trunk/branches/tags] --username=user

 부팅시 Subversion 데몬 자동 실행

  1. sudo nano /etc/rc.local
  2. 추가 - svnserve -d -r /home/svn/repos/
  3. 적용 source /etc/rc.local

 

 

 

 

 

 

 

 

 



+ Recent posts