'설치'에 해당되는 글 2건

  1. 2007.12.07 sw 관련 명령어들
  2. 2007.11.09 패치 설치

2007. 12. 7. 12:37 Unix/HP-UX

sw 관련 명령어들

o What is the smallest object that you can install with swinstall?
    - 아래 그림은 sw관련 명령으로 다룰 수 있는 패키지(?)의 포함관계 구조이다.
사용자 삽입 이미지
    - Bundle > Product > Sub product > fileset > file, control files


o swconfig
    - configure, unconfigure, or reconfigure installed software
o swcopy
    - install and configure software products; software products for subsequent
      installation or distribution; respectively
o swgettools
    - Utility for retrieving the SD product from new SD media in preparation for an OS update.
o swinstall
    - install and configure software products; software products for subsequent
      installation or distribution; respectively
o swjob
    - display and monitor job information and create and remove jobs; invoke graphical user interface
      to display and monitor job information and create and remove jobs; respectively
o swlist
    - display information about software products
o swmodify
    - modify software products in a target root or depot
o swpackage
    - package software products into a target depot or tape
o swreg
    - register or unregister depots and roots
o swremove
    - unconfigure and remove software products
o swverify
    - verify software products

o 사용예
    - 어떤 Base 및 OE가 설치되었는가?
        # swlist -l bundle HPUXBase* HPUX11i-OE*
    - 어떤 SW가 OE의 일부분으로(as part of OE) 설치되었는가?
        # swlist -l product HPUX11i-OE*
    - 상위레벨 OE로 업그레이드하고자 할 때 어떤 OE가 core depot에 있는가?
        # swlist -l bundle -s /cdrom HPUX11i-OE*
    - HPUX11i OE에서 Mission Critical OE로 upgrade하려면
        # /usr/sbin/update-ux -s /cdrom HPUX11i-OE-MC
    - Mission Critical OE에서 HPUX11i OE로 downgrade하려면
        # /usr/sbin/update-ux -s /cdrom -y HPUX11i-OE                   ; 하위 OE 설치
        # /usr/sbin/swremove HPUX11i-OE-MC                                ; 상위 OE 제거
반응형
Posted by She쥐포s

2007. 11. 9. 10:08 Unix/HP-UX

패치 설치

설치 지침(Instructions):

Please review all instructions and the Hewlett-Packard
SupportLine User Guide or your Hewlett-Packard support terms
and conditions for precautions, scope of license,
restrictions, and, limitation of liability and warranties,
before installing this patch.

=> 패치를 설치하기 전에 모든 지침을 읽어보라는 뜻.. (ㅡ.ㅡ)
------------------------------------------------------------
1. 패치를 설치하기 전에 시스템을 백업한다.

2. root로 로그인한다.

3. 패치를 /tmp 디렉토리에 복사한다.

4. /tmp 디렉토리로 이동하여 패치를 푼다(unshare):
    # cd /tmp
    # sh PHSS_XXXXX

5. 패치를 설치하기 위해 swinstall을 실행한다:

    # swinstall -x autoreboot=true -x patch_match_target=true \
                                       -s /tmp/PHSS_XXXXX.depot

기본적으로 swinstall은 원본(Original) 소프트웨어를 /var/adm/sw/save/PHSS_XXXXX
저장할 것이다. 원본 소프트웨어의 복사본을 보존하지 않으려면 patch_save_files 옵션을
위의 swinstall 명령에 포함시켜라:

               -x patch_save_files=false

주의 : 만일 patch_save_files 옵션이 false로 주어진 채 패치가 설치되면, 그 패치는 제거할
수 없다. 이 기능을 사용할 때는 조심하기 바란다.

향후에 참고하고자 할 때 PHSS_XXXXX.text 파일의 내용은 product readme에서 이용할 수 있다.

    # swlist -l product -a readme -d @ /tmp/PHSS_XXXXX.depot

이 패치를 자기 테잎에 넣고 테잎에서 설치를 하려면 다음의 명령을 사용하라:

    # dd if=/tmp/PHSS_XXXXX.depot of=/dev/rmt/0m bs=2k
반응형
Posted by She쥐포s
이전버튼 1 이전버튼

블로그 이미지
She쥐포s
Yesterday
Today
Total

달력

 « |  » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

글 보관함