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

블로그 이미지
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

최근에 올라온 글

최근에 달린 댓글

글 보관함