BLOG main image
분류 전체보기 (28)
루비 (3)
glassfish (1)
건아 (1)
RFC 한글 (0)
TIP (5)
VCS(Version Control System) (3)
perl (4)
java (2)
android (0)
javascript&Jquery (2)
기술문서 번역 (0)
사이베이스(ASE) (3)
용어 (2)
GAE&GCP (0)
사는 이야기 (1)
Visitors up to today!
Today hit, Yesterday hit
daisy rss
tistory 티스토리 가입하기!
'HPUX svn 유닉스 서브버전 subversion'에 해당되는 글 1건
2012. 6. 21. 17:14

System is:

HP-UX rx2660 B.11.31 U ia64 3683883812 unlimited-user license

(전자정부 프레임워크 서버 개발환경의 인스톨 파일이 HPUX용이 없는 관계로 개별 설치 해야한다.)


필요한 파일을 다운로드.


* SVN

subversion-1.7.3-ia64-11.31.depot.gz

* 의존성

apr_util-1.4.1-ia64-11.31.depot.gz

apr-1.4.6-ia64-11.31.depot.gz

cyrus_sasl-2.1.25-ia64-11.31.depot.gz

db-5.3.15-ia64-11.31.depot.gz

expat-2.0.1-ia64-11.31.depot.gz

gdbm-1.10-ia64-11.31.depot.gz

gettext-0.18.1.1-ia64-11.31.depot.gz

libiconv-1.14-ia64-11.31.depot.gz

ncurses-5.9-ia64-11.31.depot.gz

neon-0.29.6-ia64-11.31.depot.gz

openssl-1.0.1b-ia64-11.31.depot.gz

readline-6.2.001-ia64-11.31.depot.gz

sqlite-3.7.10-ia64-11.31.depot.gz

zlib-1.2.6-ia64-11.31.depot.gz


* depot 패키지로 설치
   패키지를 적당한 위치에 두고 설치
     # swreg -l depot /usr/temp/package_name.xxx       
     # swinstall -s /usr/temp/package_name.xxx     
 

   depot 패키지 관련 SW List 보기
       # swlist
       # swlist -a state -l fileset > swlist.txt


   SAM (Sysam Administrator Manager)
       #sam


※ 작업의 편의를 위해 svn이 설치된 곳을 .profile, bash_profile 등에 PATH를 잡아 준다. 시스템에 따라 틀림.

(PATH=/usr/sbin:$PATH:/sbin:/home/root:/usr/local/bin)

* kis1/web/svn/ 을 생성하고 repo라는 저장소 생성.

>svnadmin create --fs-type fsfs repo


*권한 수정

>chmod -R g+w repo


*설정파일 수정

> vi kis1/web/svn/repo/conf/svnserve.conf


anon-access = read
auth-access = write

password-db = passwd

세 개의 주석을 해제.


*설정파일 수정

> vi kis1/web/svn/repo/conf/passwd


id = pwd

추가


*svnserve 기동

> svnserve -d -r /kis1/web/svn/repo

*프로세스 확인

> ps -ef | grep svn
    root  3042 28092  0 13:33:58 pts/1     0:00 grep svn
    root  3040     1  0 13:33:50 ?         0:00 svnserve -d -r /kis1/web/svn/repo

*  프로젝트 생성

> svn mkdir svn://ip addresvnss/projectname

 

  --This line, and those below, will be ignored--

  A    svn://ip address/projectname

.

.

.


라고 출력되면 :q! 로 탈출하고 (c) 선택 후,


Authentication realm: <svn://ip address:3690> 9a056b38-bb46-11e1-be42-238edde49383
Password for 'root':
Authentication realm: <svn://ip address:3690> 9a056b38-bb46-11e1-be42-238edde49383
Username: xxxxx
Password for 'kisdev':xxxxx

인증을 거치고 나면 


Committed revision 1.


라고 출력.  

(문제가 있는 경우는 리비전이 출력되지 않는다. 인증, url 접속실패 등이 있을 수 있고 설정파일이나 명령어를 재확인하라)


* svn list 출력

> svn list svn://ip address

project name/


이 출력된다. project name의 list를 보고 싶으면svn list svn://ip address/project name


'VCS(Version Control System)' 카테고리의 다른 글

CVS 클라이언트 SSH 설정  (0) 2011.06.27
git cui인 tig를 설정해보자.  (0) 2011.05.25
prev"" #1 next