# wget http://subversion.tigris.org/downloads/subversion-1.6.17.tar.gz
# tar zxvf subversion-1.6.17.tar.gz
# wget http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz
# tar zxvf sqlite-amalgamation-3.6.13.tar.gz
#yum -y install zlib-devel curl-devel openssl-devel apr-devel apr-util-devel
# mkdir -p subversion-1.6.17/sqlite-amalgamation
# cp -r sqlite-3.6.13/sqlite3.c subversion-1.6.17/sqlite-amalgamation/
# cd subversion-1.6.17
# ./configure -prefix=/usr/local/svn --with-zlib=/usr/bin --with-apxs=/usr/local/apache2/bin/apxs --without-berkeley-db
# make
# make install
# mkdir /home/svn
# cd /home/svn
# svnadmin create --fs-type fsfs <프로젝트명>
# vi /home/svn/<프로젝트명>/conf/svnserve.conf
—————————————————————————————————————————————————————————
[general]
anon-access=none
auth-access=write
password-db=passwd
authz-db=authz
realm=Test Repository
—————————————————————————————————————————————————————————
# vi /home/svn/<프로젝트명>/conf/passwd
—————————————————————————————————————————————————————————
[users]
admin = admin
—————————————————————————————————————————————————————————
# vi /home/svn/<프로젝트명>/conf/authz
—————————————————————————————————————————————————————————
#[groups]
# harry_and_sally = harry,sally
[<프로젝트명>:/]
admin = rw
—————————————————————————————————————————————————————————
# svnserve -d -r /home/svn --listen-port 3690
# vi /etc/rc.d/init.d/subversion
—————————————————————————————————————————————————————————
OPTIONS="--threads --root /home/svn"
—————————————————————————————————————————————————————————
# export SVN_EDITOR=/usr/bin/vim
#svn mkdir svn://<아이피혹은도메인>/<프로젝트명>/trunk
(☞ 여기서 :q! 입력 → 엔터)
Log message unchanged or not specified
a)bort, c)ontinue, e)dit
(☞ 여기서 c 입력 → 엔터)
#svn mkdir svn://<아이피혹은도메인>/<프로젝트명>/branches
#svn mkdir svn://<아이피혹은도메인>/<프로젝트명>/tags
#svn list svn://<아이피혹은도메인>/<프로젝트명>
* Store password unencrypted (yes/no)? <예>
& svnserve 재시작
# killall -9 svnserve
# svnserve -d -r /home/svn --listen-port 3690
SSL 무료 인증서 (0) | 2023.11.29 |
---|---|
[CentOS] Redis 설치 및 설정 (0) | 2022.12.03 |
Ncloud - Storage mount (1) | 2022.11.30 |
goofys mount (0) | 2022.11.26 |
서버 모니터링 명령어 (0) | 2022.07.01 |