메뉴 건너뛰기

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 저장소 주소(내가 받을 곳) 로컬주소(받아올 곳) 을 입력



  1. No Image

    CentOS 7 에 아파치(httpd) 설치

    Date2015.07.16 Views10302
    Read More
  2. No Image

    CentOS 7 에 php 설치하기

    Date2015.07.16 Views7663
    Read More
  3. No Image

    centos 7 계정추가

    Date2015.07.16 Views8598
    Read More
  4. No Image

    CentOS 7 Subversion(SVN)

    Date2015.07.17 Views7648
    Read More
  5. No Image

    CentOS 7 FTP Server 설치

    Date2015.07.17 Views7701
    Read More
  6. centos 7 APM 최신버전 설치 ( mariadb 10.4 / apache 2.4.39 / php 7.3.8 )

    Date2024.02.07 Views46
    Read More
  7. No Image

    CentOS 5.1 + APM(apache 2.2.x + php 5.2.x + mysql5.0.x + Zend 3.0.x) 설치

    Date2016.03.18 Views8686
    Read More
  8. No Image

    centos 4.x 데몬

    Date2014.02.27 Views6875
    Read More
  9. No Image

    CentOS 32Bit 운영체제에서 메모리 4G인식 시키는 방법

    Date2014.02.27 Views7103
    Read More
  10. No Image

    cdrom 마운트 하기

    Date2014.03.26 Views7102
    Read More
  11. No Image

    bitnami Redmine stack 업그레이드기 (1.2.x -> 2.0.x)

    Date2017.07.05 Views6835
    Read More
  12. bind , 네임서버 구축 ( CentOS 6.x)

    Date2016.04.22 Views7089
    Read More
  13. No Image

    bash 스크립트에서 네트워크 정보 확인하기

    Date2014.02.27 Views14276
    Read More
  14. No Image

    APM 소스 설치

    Date2014.02.27 Views7735
    Read More
  15. No Image

    APM 소스 설치

    Date2014.02.27 Views8068
    Read More
  16. No Image

    apache에서 전송 속도 제한하기

    Date2014.02.27 Views6940
    Read More
  17. No Image

    apachec rewrite 사용하기 // www 강제 사용 // HTTP to HTTPS // 특정경로만 HTTP

    Date2016.12.30 Views7081
    Read More
  18. No Image

    apache2 트래픽 모듈 mod_cband 사용법

    Date2019.02.14 Views1129
    Read More
  19. No Image

    APACHE, OHS 400 웹로직 연동후 특정 작업에 400 error

    Date2016.12.30 Views8645
    Read More
  20. No Image

    apache, mod_ssl 설치 (apache 1.3.37버전)

    Date2014.02.27 Views7667
    Read More
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 Next
/ 12

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved