태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.


1. VisualSVN 설치

우선 VisualSVN 서버를 설치해야 한다. 프로그램 다운은 홈페이지에서 받으면 된다.  http://www.visualsvn.com/server/download/ 

또는



<설치화면>

설치 폴더, 소스저장 폴더, 서버 포트 설정이다. 바꾸려면 바꾸고, 귀찮다면 그냥 Next 클릭해 설치해도 된다.



2. 설정

<서버 설치 후 나오는 화면>

화면 우측 Status에 보면 'Server URL is' 다음에 주소가 보일 것이다. 그 주소가 서버 접속 주소이며, 바꾸고 싶다면 좌측의 VisualSVN Server 마우스 오른쪽 버튼 - Properties - Network 탭 에서 바꿔주면 된다.

Repositories에서는 프로젝트를 저장할 하위 폴더를 설정 할 수 있는데 Repositories 마우스 오른쪽 버튼 - Create New Repository 를 해 줘서 프로젝트 이름을 적으면 된다.

<Test 라는 폴더를 생성하는 장면>

<완료>

설치 할 때 Repositories에 설정했던 폴더에 가 보면 지금 만든 폴더가 보일 곳이다.



3. 유저 생성

유저와 그룹 생성은 상당히 쉬운 편이다. 여기서는 유저만 생성 해 보겠다.

Users 마우스 오른쪽 버튼 - Create New User에서 생성

<유저이름과 비번을 설정하면 된다>

 
<완료>


top

Trackback Address :: http://www.ssial.com/trackback/322 관련글 쓰기

  1. factory coach outlet 2011/01/30 12:16 댓글주소 | 수정/삭제 | 댓글

    それは良いアイデアです !

  2. Chanel Outlet 2011/09/17 21:35 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  3. Burberry Bags 2011/10/13 17:03 댓글주소 | 수정/삭제 | 댓글

    Oh yeah, i forgot.................... maybe add a calander so members & visitos to the site can read about upcoming rides & events.

  4. Coach Outlet Online 2011/11/15 12:45 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog ! It's very good and thank you for sharing it !

  5. abercrombie fitch Deutschland 2012/02/07 16:57 댓글주소 | 수정/삭제 | 댓글

    This was very informative. I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  6. abercrombie Deutschland 2012/02/07 16:58 댓글주소 | 수정/삭제 | 댓글

    I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

Write a comment


svn

Pragmatic Tool/SVN 2009/07/06 07:43

1.저장소 만들기
 mkdir c:\server\SVNRepository
 svnadmin create c:\server\SVNRepository
 
2. 프로젝트 만들기 : 프로젝트를 포함하고 있는 폴더에서 수행한다.
 svn import -m "메지시 추가" . file:///c:/server/SVNRepository/testSVN/trunk 

3. 서버에서 프로젝트 가져오기
 svn co file:///c:/server/SVNRepository/testSVN/trunk testSVN

4. 프로젝트 확인
 svn status 파일명   => 지역 작업본의 상태를 보여준다.
 svn status --show-updates(-u)  => 현재 작업본에서 수정된 정보를 보여준다.
 svn diff 파일명   => 저장소와의 차이를 보여준다.
 svn diff -rHEAD 파일명  => 가장 최근의 리비전과 비교한 정보를 보여준다.
 
5. 변경된 프로젝트 서버에 저장
 svn commit(ci) -m "메시지 추가"  => 파일명을 쓰지 않아도 변경된 파일만 저장소에 저장한다.
           => 버전이 낮을 경우에는 update를 먼저 수행해야 한다.
           => update를 했을때 충돌이 있을 경우에는 해결한 후에 resolved를 수행해야 한다.

6. 메시지 확인
 svn log 파일명
 svn log --verbose 파일명  => 자세한 정보를 보여준다.
 svn log -r5(리비전번호) 파일명  => 리비전 r5에 대한 정보를 보여준다.
 
7. 프로젝트 업데이트
 svn update => 저장소의 최신 내용을 가져와 현재 작업본의 파일과 병합한다.
 
8. 프로젝트 충돌해제 확인
 svn resolved 파일명
 
9. 저장소에 파일추가
 svn add 파일명 => 추가한 후에는 commit을 해주어야 한다.
 svn commit -m "추가 메시지"

10. ssh 사용
 Putty설치 : http://www.chiark.greenend.org.uk/~sgtatham/putty/에서 plink.exe를 다운 받는다.
 다운받은 파일을 c:\windows\system32폴더에 복사한다.
 echo %APPDATA% : 응용 프로그램 자료 디렉토리를 찾는다. 이 안의 Subversion 디렉토리에 있는 config파일을 연다.
10.  
 

top

Trackback Address :: http://www.ssial.com/trackback/295 관련글 쓰기

  1. Chanel Outlet 2011/09/17 21:39 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  2. Coach Outlet Online 2011/11/15 12:49 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog ! It's very good and thank you for sharing it !

  3. abercrombie fitch 2011/12/13 21:12 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  4. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  5. abercrombie fitch Deutschland 2012/02/07 16:57 댓글주소 | 수정/삭제 | 댓글

    This was very informative. I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  6. abercrombie Deutschland 2012/02/07 16:58 댓글주소 | 수정/삭제 | 댓글

    I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

Write a comment


window 환경에서 openssl을 설치하는 방법은 소스를 받아서 컴파일하는 방법과 openssl.exe , ssleay32.dll , libeay32.dll 파일을 system32에 복사하여 사용하는 2가지 입니다.


둘다 openssl을 사용하는데에는 별로 큰 영향은 없는것 같습니다.


첫번째 컴파일 방법은 다음과 같습니다.


1. Perl

http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl


MSI Microsoft Installer가 깔려있어야 합니다. 없을 경우에는 업데이트를 하시는 것 잊지 마시기 바랍니다.

2.OpenSsl 라이브러리

 http://www.openssl.org 가서 받으시면 됩니다.

우선 파일 받으신 다음에 압축을 해지하시면 됩니다.
모든 명령은 압축을 해지한 폴더에서 하셔야 합니다.

예를 들어 c:\openssl 폴더에다가 압축을 해지 하셨으면 c:\openssl 폴더에 가서 실행을 하셔야 한다는 겁니다.

첫번째로 perl 명령으로 Configure라는 것을 실행하게 되는데 다음과 같이 치시면 됩니다.
C:\openssl>perl Configure VC-WIN32

C:\openssl>ms\do_masm

C:\openssl>ms\do_ms

 

 

C:\openssl>nmake -f ms\ntdll.mak

 

환경변수에 PATH부분에 nmake.exe가 있는 경로를 추가해 주셔야 합니다.(제어판-시스템-고급-시스템변수)

 

정상적으로 설치 되었는지 test

C:\openssl>cd out32dll
C:\openssl\out32dll>..\ms\test


두번째 방법은 .dll 파일 및 exe 파일을 그냥 설치하시면 사용가능한 방법입니다.(간단함)


ssleay32.dll , libeay32.dll 을 system32 에 복사하고 환경변수에서 openssl.exe 경로를 잡아주면 설치 끝입니다....


개발이나 소스 수정으로 필요한 openssl 은 첫번째 방법으로 하면 더욱 좋으시고요 window apache 에서 인증서를 사용하기 위해서는 두번째 방법을 권장해 드립니다.



/////////////////////////////////////////////////////////////////////////////////////


misozulu 님 블로그에서 퍼온 것임을 밝힘니다.


1. 필요한 것들


     1) OpenSSL 최신 버전을  http://www.openssl.org 에서 다운 받자. (압축풀고)


     2) ActivePerl

      -> http://www.activestate.com/ActivePerl 에서 msi를 설치하자.

    

     3) C컴파일러

     -> Visual C++의 nmake 이용


     4) MASM32 어셈블러 : openSSL의 몇몇 모듈이 어셈블리어로 작성되어 있어 필요함.

     -> http://www.masm32.com  에서 다운 받아 설치하자.


2. 컴파일하기 위한 환경설정


     1) ActivePerl를 설치하면  C:\Perl\Bin;가 환경변수의 Path에 설정되어 있는지 확인하자.

        없다면 추가하자.

   

     2) MASM32를 설치하면 C:\masm32\bin가 환경변수의 Path에 설정되어 있는지 확인하자.

       없다면 추가하자.


     3) C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin 를 환경변수의

        Path에 추가하자. 필요한 파일 MSPDB60.dll에 여기에 있다.


     4) C:\Program Files\Microsoft Visual Studio\VC98\bin 를 환경변수의 Path에 추가하자.

        nmake.exe가 여기에 있다.


3. 컴파일하기


     1) 명령프론프트를 하나 띄우자.


     2) 먼저 압축을 푼 openSSL폴더로 이동하자. (예:c:\openssl)


     3) 컴파일 환경 설정 하기.

        c:\openssl>perl Configure VC-WIN32  <- enter.


        Configuring for VC-WIN32
        IsWindows=1
        CC            =cl
        CFLAG         =-DOPENSSL_SYSNAME_WIN32 -DOPENSSL_THREADS  -DDSO_WIN32 -DOPENSSL_NO_KRB5
        EX_LIBS       =
        BN_ASM        =bn_asm.o
        DES_ENC       =des_enc.o fcrypt_b.o
        BF_ENC        =bf_enc.o
        CAST_ENC      =c_enc.o
        RC4_ENC       =rc4_enc.o
        RC5_ENC       =rc5_enc.o
        MD5_OBJ_ASM   =
        SHA1_OBJ_ASM  =
        RMD160_OBJ_ASM=
        PROCESSOR     =
        RANLIB        =true
        ARFLAGS       =
        PERL          =perl
        THIRTY_TWO_BIT mode
        BN_LLONG mode
        RC4_INDEX mode
        RC4_CHUNK is undefined

        Configured for VC-WIN32.

        -> 이런 메세지가 나오면 perl정상 구동. 아니면 재설치 및 환경변수의 path확인 필요.


     4) 어셈블리 컴파일

        c:\openssl> ms\do_masm <- enter


        Generating x86 for MASM assembler

        .....

        RC5\32

        -> 이런 메세지가 나오면 성공.


     5) openSSL컴파일

       c:\openssl> vcvars32.bat <- enter          : nmake전에 반드시해야함...

       c:\openssl> nmake -f ms\ntdll.mak <-enter

      

       컴파일 시간 생각보다 오래 걸린다.


4. 확인 하기.

     1) c:\openssl\out32dll 폴더에


            ssleay32.lib
            libeay32.lib
            ssleay32.dll
            libeay32.dll

        가 존재하면 끝~!
         
     2) Test프로그램


      c:\openssl\ms\test  <- enter

top

Trackback Address :: http://www.ssial.com/trackback/293 관련글 쓰기

  1. abercrombie fitch 2011/12/13 21:11 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  2. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  3. abercrombie fitch Deutschland 2012/02/07 16:57 댓글주소 | 수정/삭제 | 댓글

    This was very informative. I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  4. abercrombie Deutschland 2012/02/07 16:58 댓글주소 | 수정/삭제 | 댓글

    I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

Write a comment


 

들어가기 전에...


0.시작하면서...

 개발자라면 한번쯤 소스 관리에 대해서 고민해 봤을 것이다. 특히나 수정이 잦은 프로그램이라면 더욱 더 버전 관리가 중요한데, 이걸 일일이 폴더나 날짜별로 관리하다가는 낭패를 보기 십상이다. 그래서 버전관리 프로그램을 사용하는데, 대표적인 것으로 소스세이프(Source Safe), CVS, Subversion 있다.

 윈도우 프로그래머라면 소스세이프가 굉장히 유용한데(Visual Studio를 설치하면 자동으로 깔리므로... ㅡ_ㅡa..), 사용해보니 속도가 무지 느리고 VC 또한 한참 뒤에 뜨게하는 무시무시한 단점이 있어서 다른 것을 찾다가 서브버전을 선택하게 되었다.

 서브버전의 장점은 인터넷에 잘 나오므로 굳이 이야기하지 않겠고, 실제 윈도우 버전 설치 및 설정에 대해서 알아보자.


1.Tortoise 서브버전(Subversion) 클라이언트 설치

1.1 Tortoise 서브버전(Subversion) 클라이언트 다운로드

 서브버전 서버를 설치한다면서 왜 클라이언트를 설치하는 것일까? 그것은 서버 설치후 나머지 작업을 편리하게 할 수 있기 때문이다.

 서브버전 클라이언트는 http://tortoisesvn.net/downloads 에서 다운 받을 수 있다.

Subversion9.PNG

<Tortoise 서브버전 클라이언트>


1.2 Tortoise 서브버전(Subversion) 클라이언트 설치

 클라이언트 설치는 간단하다. 무조건 "Next" 버튼을 눌러서 완료를 하면 알아서 다 해준다.

Subversion10.PNG 

<Tortoise 서브버전(Subversion) 클라이언트 설치>


 설치 후 탐색기에서 오른쪽 버튼을 클릭했을 때 아래와 같은 메뉴가 뜨면 정상적으로 설치된 것이다.

 Subversion11.PNG

<설치 완료>


2.서브버전(Subversion) 서버 설치

2.1 서브버전(Subversion) 서버 다운로드

 서브버전의 윈도우용 설치 파일은 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 에서 찾을 수 있다. 위 사이트로 이동하면 아래와 같은 화면을 볼 수 있는데, 최신버전의 설치 파일을 다운받아서 설치하도록 하자.

Subversion1.PNG 

<서브버전 서버 파일 다운로드>


2.2 서브버전(Subversion) 설치

 설치 과정은 아주 간단하다. 윈도우 인스톨 파일을 더블클릭해서 기본 옵션으로 설치하면 된다. "Next" 를 계속해서 클릭하여 완료하자.

Subversion2.PNG 

<인스톨 화면>


2.3 서브버전(Subversion) 설정

2.3.1 서브버전(Subversion) 데이터 폴더 생성(Repository)

 서버 설치가 끝났으니 데이터를 저장할 폴더를 생성해야한다. 저장소는 하드디스크의 특정 폴더로 하면 되고, 임의의 이름으로 선택 가능하다. 일단 D:\Repository로 해서 생성하자.

Subversion3.PNG

<저장소 생성>


2.3.2 서비스(Service) 등록

 서브버전 서버를 서비스로 등록하여 윈도우 부팅시에 자동으로 실행되도록 하자. 윈도우 서비스 등록은 sc.exe 프로세스로 등록가능하다. cmd.exe를 실행해서 아래와 같이 입력하도록 하자.

 Subversion4.PNG

<서비스 등록>

 아래는 서브버전 서비스를 등록하고 서비스를 해제하는 명령이다.

  • 서비스 등록 : sc create svn binpath= "C:\Program Files\Subversion\bin\svnserve.exe --service -r D:\repository" displayname= "Subversion Server" depend= Tcpip start= auto

  • 서비스 해제 : sc delete svn displayname= "Subversion Server"

 별다른 문제가 없다면 성공적으로 등록했다는 메시지가 출력될 것이다.


2.3.3 방화벽(Firewall) 해제

 서브버전은 TCP 3690 포트와 UDP 3690 포트를 사용한다. 윈도우 방화벽 및 Anti-Virus의 방화벽을 해제하도록 하자.

 아래는 윈도우 방화벽에서 포트를 추가하는 방법이다. TCP와 UDP 각각 등록해서 모두 가능하도록 하자.
Subversion5.PNG

<방화벽 해제>


2.4 저장소(Repository) 생성

 이제 서버 설정이 끝났으니 실제로 소스 또는 데이터를 관리할 저장소(Repository)를 생성해야 한다. 서브버전 관련 데이터는 D:\Repository 에 저장하기로 했으므로 하위 폴더에 저장소를 생성하자.


2.4.1 커맨드 라인(Command Line) 방식

 cmd.exe 를 실행한 뒤 D:\Repository 폴더로 이동하여 아래와 같이 입력한다.

"C:\Program Files\Subversion\bin\svnadmin" create --fs-type fsfs test

 위의 파란색으로 표시된 test를 유의해서 보자. test 대신에 생성을 원하는 폴더명으로 바꿔서 입력하면 된다.

 아래는 위의 명령을 실행한 후 결과 화면이다.

Subversion6.PNG 

<저장소 생성>

2.4.2 Tortois Subversion 클라이언트를 사용한 방식

 Tortois Subversion 클라이언트를 설치했다면 좀더 편한 방법으로 생성할 수 있다. 아래는 Tortoise Subversion 클라이언트를 통해 생성하는 방법이다.

 Subversion7.PNG

<저장소 생성>

 D:\Repository 폴더에 생성할 저장소 이름(Test)의 폴더를 미리 생성한 후 Tortoise Subversion 클라이언트에서 "Create repository here"를 클릭하면 된다.

 파일 시스템을 선택하는 다이얼로그가 뜨면 "Native filesystem(fsfs)"를 선택한 후 OK를 눌러서 생성하면 된다.


2.5 저장소 접근 설정

 저장소를 생성하고 나면 아래와 같은 폴더와 파일들이 생긴다.

Subversion8.PNG

<저장소 폴더 상태>

 이 중에서 접근 권한을 제어하기위해서는 2개의 파일을 손봐야 하는데 다음 항목을 보자


2.5.1 svnserve.conf

  1. ### This file controls the configuration of the svnserve daemon, if you
    ### use it to allow access to this repository.  (If you only allow
    ### access through http: and/or file: URLs, then this file is
    ### irrelevant.)
  2. ### Visit http://subversion.tigris.org/ for more information.
  3. [general]
    ### These options control access to the repository for unauthenticated
    ### and authenticated users.  Valid values are "write", "read",
    ### and "none".  The sample settings below are the defaults.
    anon-access = none     <== 로그인 하지 않은 사용자는 아무것도 못하도록 한다.
    auth-access = write
  4. ### The password-db option controls the location of the password
    ### database file.  Unless you specify a path starting with a /,
    ### the file's location is relative to the conf directory.
    ### Uncomment the line below to use the default password file.
    password-db = passwd   <== ID와 Password를 저장하는 파일 이름
  5. ### The authz-db option controls the location of the authorization
    ### rules for path-based access control.  Unless you specify a path
    ### starting with a /, the file's location is relative to the conf
    ### directory.  If you don't specify an authz-db, no path-based access
    ### control is done.
    ### Uncomment the line below to use the default authorization file.
    #authz-db = authz
  6. ### This option specifies the authentication realm of the repository.
    ### If two repositories have the same authentication realm, they should
    ### have the same password database, and vice versa.  The default realm
    ### is repository's uuid.
    realm = KKAMAGUI Repository   <== 접근했을 때 클라이언트에게 보여줄 저장소 메시지

 위와 같이 파일을 수정한 다음 저장한다.


2.5.2 passwd

  1. ### This file is an example password file for svnserve.
    ### Its format is similar to that of svnserve.conf. As shown in the
    ### example below it contains one section labelled [users].
    ### The name and password for each user follow, one account per line.
  2. [users]
    # harry = harryssecret
    # sally = sallyssecret
    kkamagui = kkamagui

 위와 같이 ID = Password의 형태로 입력한 뒤 저장하면 된다.



3.간단한 서브버전(Subversion) 서버 테스트

 테스트 방법은 간단하다. 탐색기에서 오른쪽 버튼을 눌러서 표시되는 메뉴에서 "Repo-Browser" 를 클릭하여 아래와 같은 창이 뜨면 서브버전 서버가 설치된 주소와 저장소 이름을 같이 입력해주면 된다.

Subversion7.PNG

<Repo-browser 메뉴>


 이제 주소와 저장소의 이름을 입력하자. 주소를 kkamagui.egloos.com, 그리고 저장소를 test라고 가정하고 입력하면 아래와 같이 될 것이다.

Subversion12.PNG 

<서브버전 주소 입력>


"OK" 버튼을 누르면 실제 서버에 접속해서 저장소 정보를 얻어오는데, 아래와 같은 화면이 표시될 것이다. 실제로 정상적으로 접속이 된다면 "test" 항목 아래에 아무것도 표시되지 않을 것이지만 문제가 발생한다면 아래와 같이 에러메시지가 표시될 것이다.

Subversion13.PNG

<Repo-Browser 실행-에러발생>


 위와 같은 에러 메시지가 표시되면 처음 단계부터 설정을 다시 한번 확인하자. 아무런 에러 메시지가 없다면 정상적으로 설치된 경우이므로 열심히 Check-out, commit, update를 반복하면 된다.


4.서브버전(Subversion) 서버를 설치하지 않고 로컬(Local)에서 소스 관리하기

 서브버전 서버가 설치되어있어야 꼭 소스 버전 관리가 가능한 것일까? "답은 그렇지 않다" 이다.

 Tortoise Subversion 클라이언트를 설치했다면 로컬에 저장소를 만들고 file:/// 키워드로 접근하여 소스 버전을 관리하는 것이 가능하다.


4.1 저장소 생성

 위의 "2.4 저장소(Repository) 생성" 부분을 참고해서 로컬에 Tortoise를 이용하여 저장소를 생성하자. 그리고 파일들을 수정해서 특정 유저만 접근가능하도록 수정하자.


4.2 저장소 접근 테스트

 위의 "3.간단한 서브버전(Subversion) 서버 테스트" 부분을 참고하여 "Repo-browser"를 실행하고 주소에 아래와 같이 입력한 후 OK를 누르자.

file:///d:\repository\test

 정상적으로 실행되면 아래와 같은 화면이 표시될 것이다.

 Subversion14.PNG

<Repo-browser 실행>

 아무런 에러가 없으므로 정상적으로 실행되었음을 알 수 있다. 이렇게 함으로써 서버를 설치하지 않고도 로컬에서 소스 버전관리를 할 수 있다.


5.기타 팁

5.1 버전 관리시 무시할 파일 확장자 설정

 소스를 컴파일해서 나오는 object 파일이나 기타 필요없는 부산물들은 버전관리를 할 필요가 없다. 그런 파일들을 일일이 수작업으로 제외하기는 상당히 귀찮은 작업인데, 다행이 Tortoise에서 이것을 편리하게 할 수 있는 옵션이 있다.

 "Settings" 메뉴에 가면 아래와 같은 화면이 표시된다. 여기에 "Global Ignore Pattern" 항목에 무시할 파일의 확장자나 파일명을 입력하면 된다.

*.scc *.sbr *.pch *.pcb *.ilk *.idb *.res *.o *.obj *.ncb *.opt *.plg

Subversion15.png 

<확장자 및 파일명 입력>


6.마치면서...

 이로서 그 지긋지긋하게 느린 소스세이프(SourceSafe)에서 벗어날 수 있게 되었다(이렇게 좋을 수가... ㅜ_ㅜ). 소스 버전 관리를 통해 프로젝트를 보다 효율적으로 관리하고 협업의 능률을 최대한 활용하자. @0@)/~~!!


7.참고 사이트


top

Trackback Address :: http://www.ssial.com/trackback/291 관련글 쓰기

  1. Chanel Outlet 2011/09/17 21:46 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  2. Chanel Outlet 2011/09/17 21:46 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  3. abercrombie fitch 2011/12/13 21:12 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  4. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  5. abercrombie fitch Deutschland 2012/02/07 16:57 댓글주소 | 수정/삭제 | 댓글

    This was very informative. I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  6. abercrombie Deutschland 2012/02/07 16:58 댓글주소 | 수정/삭제 | 댓글

    I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  7. wow gold 2012/02/09 18:59 댓글주소 | 수정/삭제 | 댓글

    Our professional fellows <a href=http://www.mmopowerlevels.com/SWTOR-Power-leveling.html>SWTOR Power leveling</a> strive to make the price of <a href=http://www.mmopowerlevels.com/Rift-Prestige-Powerleveling.html>Buy Cheap Rift Prestige</a> lowest. SWTOR Power leveling else can you find such a dirt sale! our SWTOR Power leveling price are really cheap now, you can buy really Cheap SWTOR Power leveling here http://www.cheap-powerleveling.com/starwars-the-old-republic-leveling.html We have mass available stock of swtor easy gold on most of the servers,We sell Cheap SWTOR Credits with 24/7 online support and Fast Delivery.

    http://www.cheap-powerleveling.com/starwars-the-old-republic-leveling.html SWTOR Power leveling
    http://www.cheap-powerleveling.com/starwars-the-old-republic-leveling.html Cheap SWTOR Power level
    http://www.cheap-powerleveling.com/SWTOR-Valor-Powerleveling.html SWTOR Valor Rank Powerleveling
    http://www.cheap-powerleveling.com/SWTOR-Valor-Powerleveling.html SWTOR Valor Powerleveling
    http://www.mmopowerlevels.com/SWTOR-Power-leveling.html SWTOR power leveling
    http://www.mmopowerlevels.com/SWTOR-Power-leveling.html power leveling swtor
    http://www.mmopowerlevels.com/SWTOR-Power-leveling.html SWTOR Power level
    http://www.mmopowerlevels.com/SWTOR-Valor-Powerleveling.html Valor Rank Powerleveling
    http://www.mmopowerlevels.com/SWTOR-Valor-Powerleveling.html Buy Cheap SWTOR Valor Rank
    http://www.mmopowerlevels.com/Rift-Prestige-Powerleveling.html Rift Prestige powerleveling
    http://www.mmopowerlevels.com/Rift-Favor-Points-Powerleveling.html Buy Cheap RIFT Favor Points
    http://www.mmopowerlevels.com/Dcuo-Marks-Powerleveling.html DCUO Marks powerleveling
    http://www.cheap-powerleveling.com/Buy-Diablo3-Gold.html Diablo III gold
    http://www.cheap-powerleveling.com/Buy-Diablo3-Gold.html Diablo 3 gold
    http://www.cheap-powerleveling.com/Buy-Diablo3-Gold.html Cheap Diablo3 gold
    http://www.cheap-powerleveling.com/diablo3-power-leveling.html Diablo 3 powerleveling
    http://www.cheap-powerleveling.com/diablo3-power-leveling.html Diablo III powerleveling
    http://www.mmopowerlevels.com/Diablo3-Power-leveling.html Diablo 3 powerleveling
    http://www.mmopowerlevels.com/Buy-Diablo3-Gold.html Buy Cheap Diablo 3 Gold

Write a comment


[subversive] SVNSERVE Manager

Posted 2008/06/09 10:33 by 애플자라
 
SVNSERVE Manager

Windows용 Subversion의 svnserve.exe 매니져입니다. svnserve.exe는 Subversion의 svn:// 프로토콜 서버입니다. svnserve.exe를 편리하게 사용할 수 있도록 도와줍니다.
  • 트레이 아이콘으로 시작/정지 상태표시
  • 시스템 시작시 자동실행
  • 서비스(Service) 설치 및 실행
<!> Windows용 Subversion이 설치되어 있어야 사용가능 합니다.

<!> ZIP 파일로 배포되는 Subversion을 사용하고 있는 경우 svnserve.exe를 찾는 창이 뜨게 되는데 svnserve.exe를 맨 처음 한번만 찾아주면 경로가 저장되기 때문에 이후에는 찾는 창이 뜨지 않습니다.

<!> 서비스 모드는 Subversion 1.4 이상의 버전에서만 지원됩니다.



트레이 아이콘
사용자 삽입 이미지

 


New Version
SVNManager-1.1.0-Setup.msi Version 1.1.0, Setup Package, 2006.12.15 <!> New
SVNManager-1.1.0.zip Version 1.1.0, 2006.12.15 <!> New
^^ 프로그램을 잘 사용하셨다면 감사의 말씀정도는 남겨주는 센스!

Old Versions
SVNManager-1.0.5-Setup.msi Version 1.0.5, Setup Package, 2006.12.11
SVNManager-1.0.5.zip Version 1.0.5, 2006.12.11
SVNManager-1.0.4-Setup.msi Version 1.0.4, Setup Package, 2005.7.28
SVNManager-1.0.4.zip Version 1.0.4, 2005.7.28
SVNManager-1.0.3-Setup.msi Version 1.0.3, Setup Package, 2004.10.20
SVNManager-1.0.3.zip Version 1.0.3, 2004.10.20
SVNManager-1.0.2-Setup.msi Version 1.0.2, Setup Package, 2004.10.19
SVNManager-1.0.2.zip Version 1.0.2, 2004.10.5
SVNManager-1.0.1.zip Version 1.0.1, 2004.10.5
SVNManager-1.0.0.zip Version 1.0.0, 2004.10.2
top

Trackback Address :: http://www.ssial.com/trackback/290 관련글 쓰기

  1. Chanel Outlet 2011/09/17 21:27 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  2. Burberry Bags 2011/10/13 17:04 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog! From time to time students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. Thanks.

  3. Coach Outlet Online 2011/11/15 12:45 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog ! It's very good and thank you for sharing it !

  4. abercrombie fitch 2011/12/13 21:12 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  5. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  6. Coach Factory Outlet 2011/12/30 12:24 댓글주소 | 수정/삭제 | 댓글

    http://www.coachoutletpursess.com/ Coach Purses Outlet
    http://www.coachfactoryonlineu.com/ Coach Factory Online
    http://www.coachoutletl.com/ Coach Outlet
    http://www.canadacoachoutlet-s.net/ Coach Outlet Online
    http://www.coachoutletonline-2012.com/ Coach Outlet Online
    http://www.coachfactorystorei.com/ Coach Factory
    http://www.coachfactoryoutletz.com/ Coach Factory Outlet
    http://www.coachs-factory.net/ Coach Factory
    http://www.usgucci-shoes.net/gucci-bags-gucci-backpack-c-3_4_23.html gucci backpack
    http://www.coachoutletonline-purse.com/ Cheap Coach Handbags
    http://www.coachoutletonlinei.com/ Coach Outlet
    http://www.coachoutletpursess.com/ cheap coach purses
    http://www.coachfactoryonlineu.com/ Coach Factory Outlet
    http://www.coachoutletl.com/ Coach Outlet Online
    http://www.canadacoachoutlet-s.net/ Coach Outlet Canada
    http://www.coachoutletonline-2012.com/ Coach Factory
    http://www.coachfactorystorei.com/ Coach Factory Outlet
    http://www.coachfactorystorei.com/ Coach Factory Online
    http://www.coachfactoryoutletz.com/ Coach Factory Outlet Online
    http://www.coachs-factory.net/ Coach Factory Outlet
    http://www.coachoutletonlinei.com/ Coach Outlet Online
    http://www.coachoutletonline-purse.com/ Coach Outlet Online
    http://www.coachoutletonline-purse.com/ Discount Coach Handbags
    http://www.coachoutletpursess.com/ Coach handbags outlet
    http://www.coachfactoryonlineu.com/ Coach Factory Outlet Online
    http://www.canadacoachoutlet-s.net/ Coach Outlet
    http://www.coachoutletonline-2012.com/ Coach Factory Online
    http://www.coachfactorystorei.com/ coach factory outlet
    http://www.coachs-factory.net/ Coach Factory Outlet Online
    http://www.coachoutletonlinei.com/ Coach Factory Online

  7. abercrombie fitch Deutschland 2012/02/07 16:57 댓글주소 | 수정/삭제 | 댓글

    This was very informative. I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  8. abercrombie Deutschland 2012/02/07 16:58 댓글주소 | 수정/삭제 | 댓글

    I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

Write a comment



소개 (Introduction)

이 문서는 Subversion을 사용하여 소스코드의 버전 컨트롤을 하고자 하는 모든 소프트웨어 종사자를 위해 작성되었습니다. 상당수의 경우 오픈 소스 소프트웨어의 높은 진입장벽 중 하나는 어려운 설치 방법입니다. 이러한 진입장벽을 제거하고, 보다 많은 개발자가 Subversion을 사용할 수 있도록 돕고자 작성되었습니다.

이 문서의 주요 섹션은 다음과 같습니다.


왜 Subversion인가?

이 세상에는 유용한 소스버전 컨트롤 시스템이 많습니다. 그런데 왜 Subversion을 선택했을까요? Subversion과CVS를 비교한 다음 문서에 자세한 비교 설명이 실려 있습니다.

문서 ‘CVS와 Subversion을 이용한 소스 코드 버전 관리’는 분실을 대비해서 로컬파일로 준비했습니다.


시스템 요구사항 (System Requirements)

이 문서 상에 기술된 내용이 테스트된 환경은 다음과 같습니다.

  • Microsoft Windows® 2000 Professional operating system

참고 문헌 (Related Links)

이 문서는 다음 문서를 참고하여 만들어졌습니다.

이 문서는 설치 가이드이므로, Subversion의 사용법이나 노하우를 익히려면 다음 문서를 참고하십시오.


설치 (Installation)

  1. Subversion 설치

    1. 설치 파일 구하기

      Windows용 설치파일(.exe)을 다운로드 합니다. 현재는 버전 1.2.0이 나왔습니다만, 이 설치 가이드에서는 버전 1.1.4를 사용합니다.버전 1.2.0이 나오면서 Berkeley DB의 새 버전을 사용하게 됐습니다. 이 때문에 이전 버전과의 호환성 문제가 발생합니다. 문서 작성자인 저의 컴퓨터엔 이미 1.1.1 버전이 설치되어 있기 때문에 부득이 버전 1.1.4를 사용합니다.

    2. Subversion 설치하기

      설치 프로그램(예. svn-1.1.4-setup.exe)을 더블 클릭하면 아래와 같은 설치화면이 나옵니다. 지시사항에 맞춰 Subversion을 설치하면 됩니다.

      Windows Platform에서의 Subversion 설치 가이드 001

      만약 후에 WebSVN과 같은 Subversion 웹 인터페이스를 설치하려고 하면 주의해야 할 점이 있습니다. Windows의 IIS를 웹서버로 사용하면 별다른 주의가 필요 없지만 Apache 서버를 사용할 때는 Subversion 설치 전에 Apache를 설치합니다. 이미 Subversion을 설치한 경우에는 다시 한번 Subversion을 설치합니다. 이 문서에서는 IIS 서버를 사용하는 경우를 다루기 때문에 자세한 사항은 언급하지 않습니다.

    3. Subversion PATH 설정

      Subversion의 바이너리가 설치된 경로를 환경변수 PATH에 등록합니다. 제어판 -> 시스템 -> 고급 -> 환경변수 -> 시스템변수 -> PATH를 선택합니다. 변수값에 바이너리가 설치된 경로를 추가합니다. 기본값은 다음과 같습니다.

      C:\Program Files\Subversion\bin

      환경변수 값이 제대로 설정되었는지 확인하려면 다음과 같이 작업합니다. 시작 -> 실행 -> 창에 cmd를 입력한 후 확인 버튼을 누릅니다.

      Windows Platform에서의 Subversion 설치 가이드 002

      검은 화면의 명령창이 나타날 것입니다. Svnlook 을 입력하고 엔터를 누릅니다. 다음과 같은 메시지가나오면 환경설정이 올바른 것입니다.

      Windows Platform에서의 Subversion 설치 가이드 003

      만약 다음과 같은 메시지가 나타나면 환경설정 값이 올바른지 다시 확인해야 합니다.

      'svnlook'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치파일이 아닙니다.
  2. SVNSERVE Manager 설치

    1. 개요

      SVNSERVE Manager은 Windows 시작시 Subversion을 자동으로 띄워주는 등, Subversion 서버를 편리하게 관리하도록 도와주는 소프트웨어입니다.

    2. 다운로드 및 설치

      여기에서 Windows용 설치 파일을 다운로드 받은 후실행시킵니다.

      Windows Platform에서의 Subversion 설치 가이드 004

      설치 후에 SVNSERVE Manager가 자동 실행되지 않습니다. 바탕화면에 바로가기(SVNSERVE Manager) 메뉴를 더블클릭합니다. 아래와 같은 트레이 아이콘이 뜹니다. 빨간색으로 표시한 것이 SVNSERVE Manager의 트레이 아이콘입니다.

      Windows Platform에서의 Subversion 설치 가이드 005

      트레이 아이콘을 더블클릭하면 다음과 같은 메뉴를 볼 수 있습니다.

      Windows Platform에서의 Subversion 설치 가이드 006

      알맞은 값을 설정한 다음에 ‘Hide’ 또는 ‘X’를 클릭합니다.

  3. WebSVN 설치

    1. 개요

      WebSVN은 대표적인 Subversion 전용 웹 인터페이스입니다. 이 외에도 Subversion을 지원하는 웹 인터페이스는 ViewCVS, ViewSVN, SubView 등이 있습니다. WebSVN을 사용하면 Subversion의 저장소(Repository)를 웹상에서 접근할 수 있습니다. 다음은 KDE 프로젝트의 WebSVN 사이트입니다.

      Windows Platform에서의 Subversion 설치 가이드 007

    2. 설치

      우선 WebSVN 을 다운로드 받습니다. 현재 버전은 1.61입니다. WebSVN_161.zip 파일의 압축을 풀면 install.txt 파일이 있습니다. 해당 파일을참조하시거나 다음의 설명에 따라 작업하십시오.

      1. IIS 서버 설치 및 작동

        우선 IIS 서버가 설치되어 있는지 확인합니다. 제어판 -> 관리도구 -> 인터넷 정보 서비스(IIS) 관리를 클릭합니다.

        Windows Platform에서의 Subversion 설치 가이드 008

        기본 웹 사이트가 (중지됨) 등으로 표시되어 있으면 시작시킵니다. 만약 위의 메뉴를찾을수 없다면 IIS 서버를 설치해야 합니다. 제어판 -> 프로그램 추가/제거 -> 윈도우 구성요소 추가/제거 -> 응용프로그램 서버(Windows 2003 Server의 경우에만 해당함) -> 인터넷 정보 서비스를 체크하고 확인 버튼을 클릭합니다.

      2. PHP 설치

        여기서는 버전 4.3.11을 설치하겠습니다. Windows installer로 된 설치 프로그램을 다운로드 받아서 실행합니다. 설치 프로그램의 안내에 따라 PHP를설치합니다. 설치 작업 마지막에 아래 두 메시지 창이 연달아 팝업되면 작업이 성공한 것입니다.

        Windows Platform에서의 Subversion 설치 가이드 009

        Windows Platform에서의 Subversion 설치 가이드 010

        만약 둘 중 하나라도 보이지 않는다면 IIS서버에 문제가 있는 것일 수 있습니다. 특히 다음의 사항을점검해야 합니다.

        1. IIS 서버가 설치되었는가.
        2. 기본 웹사이트가 시작되었는가.
        3. 기본 웹사이트의 TCP 포트가 80인가.

        만약 Apache 를 웹서버로 사용한다면 첫번째 메시지는 팝업되지 않습니다.

      3. IIS 설정

        제어판 -> 관리도구 -> 인터넷 정보 서비스(IIS) 관리 -> 기본 웹 사이트 -> 속성을 선택합니다.

        Windows Platform에서의 Subversion 설치 가이드 011

        기본 웹 사이트 등록정보 -> 문서를 선택합니다. 추가 버튼을 클릭하고 index.php를 써넣은 후 확인 버튼을 클릭합니다.

        Windows Platform에서의 Subversion 설치 가이드 012

      4. GnuWin32 Packages 설치

        WebSVN의 install.txt 문서를 읽으면 다음 소프트웨어를 설치해야 합니다.

        위의 사이트에서 다운로드 받아도 되며 GnuWin32 Packages 사이트에서 다운로드 받아도 됩니다. 후자 쪽이 더 편할 것입니다.

        전자와 후자의 경우 각각 응용프로그램이 설치되는 경로가 다릅니다. 기본 경로값은 다음과 같습니다.

        전자: C:\cygwin\bin
        후자: C:\Program Files\GnuWin32\bin

        위의 경로를 환경변수 PATH에 등록합니다. 방법은 Subversion의 바이너리 경로를 등록했을 때와동일합니다.

      5. WebSVN을 IIS 홈디렉토리(Document Root)에 복사하기

        WEBSVN 사이트에서 다운로드 받은 PHP 소스 디렉토리를 IIS서버 Document Root에 복사합니다. Document Root의 기본값은 다음과 같습니다.

        C:\Inetpub\wwwroot

        Document Root의 값을 모를 때는 다음의 절차를 따릅니다.

        1. 제어판 -> 관리도구 -> 인터넷정보서비스

        2. 기본 웹사이트를 선택한 후 마우스 오른쪽 버튼을 클릭합니다. Context Menu 중 등록정보를선택합니다.

          Windows Platform에서의 Subversion 설치 가이드 013

        3. 홈디렉토리 -> 로컬경로를 보면 Document Root의 경로를 알수있습니다

          Windows Platform에서의 Subversion 설치 가이드 014

      6. WebSVN 설정하기

        명령창에서 다음 명령어를 실행시킵니다. 이때 distconfig.inc 파일의 구체적 경로는 Document Root 경로에 따라 달라진다는 점을 주의하십시오.

        copy C:\Inetpub\wwwroot\WebSVN\include\distconfig.inc C:\Inetpub\wwwroot\WebSVN\include\config.inc

        Windows Platform에서의 Subversion 설치 가이드 015

        그리고 메모장으로 복사된 C:\Inetpub\wwwroot\WebSVN\include\config.inc 파일을 불러들입니다.

        1. config.inc 파일 수정 ? Platform 설정

          [변경 전]

          // Uncomment the next line if your running a windows server
          //
          // $config->setServerIsWindows(); 

          [변경 후]

          // Uncomment the next line if your running a windows server
          //
          $config->setServerIsWindows();
        2. config.inc 파일 수정 - Subversion Binary와 GnuWin32 Packages의 경로 설정s

          [변경 전]

          // Configure these lines if your commands aren't on your path. 
          //
          // $config->setSVNCommandPath("Path/to/svn and svnlook/ e.g. c:\\program files\\subversion\\bin");
          // $config->setDiffPath("Path/to/diff/command/");
          
          // For syntax colouring, if option enabled...
          // $config->setEnscriptPath("Path/to/enscript/command/");
          // $config->setSedPath("Path/to/sed/command/"); 
          
          // For delivered tarballs, if option enabled...
          // $config->setTarPath("Path/to/tar/command/");
          
          // For delivered GZIP'd files and tarballs, if option enabled...
          // $config->setGZipPath("Path/to/gzip/command/");

          [변경 후]

          // Configure these lines if your commands aren't on your path. 
          //
          $config->setSVNCommandPath("c:\\program files\\subversion\\bin");
          $config->setDiffPath("C:\\Program Files\\GnuWin32\\bin"); 
          
          // For syntax colouring, if option enabled...
          $config->setEnscriptPath("C:\\Program Files\\GnuWin32\\bin");
          $config->setSedPath("C:\\Program Files\\GnuWin32\\bin"); 
          
          // For delivered tarballs, if option enabled...
          $config->setTarPath("C:\\Program Files\\GnuWin32\\bin");
          
          // For delivered GZIP'd files and tarballs, if option enabled...
          $config->setGZipPath("C:\\Program Files\\GnuWin32\\bin"); 
        3. config.inc 파일 수정 ? Subversion 저장소 경로 설정

          여기서는 Subversion의 저장소(Repository)를 설정해보겠습니다. Config.inc의 주석에 따르면저장소 설정에는 크게 두 가지 방법이 있습니다. 첫번째는 각각의 저장소를 하나씩 추가하는 것입니다. 두번째는 저장소 Root 디렉토리를 설정하는 것입니다. 이 방법은 Root 디렉토리 하부에저장소를 두었을때 사용할 수 있습니다. 두 번째가 일반적이기 때문에 여기서는 두 번째 방법을 따르겠습니다.

          [변경 전]

          // To use the parent path method, uncomment the newt line and and replace the path with your one.  You
          // can call the function several times if you have several parent paths.
          //
          // $config->parentPath("Path/to/parent (e.g. c:\\svn)");

          [변경 후]

          // To use the parent path method, uncomment the newt line and and replace the path with your one.  You
          // can call the function several times if you have several parent paths.
          //
          $config->parentPath("D:\\SVNRepository"); 

          현재 문서작업 중인 컴퓨터의 Subversion 저장소 Root 디렉토리 경로는 "D:\SVNRepository" 입니다. 여러분의 환경에 따라 경로 값을 조정해야 합니다.

        4. config.inc 파일 수정 ? 웹사이트 템플릿(디자인) 선택하기

          원하는 템플릿의 주석만 제거하면 됩니다.

          // --- LOOK AND FEEL ---
          //
          // Uncomment ONLY the display file that you want.  
          
          $config->setTemplatePath("$locwebsvnreal/templates/Standard/");
          // $config->setTemplatePath("$locwebsvnreal/templates/BlueGrey/");
          // $config->setTemplatePath("$locwebsvnreal/templates/Zinn/");
          
          
        5. config.inc 파일 수정 ? 언어 설정

          WebSVN은 다양한 언어(인코딩)을 지원합니다. Config.inc 파일 중“// --- LANGUAGE SETUP ---“ 섹션에서 원하는 언어를 선택하면 됩니다. 아무것도 선택하지 않으면 English가 기본값입니다.

        6. config.inc 파일 수정 ? Tarball Download 활성화

          Tarball Download도 Subversion 저장소 설정과 같이 개별 저장소마다 활성화 여부를 지정할 수도 있습니다. 여기서는 모든 저장소에 대해 tarball download 기능을 활성화하겠습니다.

          [변경 전]

          // --- TARBALLS ---
          
          // You need tar and gzip installed on your system.  Set the paths above if necessary
          //
          // Uncomment the line below to offer a tarball download option across all your
          // repositories.
          //
          // $config->allowDownload();

          [변경 후]

          // --- TARBALLS ---
          
          // You need tar and gzip installed on your system.  Set the paths above if necessary
          //
          // Uncomment the line below to offer a tarball download option across all your
          // repositories.
          //
          $config->sallowDownload();
        7. config.inc 파일 수정 ? Syntax Colorization

          [변경 전]

          // --- COLOURISATION ---
          
          // Uncomment this line if you want to use Enscript to colourise your file listings
          //
          // You'll need Enscript version 1.6 or higher AND Sed installed to use this feature. 
          // Set the path above.
          //
          // $config->useEnscript(); 

          [변경 후]

          // --- COLOURISATION ---
          
          // Uncomment this line if you want to use Enscript to colourise your file listings
          //
          // You'll need Enscript version 1.6 or higher AND Sed installed to use this feature. 
          // Set the path above.
          //
          $config->useEnscript(); 
  4. 디렉토리 보안 설정

    1. tarball download

      WebSVN은 C:\WINNT\Temp 또는 C:\\Windows\Temp 디렉토리에 tarball 파일을 생성합니다. 그러므로 일반 웹사이트 사용자가 tarball download 기능을 사용하려면 IUSR_<machinename>에게 C:\WINNT\Temp에 대한 읽기 접근 권한을 부여해야 합니다. 다음의 절차를 따릅니다.

      • C:\WINNT\Temp를 선택하고 마우스 오른쪽 버튼을 클릭합니다. 컨텍스트 메뉴에서 등록 정보를선택합니다.

        Windows Platform에서의 Subversion 설치 가이드 016

      • 보안 -> 추가를 선택하면 다음과 같은 창이 뜹니다.

        Windows Platform에서의 Subversion 설치 가이드 017

      • IUSR_<machinename>를 추가하고 확인 버튼을 누릅니다.

      • IUSR_<machinename>에게 읽기 권한을 부여합니다.

        Windows Platform에서의 Subversion 설치 가이드 018

    2. Cache

      • C:\Inetpub\wwwroot\WebSVN\cache를 선택하고 마우스 오른쪽 버튼을 클릭합니다. 컨텍스트 메뉴에서 등록 정보를 선택합니다.

      • 보안 -> 추가를 선택합니다.

      • IUSR_<machinename>를 추가하고 확인 버튼을 누릅니다.

      • IUSR_<machinename>에게 읽기, 쓰기 권한을 부여합니다.

        Windows Platform에서의 Subversion 설치 가이드 019

  5. 테스트

    인터넷 익스플로러를 열고 주소 창에 다음 주소를 입력합니다.

    http://localhost/WebSvn/ 또는 http://localhost/WebSvn/index.php

    1. ‘Directory Listing Denied’ 에러

      Windows Platform에서의 Subversion 설치 가이드 020

      위의 메시지는 PHP 설정 후 IIS의 기본 콘텐트 페이지에 index.php를 추가하지 않았기 때문에 보이는 것입니다.sss

    2. 404 에러

      만약 다음과 같은 ‘404, 페이지를 찾을 수 없습니다’ 에러가 발생하면 PHP에 문제가 있을 가능성이 높습니다.

      Windows Platform에서의 Subversion 설치 가이드 021

      PHP를 다시 설치할 때는 다음 순서에 유의해야 합니다.

      1. 제어판 -> 프로그램 추가/제거 -> PHP 4.3.11

      2. C:\WINNT\php.ini 또는 C:\Windows\php.ini 파일을 제거합니다.

      3. PHP 4.3.11 을 다시 설치합니다.

    3. dl.php 오류

      Tarball Download 기능을 사용해 봅시다.

      Windows Platform에서의 Subversion 설치 가이드 022

      만약 다음과 같은 메시지가 뜬다면 디렉토리 보안 설정이 잘못된 것입니다.

      Warning: chdir(): No such file or directory (errno 2) in c:\inetpub\wwwroot\websvn\dl.php on line 65
      Warning: filesize(): Stat failed for branches.tar.gz (errno=2 - No such file or directory) in c:\inetpub\wwwroot\websvn\dl.php on line 70
      Unable to open file branches.tar.gz
      Warning: fclose(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\websvn\dl.php on line 86s
    4. permission 오류

      Warning: gzopen(.\cache\D__SVNRepository_public_mods_17): failed to open stream: Permission denied in c:\inetpub\wwwroot\websvn\include\svnlook.inc on line 301

      위와 같은 Permission 오류가 발생하면 메시지를 유심히 살펴봐야 합니다. 위의 메시지를 읽어보면 cache 디렉토리에 파일 쓰기를 하려다가 실패한 것을 알 수 있습니다. 해당 디렉토리에 적절한 권한(이 경우에는 쓰기권한)을 부여하면 됩니다.

  6. 기타

    1. WebSVN에 .NET C# Syntax Colourisation 기능 추가하기

    2. csharp.st 파일 다운로드

      아래 사이트에서 csharp.st 파일을 구합니다.

      http://www.xml-blog.com/archives/000282.html
      tps://sourceforge.net/tracker/?func=detail&atid=368760&aid=690128&group_id=18760
      Download

      만약 두 번째 사이트에서 csharp.st 파일의 내용을 복사해서 csharp.st 파일을 만들 때는 주의해야 합니다. 메모장으로 csharp.st 파일을 만들면 안 됩니다. ‘UNIX 종료 ? LF’ 형식을 지원해 주는 텍스트 편집기를 사용해야 합니다.

      다운로드 받은 csharp.st 파일을 [Enscript-install-path]\share\enscript\hl 디렉토리 안에 복사합니다.
      (예: “C:\Program Files\GnuWin32\share\enscript\hl”)

    3. setup.inc 파일 수정

      [WebSVN-install-path]\include\setup.inc (예: C:\Inetpub\wwwroot\WebSVN\include\setup.inc) 파일을 메모장으로 불러옵니다. 그리고 다음과 같이 setup.inc 파일을 수정합니다.

      [변경 전]

      // List of extensions recognised by enscript.
      
      $extEnscript = array
      (
      ".ada"     => "ada",
      ".adb"     => "ada",
      ".ads"     => "ada",
      ".awk"     => "awk",
      ".c"       => "c",
      ".c++"     => "cpp",
      ".cc"      => "cpp",
      ".cpp"     => "cpp",
      이하 생략……

      [변경 후]

      // List of extensions recognised by enscript.
      
      $extEnscript = array
      (
      ".ada"     => "ada",
      ".adb"     => "ada",
      ".ads"     => "ada",
      ".awk"     => "awk",
      ".c"       => "c",
      ".c++"     => "cpp",
      ".cc"      => "cpp",
      ".cpp"     => "cpp",
      ".cs"      => "csharp", 


피드백과 지원

이 문서에 대한 피드백이나 지원을 하고 싶으신 분은 저자에게 연락해주시기 바랍니다. 발전적인 정보 제공 및 건의는 언제나 환영합니다.

출처: http://kaistizen.net/EE/index.php/project/subversion/subversion_on_windows_how_to/

top

Trackback Address :: http://www.ssial.com/trackback/289 관련글 쓰기

  1. Burberry Bags 2011/10/13 17:03 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog! From time to time students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. Thanks.

  2. abercrombie fitch 2011/12/13 21:11 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  3. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

Write a comment


star UML

Pragmatic Tool/UML 2009/06/20 14:07
HOMEPAGE : http://staruml.sourceforge.net/ko/
다운로드 : http://sourceforge.net/projects/staruml/

* StarUML 5.0 사용자 가이드(한글) :
http://staruml.sourceforge.net/docs/user-guide(ko)/toc.html

 

top

Trackback Address :: http://www.ssial.com/trackback/285 관련글 쓰기

  1. Chanel Outlet 2011/09/17 21:42 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  2. Burberry Bags 2011/10/13 17:11 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog! From time to time students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. Thanks.

  3. Coach Outlet Online 2011/11/15 12:30 댓글주소 | 수정/삭제 | 댓글

    It's very good!Thank you for sharing it!I like buying handbags of the internet website:http://www.mycoachoutletstoreonline.com

  4. Coach Factory Online 2011/12/11 22:59 댓글주소 | 수정/삭제 | 댓글

    댓글주소 | 수정/삭제 | 댓글

  5. abercrombie fitch 2011/12/13 21:11 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  6. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  7. Coach Factory Outlet Online 2011/12/14 15:56 댓글주소 | 수정/삭제 | 댓글

    Great Coach Factory Outlet Online
    . A lot of useful information here. I’m sending it to some friends!

  8. Burberry Shop Online 2012/01/11 15:24 댓글주소 | 수정/삭제 | 댓글

    <p><strong><a href="http://www.burberrydiscount.org/">Burberry Discount</a></strong> developed a local community utilizing bags to write about in her appreciation and consciousness and also to preserve people within your loop about high quality replica artist handbag sites, such as touch bags.<br>
    <a href="http://www.burberryoutletshoponline.com/"><strong>Burberry Shop Online</strong></a> puts inside the work to can be found throughout only the extremely perfect high quality sites, steering toward magnitude of placing her on the internet protection inside the collection by attempting to purchase a replica artist handbag by method of the website itself.<br>
    <a href="http://www.onlinesburberryoutlet.com/"><strong>Burberry Outlet</strong></a> then talks concerning the website on blog of handbags. Luckily, these various quality websites are acquiring shut affordable inside the droves to make certain that people aren't scammed away from their hard-earned money.</p>

Write a comment


http://logging.apache.org/log4j/1.2/manual.html
top

Trackback Address :: http://www.ssial.com/trackback/217 관련글 쓰기

  1. Chanel Outlet 2011/09/17 21:43 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  2. Burberry Bags 2011/10/13 17:11 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog! From time to time students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. Thanks.

  3. abercrombie fitch 2011/12/13 21:11 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  4. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

Write a comment


1. LOG4J 구조

일단 log4j를 잘 모르지만 그 구조만 살짝 살펴보고 넘어갑시다
log4j는 크게 3가지 요소로 구성되며 그 구조는 다음과 같습니다

① Logger(Category) : 로그의 주체 (로그 파일을 작성하는 클래스)
     
     로깅 메세지를 Appender에 전달합니다.
     Log4j의 심장부에 위치하며, 개발자가 로그출력 여부를 런타임에 조정되도록 해준다.
     Logger는 로그레벨을 가지고 있으며, 로그의 출력여부는 로그문의 레벨과 로거의 레벨을 가지고 결정된다.

     어플리케이션을 작성하기전 어떤 로거를 사용해야 할지 정해야 한다.
     ex) static Logger logger = Logger.getLogger(SimpleLog.class);

     [참고] Commons-Logging 는 레퍼클래스도 존재함

② Appender : 로그를 출력하는 위치

     전달된 로깅 메세지를 파일에다 기록할 것인지, 콘솔에 출력할 것인지
     아니면 DB에 저장할 것인지 매개체 역활을 합니다.

     Log4J API문서의 XXXAppender로 끝나는 클래스들의 이름을 보면,
     출력위치를 어느정도 짐작할 수 있다.

     http://logging.apache.org/log4j/docs/api/index.html

③ Layout : Appender의 출력포맷

  Appender가 어디에 출력할 것인지 결정했다면 어떤 형식으로 출력할 것이지
  출력 layout을 결졍합니다.

  일자, 시간, 클래스명등 여러가지 정보를 선택하여 로그정보내용으로 지정할 수 있다.
  자세한 패턴은 아래의 클래스정보를 살펴보면 알수있다.

  ※ Layout의 종류

      1) DateLayout
      2) HTMLLayout
      3) PatternLayout ( 일반적으로 PatternLayout을 사용하는 것이 디버깅에 가장 적합함 )
      4) SimpleLayout
      5) XMLLayout

2. LOG4J 로깅 레벨

log4j는 다양한 로깅레벨을 지원합니다.

① FATAL : 가장 크리티컬한 에러가 일어 났을 때 사용합니다.
② ERROR : 일반 에러가 일어 났을 때 사용합니다.
③ WARN : 에러는 아니지만 주의할 필요가 있을 때 사용합니다.
④ INFO : 일반 정보를 나타낼 때 사용합니다.
⑤ DEBUG : 일반 정보를 상세히 나타낼 때 사용합니다.

레벨을 설정하면 그 이상의 레벨만 로깅하게 된다.
예를 들어 INFO로 설정한 경우 INFO, WARN, ERROR, FATAL이 로깅된다.

3. 샘플코드

파일명 : TestServlet.java

import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class TestServlet extends HttpServlet {
    static Logger logger = Logger.getLogger(TestServlet.class);

    public void init(ServletConfig config) throws ServletException {
         super.init(config);
    }

    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
         try {
              ...
              logger.info("Hellow World~");
              ...

          } catch (Exception e) {
              logger.error("Error at TestServlet", e);
          }
     }
}

4. LOG4J 설정

log4j.properties
를 만들어 /WEB-INF/classes 밑에 놓으세요

파일명 : log4j.properties

log4j.rootLogger=INFO, stdout, rolling
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=output.log
# 기본 경로는 %CATALINA_HOME%bin 디렉토리이다.
# 경로를 바꾸고 싶을 때에는 다음과 같이 C:/web/WEB-INF/logs/ssg.log 바꾼다.
log4j.appender.file.Append=true
log4j.appender.file.MaxFileSize=500KB
log4j.appender.file.DatePattern='.'yyyy-MM-dd
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n

** 설명

#최상위 카테고리에 INFO로 레벨 설정 및 appender로 stdout, file을 정의
log4j.rootLogger=INFO, stdout, file

#stdout 어펜더는 콘솔에 뿌리겠다는 정의
log4j.appender.stdout=org.apache.log4j.ConsoleAppender

#stdout 어펜더는 patternlayout을 사용하겠다는 정의
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

#페턴은 다음과 같이 포맷팅 하겠다는 것을 정의
log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n

#역시나 rolling 어펜더는 파일로 처리한다라고 정의
log4j.appender.rolling=org.apache.log4j.RollingFileAppender

#로그 파일 이름은 output.log
log4j.appender.rolling.File=output.log

#true면 톰캣을 내렸다 올려도 파일이 리셋되지 않습니다.
log4j.appender.rolling.Append=true

#파일 최대 사이즈는 500KB로 설정
log4j.appender.rolling.MaxFileSize=500KB

#파일 포맷은 output.log.2005-03-10 으로 관리하겠다고 정의
log4j.appender.rolling.DatePattern='.'yyyy-MM-dd

#역시나 rolling 어펜더는 패턴 레이아웃을 사용하겠다고 정의
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout

#rolling 어펜더는 패턴 레이아웃 포맷
log4j.appender.rolling.layout.ConversionPattern=%d %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n

☆☆☆☆☆☆☆☆☆☆☆☆☆
log4j.xml 관련 내용 추가 예정
☆☆☆☆☆☆☆☆☆☆☆☆☆


5. 설정 포맷

① 로그파일명 포맷 (DatePattern)

로그파일명 포맷입니다. 날짜, 시간 및 분단위로까지 로그 파일을 분리할 수 있습니다.
  
   ※ 형식 설명
      '.'yyyy-MM 매달 첫번째날에 로그파일을 변경합니다 
      '.'yyyy-ww 매주의 시작시 로그파일을 변경합니다.  
      '.'yyyy-MM-dd 매일 자정에 로그파일을 변경합니다. 
      '.'yyyy-MM-dd-a 자정과 정오에 로그파일을 변경합니다. 
      '.'yyyy-MM-dd-HH 매 시간의 시작마다 로그파일을 변경합니다.
      '.'yyyy-MM-dd-HH-mm 매분마다 로그파일을 변경합니다. 

② PatternLayout 포맷

로그자체를 어떤 포맷으로 남길지 결정합니다.
layout에는 HTMLLayout, PatternLayout, SimpleLayout, XMLLayout등이 있으며
PatternLayout이 일반적으로 가장 많이 쓰입니다.

형식 설명
%p debug, info, warn, error, fatal 등의 priority 가 출력된다.
%m 로그내용이 출력됩니다
%d 로깅 이벤트가 발생한 시간을 기록합니다.
포맷은 %d{HH:mm:ss, SSS}, %d{yyyy MMM dd HH:mm:ss, SSS}같은 형태로 사용하며 SimpleDateFormat에 따른 포맷팅을 하면 된다
%t 로그이벤트가 발생된 쓰레드의 이름을 출력합니다.
%% % 표시를 출력하기 위해 사용한다.
%n 플랫폼 종속적인 개행문자가 출력된다. \r\n 또는 \n 일것이다.
%c 카테고리를 표시합니다
예) 카테고리가 a.b.c 처럼 되어있다면 %c{2}는 b.c가 출력됩니다.
%C 클래스명을 포시합니다.
예) 클래스구조가 org.apache.xyz.SomeClass 처럼 되어있다면 %C{2}는 xyz.SomeClass 가 출력됩니다
%F 로깅이 발생한 프로그램 파일명을 나타냅니다.
%l 로깅이 발생한 caller의 정보를 나타냅니다
%L 로깅이 발생한 caller의 라인수를 나타냅니다
%M 로깅이 발생한 method 이름을 나타냅니다.
%r 어플리케이션 시작 이후 부터 로깅이 발생한 시점의 시간(milliseconds)
%x 로깅이 발생한 thread와 관련된 NDC(nested diagnostic context)를 출력합니다.
%X 로깅이 발생한 thread와 관련된 MDC(mapped diagnostic context)를 출력합니다.

예시) (같은 색끼리 보시면 됩니다)

위의 test.jsp를 다음 포맷으로 출력해본다면
[%c] [%C] [%d] [%F] [%l] [%L] [%m] [%M] [%n] [%p] [%r] [%t] [%x] [%X]는 다음과 같다

[test.jsp] [org.apache.jsp.test_jsp] [2005-03-10 12:37:23,561] [test_jsp.java] [org.apache.jsp.test_jsp._jspService(test_jsp.java:64)] [64] [fatal!!] [_jspService] [개행] [FATAL] [765567] [http-8080-Processor25] [] []


[출처] LOG4J 구조|작성자 블루문

top

Trackback Address :: http://www.ssial.com/trackback/162 관련글 쓰기

  1. 끌로에르 2009/06/09 13:25 댓글주소 | 수정/삭제 | 댓글

    좋은정보 감사합니다.

  2. 자바 2010/04/22 14:08 댓글주소 | 수정/삭제 | 댓글

    자바소스가 에러가 안나는게 신기하네요
    Logger 임포트도 안하셨는데

  3. abercrombie fitch 2011/12/13 21:11 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  4. abercrombie and fitch 2011/12/13 21:15 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

Write a comment


http://xdoclet.codehaus.org/  <--- xdoclet2

http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/web/WebXmlSubTask.html <--xdoclet1
top

Trackback Address :: http://www.ssial.com/trackback/127 관련글 쓰기

  1. Burberry Bags 2011/10/13 17:39 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog! From time to time students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. Thanks.

  2. Coach Outlet Online 2011/11/15 12:28 댓글주소 | 수정/삭제 | 댓글

    It's very good!Thank you for sharing it!I like buying handbags of the internet website:http://www.mycoachoutletstoreonline.com

  3. Coach Factory Online 2011/12/11 23:06 댓글주소 | 수정/삭제 | 댓글

    댓글주소 | 수정/삭제 | 댓글

  4. abercrombie fitch 2011/12/13 21:11 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  5. abercrombie and fitch 2011/12/13 21:15 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  6. Burberry Shop Online 2012/01/11 15:23 댓글주소 | 수정/삭제 | 댓글

    <p><strong><a href="http://www.burberrydiscount.org/">Burberry Discount</a></strong> developed a local community utilizing bags to write about in her appreciation and consciousness and also to preserve people within your loop about high quality replica artist handbag sites, such as touch bags.<br>
    <a href="http://www.burberryoutletshoponline.com/"><strong>Burberry Shop Online</strong></a> puts inside the work to can be found throughout only the extremely perfect high quality sites, steering toward magnitude of placing her on the internet protection inside the collection by attempting to purchase a replica artist handbag by method of the website itself.<br>
    <a href="http://www.onlinesburberryoutlet.com/"><strong>Burberry Outlet</strong></a> then talks concerning the website on blog of handbags. Luckily, these various quality websites are acquiring shut affordable inside the droves to make certain that people aren't scammed away from their hard-earned money.</p>

Write a comment