'subversion'에 해당하는 글 1건

Subversion 설치 

yum install subversion

Repository 생성

mkdir /home/svn
cd /home/svn
svnadmin create --fs-type fsfs phpcode
chmod -R g+w phpcode

SVN 서버 설정

cd /home/svn/phpcode/conf/
vi svnserve.conf
anon-access = none
auth-access = write
password-db = passwd
realm = phpcode by guk

vi passwd
xxx = xxxxxxxxx

vi authz
xxx = rw

SVN 서버 시작

svnserve -d -r /home/svn

SVN 체크아웃

다른쪽 서버에서 진행함.
svn co svn://x.x.x.x/phpcode
Authentication realm: <svn://x.x.x.x:3690> phpcode by guk
Password for 'root':
Authentication realm: <svn://x.x.x.x:3690> phpcode by guk
Username: xxx
Password for 'xxx':

ATTENTION! Your password for authentication realm:

<svn://x.x.x.x:3690> phpcode by guk

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
Store password unencrypted (yes/no)? yes
Checked out revision 0.

export SVN_EDITOR=/usr/bin/vim
svn mkdir svn://x.x.x.x/phpcode/trunk
svn mkdir svn://x.x.x.x/phpcode/branches
svn mkdir svn://x.x.x.x/phpcode/tags

기본 폴더 생성확인

svn list svn://x.x.x.x/phpcode


유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.