ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • IBM AIX Curl & Wget 오픈소스 명령어 설치하기
    System of Infra/UNIX 2024. 1. 31. 00:16
    반응형

    AIX로고이미지
    IBM AIX Curl & Wget 오픈소스 명령어 설치

    IBM AIX Curl & Wget 오픈소스 명령어 설치하기

    ※ Curl & Wget Open Source Package
    - Curl : 다양한 통신 프로토콜을 이용하여 데이터를 전송하기 위한 라이브러리와 명령 줄 도구
    - Wget : 웹 서버로부터 콘텐츠를 가져오는 컴퓨터 명령 줄 도구

    Download URL : https://curl.se/download.html
    Download URL :
    https://dl.power-devops.com/bull/RPMS/ppc-5/wget/ 
    Server01:/opt/Wget] ls -ltr
    total 784
    -rw-r--r--    1 root     system       397520 Dec 15 11:04 wget-1.9.1-1.aix5.1.ppc.rpm
    ▶ /opt/Wget 디렉터리 생성 후 wget-1.9.1-1.aix5.1.ppc.rpm 파일을 업로드합니다
    erver01:/opt/Wget] rpm -Uvh  wget-1.9.1-1.aix5.1.ppc.rpm
    wget                        ##################################################
    ▶ wget-1.9.1-1.aix5.1.ppc.rpm 파일을 설치합니다.
    Server01:/opt/Wget] wget --version
    GNU Wget 1.9.1
    
    Copyright (C) 2003 Free Software Foundation, Inc.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
    ▶ wget --version 명령어 수행을 통해 패키지 설치가 완료된 것을 확인할 수 있습니다.
    Server01:/tmp/Curl>ls -al
    total 96760
    drwxr-xr-x    2 root     system          256 Dec 15 10:33 .
    drwxrwxrwt   45 bin      bin            4096 Dec 15 10:33 ..
    -rw-r--r--    1 root     system     49530880 Dec 15 10:33 yum_bundle_v1.tar
    ▶ /tmp/Curl 디렉터리 생성 후 yum_bundle_v1.tar 파일을 업로드합니다. 해당 패키지 안에는 Curl ~ python 등 패키지가 포함된 압축파일입니다.
    Server01:/tmp/Curl>tar -xvf yum_bundle_v1.tar
    x curl-7.44.0-1.aix6.1.ppc.rpm, 584323 bytes, 1142 media blocks.
    x db-4.8.24-3.aix6.1.ppc.rpm, 2897799 bytes, 5660 media blocks.
    x gdbm-1.8.3-5.aix5.2.ppc.rpm, 56991 bytes, 112 media blocks.
    x gettext-0.10.40-8.aix5.2.ppc.rpm, 1074719 bytes, 2100 media blocks.
    x glib2-2.14.6-2.aix5.2.ppc.rpm, 1686134 bytes, 3294 media blocks.
    x pysqlite-1.1.7-1.aix6.1.ppc.rpm, 51602 bytes, 101 media blocks.
    ...(생략)
    x python-tools-2.7.10-1.aix6.1.ppc.rpm, 830446 bytes, 1622 media blocks.
    x python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm, 158584 bytes, 310 media blocks.
    x readline-6.1-2.aix6.1.ppc.rpm, 489547 bytes, 957 media blocks.
    x sqlite-3.7.15.2-2.aix6.1.ppc.rpm, 1334918 bytes, 2608 media blocks.
    x yum-3.4.3-3.aix6.1.noarch.rpm, 1380343 bytes, 2696 media blocks.
    x yum-metadata-parser-1.1.4-1.aix6.1.ppc.rpm, 62211 bytes, 122 media blocks.
    ▶ tar 압축 패키지 파일을 풀어줍니다.
    Server01:/tmp/Curl>ls -ltr
    total 193504
    -rw-r-----    1 root     system        62211 Jun 28 2016  yum-metadata-parser-1.1.4-1.aix6.1.ppc.rpm
    -rw-r-----    1 root     system      1334918 Jun 28 2016  sqlite-3.7.15.2-2.aix6.1.ppc.rpm
    -rw-r-----    1 root     system       489547 Jun 28 2016  readline-6.1-2.aix6.1.ppc.rpm
    -rw-r-----    1 root     system       158584 Jun 28 2016  python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm
    -rw-r-----    1 root     system       830446 Jun 28 2016  python-tools-2.7.10-1.aix6.1.ppc.rpm
    -rw-r-----    1 root     system       162093 Jun 28 2016  python-pycurl-7.19.3-1.aix6.1.ppc.rpm
    ...(생략)
    -rw-r-----    1 root     system        51602 Jun 28 2016  pysqlite-1.1.7-1.aix6.1.ppc.rpm
    -rw-r-----    1 root     system      1686134 Jun 28 2016  glib2-2.14.6-2.aix5.2.ppc.rpm
    -rw-r-----    1 root     system      1074719 Jun 28 2016  gettext-0.10.40-8.aix5.2.ppc.rpm
    -rw-r-----    1 root     system        56991 Jun 28 2016  gdbm-1.8.3-5.aix5.2.ppc.rpm
    -rw-r-----    1 root     system       584323 Jun 28 2016  curl-7.44.0-1.aix6.1.ppc.rpm
    -rw-r-----    1 root     system      2897799 Jul 01 2016  db-4.8.24-3.aix6.1.ppc.rpm
    -rw-r--r--    1 root     system      1380343 Aug 26 2016  yum-3.4.3-3.aix6.1.noarch.rpm
    -rw-r--r--    1 root     system     49530880 Dec 15 10:33 yum_bundle_v1.tar
    ▶ 압축 풀기를 통해서 여러 개의 패키지의. rpm 파일 중 curl-7.44.0-1.aix6.1.ppc.rpm 파일을 설치하도록 하겠습니다.
    Server01:/tmp/Curl>rpm -ivh curl-7.44.0-1.aix6.1.ppc.rpm
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:curl-7.44.0-1                    ################################# [100%]
    ▶ rpm 명령어를 통해서 curl-7.44.0-1.aix6.1.ppc.rpm 패키지를 설치합니다.
    Server01:/tmp/Curl>curl --version
    curl 7.44.0 (powerpc-ibm-aix6.1.0.0) libcurl/7.44.0 OpenSSL/1.0.2t zlib/1.2.11
    Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
    Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
    ▶ curl --version 명령어 수행을 통해 패키지 설치가 완료된 것을 확인할 수 있습니다.

     

    PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.

    포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요. 

     

    반응형

    댓글

Designed by Tistory.