AIX에 LSOF를 설치하는 방법

AIX에 LSOF를 설치하는 방법

AIX에 LSOF를 설치하고 싶습니다.

나는 다음에서 프로그램을 다운로드했습니다.https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=aixbp&lang=en_US.

tar 파일의 압축을 푼 후에 추가 정보나 설치 가이드 파일이 표시되지 않습니다.

Unix 운영 체제를 처음 사용하는데 문제를 해결하는 데 도움을 주실 수 있나요?

답변1

나는 이것을 실현할 수 있었다. 내가 한 일은 다음과 같습니다.

[:/home/jfarnswo/installer/lsof_aix61_4.77] $ installp -l -d .
  Fileset Name                Level                     I/U Q Content
  ====================================================================
  lsof.base                   6.1.0.4700                 I  N usr,root
#   List Of Open Files

  lsof.license                6.1.0.4700                 I  N usr
#   List Of Open Files

  lsof.man.en_US              6.1.0.4700                 I  N usr
#   List Of Open Files Documentation - U.S. English

[:/home/jfarnswo/installer/lsof_aix61_4.77] $ installp -a -c -d . lsof
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.

  Selected Filesets
  -----------------
  lsof.base 6.1.0.4700                        # List Of Open Files
  lsof.license 6.1.0.4700                     # List Of Open Files
  lsof.man.en_US 6.1.0.4700                   # List Of Open Files Documenta...

  << End of Success Section >>

+-----------------------------------------------------------------------------+
                   BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
    3  Selected to be installed, of which:
        3  Passed pre-installation verification
  ----
    3  Total to be installed

+-----------------------------------------------------------------------------+
                         Installing Software...
+-----------------------------------------------------------------------------+

installp:  APPLYING software for:
        lsof.man.en_US 6.1.0.4700


. . . . . << Copyright notice for lsof.man.en_US >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G0382
   Copyright International Business Machines Corp. 2007, 2009.

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for lsof.man.en_US >>. . . .

Filesets processed:  1 of 3  (Total time:  6 secs).

installp:  APPLYING software for:
        lsof.license 6.1.0.4700


. . . . . << Copyright notice for lsof.license >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G0382
   Copyright International Business Machines Corp. 2008, 2009.

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for lsof.license >>. . . .

Filesets processed:  2 of 3  (Total time:  7 secs).

installp:  APPLYING software for:
        lsof.base 6.1.0.4700


. . . . . << Copyright notice for lsof.base >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G0382
   Copyright International Business Machines Corp. 2007, 2009.
   Copyright Free Software Foundation, Inc., 1985, 1989-1993, 1995-1998, 2000.
   Copyright Purdue Research Foundation, West Lafayette, Indiana, 1994

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for lsof.base >>. . . .

Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Finished processing all filesets.  (Total time:  8 secs).

+-----------------------------------------------------------------------------+
                                Summaries:
+-----------------------------------------------------------------------------+

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
lsof.man.en_US              6.1.0.4700      USR         APPLY       SUCCESS
lsof.license                6.1.0.4700      USR         APPLY       SUCCESS
lsof.base                   6.1.0.4700      USR         APPLY       SUCCESS
lsof.base                   6.1.0.4700      ROOT        APPLY       SUCCESS

답변2

언제든지 untar'd 디렉토리 안으로 들어가서 smitty installp. 설치 소스를 묻는 메시지가 나타나면 입력한 .다음 화면을 탐색합니다.

나는 일반적으로 "라이센스 계약 동의"를 "예"로 설정합니다.

답변3

어떤 파일이 보이나요?

만약 그것이 다음과 같다면

Change_log.txt
lsof.base
lsof.license
lsof.man.en_US

그렇다면 installp를 실행해야 할 것 같습니다.

다음과 같은 것을 시도해보세요

installp -l -d .
installp -a -c -d .

(압축이 풀린 lsof 디렉토리에 있다고 가정하고 그렇지 않으면 마침표/점 기호를 압축을 푼 디렉토리의 이름으로 변경하십시오)

AIX를 사용한지 꽤 됐으니 제 말이 맞는지 확인 부탁드립니다. "man installp"를 실행하거나 이 링크를 방문하면 문서를 볼 수 있습니다.http://www.regatta.cmc.msu.ru/doc/usr/share/man/info/ru_RU/a_doc_lib/cmds/aixcmds3/installp.htm

관련 정보