- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- depot파일 패키지묶는방법좀 알려주세요
HP-UX
1753971
회원
7625
온라인
108811
솔루션
포럼
범주
Company
Local Language
뒤로
포럼
토론 게시판
포럼
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
토론 게시판
토론 게시판
포럼
토론 게시판
뒤로
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
블로그
정보
커뮤니티 언어
언어
포럼
블로그
2 응답 2
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 10-16-2007 10:00 PM
날짜: 10-16-2007 10:00 PM
depot파일 패키지묶는방법좀 알려주세요
HPRC에 아래의 내용이 있습니다
swcopy, swpackage 명령을 이용하여, 작업을 하시면 됩니다.
아래의 예제는 a.depot, b.depot, c.depot 파일을 all.depot 파일로 만드는 방법을
설명하고 있습니다.
(a.depot, b.depot, c.depot 파일이 /tmp 아래에 존재한다고 가정하였습니다.)
1. depot 파일을 풀어놓을 임시(temporary) 디렉터리를 만듭니다.
# mkdir /tmp/all_depot
2. swcopy 명령을 사용하여, 각 depot 파일을 1. 에서 만든 디렉터리로 copy 합니다.
# swcopy -v -s /tmp/a.depot @ /tmp/all_depot
# swcopy -v -s /tmp/b.depot @ /tmp/all_depot
# swcopy -v -s /tmp/c.depot @ /tmp/all_depot
3. depot 디렉터리를 등록합니다. (옵션사항)
# swreg -l depot /tmp/all_depot
4. swpackage 명령을 사용하여, copy 한 파일을 하나로 묶습니다.
(/tmp/all.depot 파일로 생성)
# swpackage -s /tmp/all_depot -x target_type=tape @ /tmp/all.depot
5. 확인방법
# swlist -l /tmp/all.depot
위의 명령을 수행하면, all.depot 파일내에, a, b, c 의 depot 파일이
포함되어 있음을 알 수 있습니다.
그럼~~~
swcopy, swpackage 명령을 이용하여, 작업을 하시면 됩니다.
아래의 예제는 a.depot, b.depot, c.depot 파일을 all.depot 파일로 만드는 방법을
설명하고 있습니다.
(a.depot, b.depot, c.depot 파일이 /tmp 아래에 존재한다고 가정하였습니다.)
1. depot 파일을 풀어놓을 임시(temporary) 디렉터리를 만듭니다.
# mkdir /tmp/all_depot
2. swcopy 명령을 사용하여, 각 depot 파일을 1. 에서 만든 디렉터리로 copy 합니다.
# swcopy -v -s /tmp/a.depot @ /tmp/all_depot
# swcopy -v -s /tmp/b.depot @ /tmp/all_depot
# swcopy -v -s /tmp/c.depot @ /tmp/all_depot
3. depot 디렉터리를 등록합니다. (옵션사항)
# swreg -l depot /tmp/all_depot
4. swpackage 명령을 사용하여, copy 한 파일을 하나로 묶습니다.
(/tmp/all.depot 파일로 생성)
# swpackage -s /tmp/all_depot -x target_type=tape @ /tmp/all.depot
5. 확인방법
# swlist -l /tmp/all.depot
위의 명령을 수행하면, all.depot 파일내에, a, b, c 의 depot 파일이
포함되어 있음을 알 수 있습니다.
그럼~~~
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 10-16-2007 10:00 PM
날짜: 10-16-2007 10:00 PM
depot파일 패키지묶는방법좀 알려주세요
test:/test]swcopy -v -s /test/PHCO_35732.depot @ /test/all_depot/
test:/test]swcopy -v -s /test/PHCO_35732.depot @ /test/all_depot/
수행하면 swinstall화면으로 넘어가듯이 갑니다..
NOTE: The interactive UI was invoked, since no software was
specified.
Starting the terminal version of swcopy...
To move around in swcopy:
- use the "Tab" key to move between screen elements
- use the arrow keys to move within screen elements
- use "Ctrl-F" for context-sensitive help anywhere in swcopy
On screens with a menubar at the top like this:
------------------------------------------------------
|File View Options Actions Help|
| ---- ---- ------- ------------------------------- ---|
- use "Tab" to move from the list to the menubar
- use the arrow keys to move around
- use "Return" to pull down a menu or select a menu item
- use "Tab" to move from the menubar to the list without selecting a menu item
- use the spacebar to select an item in the list
On any screen, press "CTRL-K" for more information on how to use the keyboard.
Press "Return" to continue...
test:/test]swreg -l depot /test/all_depot
======= 10/16/07 10:34:14 KST BEGIN swreg SESSION (non-interactive)
* Session started for user "root@test".
* Beginning Selection
* Targets: test
* Objects: /test/all_depot
ERROR: There is currently no depot software on host "test" at
location "/test/all_depot". Make sure that an absolute
pathname is specified for location (beginning with "/").
ERROR: More information may be found in the daemon logfile on this
target (default location is test:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 10/16/07 10:34:14 KST END swreg SESSION (non-interactive)
test:/test]swpackage -s /test/all_depot/ -x target_type=tape @ /test/all.depot
======= 10/16/07 10:34:46 KST BEGIN swpackage SESSION
* Session started for user "root@test".
* Source: test:/test/all_depot/
* Target: test:/test/all.depot
* Software selections:
*
* Beginning Selection Phase.
* Reading the source depot "/test/all_depot/".
ERROR: The expected depot or root does not exist at
"/test/all_depot/".
ERROR: Cannot read the source depot "/test/all_depot/".
======= 10/16/07 10:34:46 KST END swpackage SESSION
all_depot디렉토리에 catalog,swagent.log
두개파일만 생기네요...
test:/test]swcopy -v -s /test/PHCO_35732.depot @ /test/all_depot/
수행하면 swinstall화면으로 넘어가듯이 갑니다..
NOTE: The interactive UI was invoked, since no software was
specified.
Starting the terminal version of swcopy...
To move around in swcopy:
- use the "Tab" key to move between screen elements
- use the arrow keys to move within screen elements
- use "Ctrl-F" for context-sensitive help anywhere in swcopy
On screens with a menubar at the top like this:
------------------------------------------------------
|File View Options Actions Help|
| ---- ---- ------- ------------------------------- ---|
- use "Tab" to move from the list to the menubar
- use the arrow keys to move around
- use "Return" to pull down a menu or select a menu item
- use "Tab" to move from the menubar to the list without selecting a menu item
- use the spacebar to select an item in the list
On any screen, press "CTRL-K" for more information on how to use the keyboard.
Press "Return" to continue...
test:/test]swreg -l depot /test/all_depot
======= 10/16/07 10:34:14 KST BEGIN swreg SESSION (non-interactive)
* Session started for user "root@test".
* Beginning Selection
* Targets: test
* Objects: /test/all_depot
ERROR: There is currently no depot software on host "test" at
location "/test/all_depot". Make sure that an absolute
pathname is specified for location (beginning with "/").
ERROR: More information may be found in the daemon logfile on this
target (default location is test:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 10/16/07 10:34:14 KST END swreg SESSION (non-interactive)
test:/test]swpackage -s /test/all_depot/ -x target_type=tape @ /test/all.depot
======= 10/16/07 10:34:46 KST BEGIN swpackage SESSION
* Session started for user "root@test".
* Source: test:/test/all_depot/
* Target: test:/test/all.depot
* Software selections:
*
* Beginning Selection Phase.
* Reading the source depot "/test/all_depot/".
ERROR: The expected depot or root does not exist at
"/test/all_depot/".
ERROR: Cannot read the source depot "/test/all_depot/".
======= 10/16/07 10:34:46 KST END swpackage SESSION
all_depot디렉토리에 catalog,swagent.log
두개파일만 생기네요...
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP