메뉴 건너뛰기

2015.07.17 19:24

CentOS 7 Subversion(SVN)

조회 수 7648 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

svn 설치

yum install mod_dav_svn subversion httpd


svn의 설정 변경

vi /etc/httpd/conf.modules.d/10-subversion.conf


LoadModule dav_svn_module        modules/mod_dav_svn.so

LoadModule authz_svn_module     modules/mod_authz_svn.so  

LoadModule dontdothat_module   modules/mod_bontdothat.so


## Add the following lines ##


<Location /svn>

DAV svn

SVNParentPath /var/www/mysvn

AuthType Basic

AuthName "Subversion repositories"

AuthUserFile /etc/svn-auth-users

Require valid-user

</Location>


svn 사용자 생성

htpasswd -cm /etc/svn-auth-users svnuser

New password: 새로운 패스워드 입력

Re-type new password: 다시 입력

Addin password for user svnuser


svn repository 생성과 설정

mkdir /var/www/mysvn

cd /var/www/mysvn

svnadmin create repo

chown -R apache.apache repo


http, https 방화벽 설정

firewall-cmd --permanent --zone=public --add-service=http

firewall-cmd --permanent --zone=public --add-service=https

firewall-cmd --reload


http service 실행

systemctl enable http.service

systemctl start http.service


conf/svnserve.conf 설정

anon-access = none

auth-access = authz


trunk, branches, tags를 repo 밑에 생성

mkdir -p /tmp/svn-structure-template/{trunk,branches,tags}

svn import -m "Initial repository" /tmp/svn-structure-template file:///var/www/mysvn/repo/


원하는 svn을 checkout 받기

svn co 저장소 주소(내가 받을 곳) 로컬주소(받아올 곳) 을 입력



List of Articles
번호 제목 날짜 조회 수
37 CentOS 7 에 아파치(httpd) 설치 2015.07.16 10302
36 CentOS 7 에 php 설치하기 2015.07.16 7663
35 centos 7 계정추가 2015.07.16 8598
» CentOS 7 Subversion(SVN) 2015.07.17 7648
33 CentOS 7 FTP Server 설치 2015.07.17 7698
32 centos 7 APM 최신버전 설치 ( mariadb 10.4 / apache 2.4.39 / php 7.3.8 ) file 2024.02.07 44
31 CentOS 5.1 + APM(apache 2.2.x + php 5.2.x + mysql5.0.x + Zend 3.0.x) 설치 2016.03.18 8686
30 centos 4.x 데몬 2014.02.27 6875
29 CentOS 32Bit 운영체제에서 메모리 4G인식 시키는 방법 2014.02.27 7103
28 cdrom 마운트 하기 2014.03.26 7102
27 bitnami Redmine stack 업그레이드기 (1.2.x -> 2.0.x) 2017.07.05 6835
26 bind , 네임서버 구축 ( CentOS 6.x) file 2016.04.22 7089
25 bash 스크립트에서 네트워크 정보 확인하기 2014.02.27 14276
24 APM 소스 설치 2014.02.27 7735
23 APM 소스 설치 2014.02.27 8068
22 apache에서 전송 속도 제한하기 2014.02.27 6940
21 apachec rewrite 사용하기 // www 강제 사용 // HTTP to HTTPS // 특정경로만 HTTP 2016.12.30 7081
20 apache2 트래픽 모듈 mod_cband 사용법 2019.02.14 1129
19 APACHE, OHS 400 웹로직 연동후 특정 작업에 400 error 2016.12.30 8645
18 apache, mod_ssl 설치 (apache 1.3.37버전) 2014.02.27 7667
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved