Apache를 소스 설치한 CentOS 5 환경에 최신 Subversion을 도입합니다.
2022-10-04 last update
5 minutes reading Yum svn CentOS Subversion 아파치전제라든지 정책이라고 할까 어른의 사정
/usr/local/apache2
WANdisco를 Yum 리포지토리에 추가
GPG-KEY 도입
wget http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco -O /etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
WANdisco의 Subversion 1.7 기반 리포지토리 추가
cat << 'EOM' > /etc/yum.repos.d/WANdisco-devel.repo
[WANdisco-devel]
name=WANdisco SVN Repo 1.7
enabled=1
baseurl=http://opensource.wandisco.com/centos/$releasever/devel/RPMS/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
EOM
Subversion 도입
yum install subversion
참고로 한 페이지 1
CentOS5.6에 Subversion1.7 설치
CentOS 5.x Subversion을 1.7.1로 업그레이드 - 쁘띠 기술 노트
WanDisco YUM Repo
Subversion의 Apache 모듈 도입
yum으로 넣은 Subversion 버전 확인
svn --version
출력 결과
svn, version 1.7.8 (r1419691)
compiled Dec 11 2012, 16:34:02
Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
Subversion 1.7.8 Apache 모듈 설치
소스 다운로드 및 확장
wget http://archive.apache.org/dist/subversion/subversion-1.7.8.tar.bz2
tar jxvf subversion-1.7.8.tar.bz2
cd subversion-1.7.8
SQLite 소스가 필요하므로 최신 버전을 다운로드하고 확장
wget http://sqlite.org/sqlite-amalgamation-3071502.zip
unzip sqlite-amalgamation-3071502.zip
mv sqlite-amalgamation-3071502 sqlite-amalgamation
configure
./configure \
--prefix=/usr \
--with-apr=/usr/local/apache2/bin/apr-1-config \
--with-apr-util=/usr/local/apache2/bin/apu-1-config \
--with-apxs=/usr/local/apache2/bin/apxs \
--with-apache-libexecdir=/usr/local/apache2/modules \
--with-berkeley-db
Apache 모듈 전용 make
make apache-mod
Apache 모듈 전용 install
make install-mods-shared
참고로 한 페이지 2
소스에서 CentOS5에 Subversion1.7.6 설치 | misty-magic.h