버전 관리 때문에 AWS에 svn을 구축 중입니다.
잘 안되어서 구축 경험이 있으신 분들께 조언을 구합니다 ㅠㅠ
7. svn 설치
7-1. yum install -y subversion
7-2. mkdir /home/svn
7-2-1. useradd svn ( 폴더 만든 뒤라서 있다고 워닝뜸 )
7-2-2. passwd svn 비밀번호
7-3. cd /home/svn
7-4. svnadmin create --fs-type fsfs repos
7-5. chmod -R g+w repos
7-6. 서비스 등록
echo 'OPTIONS="--threads --root /home/svn"' > /etc/sysconfig/svnserve 후에 service svnserve start/stop 가능함
7-6-1. 서비스 킬
ps -ef | grep svnserve
kill pid번호
7-6-2. 재부팅후에도 자동시작이 되게
chkconfig svnserve on
7-7. vi svnserve.conf
내용 싹다 지우고 이걸로 교체
[general]
anon-access = none
auth-access = write
# password-db = passwd
# authz-db = authz
realm = AWS_VER_DEMO
# force-username-case = none
[sasl]
use-sasl = true
# min-encryption = 0
# max-encryption = 256
7-8. saslpasswd2 -c -u AWS_VER_DEMO ver_admin
Ex) saslpasswd2 -c -u realm 사용할아이디
ver_admin = 비밀번호
7-8-1. 등록 확인
sasldblistusers2
7-9. svnserve -d -r /home/svn/ (--listen-port 23456) -------- 이미 service svnserve start로 시작함
7-10. 서버 import
svn import testadd svn://!@#!@#!@#!.compute.amazonaws.com/svn/repos
에러 결과가
[root@ip-172-31-22-65 html]# svn import /var/www/html/testdd/ svn://localhost/svn/linus_demo
Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit:
c
svn: E210005: Unable to connect to a repository at URL 'svn://localhost/svn/repos'
svn: E210005: No repository found in 'svn://localhost/svn/repos'
ㅠㅠ
시큐리티 그룹은
inbound
| 22 (SSH) |
0.0.0.0/0 |
Delete |
| 25 (SMTP) |
0.0.0.0/0 |
Delete |
| 80 (HTTP) |
0.0.0.0/0 |
Delete |
| 81 |
0.0.0.0/0 |
Delete |
| 443 (HTTPS) |
0.0.0.0/0 |
Delete |
| 3306 (MYSQL) |
0.0.0.0/0 |
Delete |
| 3690 |
0.0.0.0/0 |
Delete |
| UDP |
| Port (Service) |
Source |
Action |
| 0 - 65535 |
0.0.0.0/0 |
Delete |
outbound
| ALL |
| Port (Service) |
Destination |
Action |
| ALL |
0.0.0.0/0 |
Delete |
| TCP |
| Port (Service) |
Destination |
Action |
| 22 (SSH) |
0.0.0.0/0 |
Delete |
| 80 (HTTP) |
0.0.0.0/0 |
Delete |
| 443 (HTTPS) |
0.0.0.0/0 |
Delete |
제가 어디를 잘못한걸까요 ㅠㅠ