init script 생성후, 링크 걸어줌.
sudo ln -s /etc/init.d/svnserve ./S99svnserve
- 에디터설정
.bashrc 에 아래 라인 추가
export SVN_EDITOR=vim
- 저장소 생성
svnadmin create vlc_player --fs-type fsfs
- 암호 설정
vi /home/svn/vlc_player/conf/passwd
[user]
poplinux = !poplinux
- 설정
vi /home/svn/vlc_player/svnserve.conf
uncomment below line
auth-access = write
uncomment below line
password-db = passwd
- 저장소 디렉토리 생성
svn mkdir svn://svn/vlc_player/trunk
svn mkdir svn://svn/vlc_player/branches
svn mkdir svn://svn/vlc_player/tag
위와 같이 저장소 디렉토리 생성하면, 아래와 같이 'yes', 'no' 를 선택하라는 메시지가 뜨는데, 아무리 해도 입력이 안되는 경우가 있다.
'xxxxx'의 암호:
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
<svn://xxx.xxx.xxx.xxx:3690> xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx
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
'/home/xxxxx/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)?
이럴때는 아래와 같이 설정 파일을 수정하면 된다.
./subversion/servers 파일에서
[global]
store-passwords = yes
store-plaintext-passwords = yes
- 최초 데이터 올리기
svn import [data] svn://svn/vlc_player/trunk
- 바이너리 파일도 등록하기
--no-ignore 옵션 사용하면 됨.
- svn 정보 없이 데이터 내려 받기
svn export svn://svn/vlc_player/trunk ./test
'linux' 카테고리의 다른 글
X window programming site (0) | 2011.01.10 |
---|---|
VLC player (0) | 2011.01.04 |
vplay (0) | 2010.10.08 |
오디오 코덱 드라이버 개발할 때 업무 순서 (0) | 2010.10.08 |
WM8731 driver (0) | 2010.10.08 |