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를 잡아 준다. 시스템에 따라 틀림.
* 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 |
공개키와 비밀키를 작성해서 공개키를 CVS 리포지토리에 심어둠으로써 해결할 수 있다.
생성된 공개키를 CVS 리포지토리에 등록한다.
CVS리포지토리에 로그인한 후 등록된 공개키를 인증완료된 키로서 등록한다.
.ssh 폴더를 작성하고 권한을 설정한다.
다음으로 공개키를 인증완료 리스트 파일(authorized_keys)에 등록한다.
authorized_keys에 쓰기 권한이 없는 경우는 chmod 755등으로 임시로 권한을 주고 시작한다.
작업완료후 chmod 400 ..잊지 않도록 한다.
'VCS(Version Control System)' 카테고리의 다른 글
HPUX에 SVN 설치하기 (1) | 2012.06.21 |
---|---|
git cui인 tig를 설정해보자. (0) | 2011.05.25 |
http://jonas.nitro.dk/tig/releases/ 에서 가장 최신버전 릴리즈를 다운로드 한다.
checking for working ncursesw... no
ncurses를 설치하고
% yum install ncurses-devel.`uname -i` -y
적당한 경로에서 다운로드 받거나 http://jonas.nitro.dk/tig/releases/에서 다운로드 한다.
% cd /tmp
% wget http://jonas.nitro.dk/tig/releases/tig-0.16.2.tar.gz
% tar -zxvf tig-0.16.2.tar.gz
% cd tig-0.16.2/
% ./configure
% make
% make install
% cd ../
다운받은 모듈 삭제
% rm -rf tig-0.16.2.tar.gz
% rm -rf tig-0.16.2
매뉴얼
http://jonas.nitro.dk/tig/manual.html
'VCS(Version Control System)' 카테고리의 다른 글
HPUX에 SVN 설치하기 (1) | 2012.06.21 |
---|---|
CVS 클라이언트 SSH 설정 (0) | 2011.06.27 |