1. SVN 설치
[root@linux ~]# yum install -y subversion

2. SVN 사용자 추가
[root@linux ~]# adduser svn
[root@linux ~]# passwd svn
Changing password for user svn.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

3. 저장소(Repository) 만들기
[root@linux ~]# svnadmin create --fs-type fsfs /home/svn/testRepos
[root@linux ~]# chown -R svn svn:svn /home/svn/testRepos

4. svn configuration
[root@linux ~]# vi /home/svn/testRepos/conf/svnserve.conf
---------------------------------------------------------------------------------------------
anon-access = read
auth-access = write
password-db = passwd

[root@linux ~]# vi /home/svn/testRepos/conf/passwd
---------------------------------------------------------------------------------------------
# username = password 식으로 작성
chigon = chigon

5. svn 기동
[root@linux ~]# svnserve -d -r /home/svn/

+ Recent posts