$ sudo apt-get install subversion
$ sudo svnadmin create --fs-type fsfs /var/lib/subversion
$ sudo vi /var/lib/subversion/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = passwd
$ sudo vi /var/lib/subversion/conf/passwd
[users]
<id> = <password>
$ sudo svnserve -d -r /var/lib/subversion --listen-port 443
$ sudo vi /etc/rc.local
# Subversion
svnserve -d -r /var/lib/subversion --listen-port 443
$ svn mkdir --parents svn://localhost/public/trunk --username <id>
$ svn mkdir --parents svn://localhost/public/branches --username <id>
$ svn mkdir --parents svn://localhost/public/tags --username <id>
* Subversion 종료
killall svnserve
* SVN 접속확인
svn://<ip>
* start svn subversion on OS starts
$ cd /etc/init.d
$ sudo vi svnserve
svnserve -d -r /var/lib/subversion
chmod a+x ./svnserve
$ sudo update-rc.d svnserve defaults
댓글 없음:
댓글 쓰기