Installing OpenSSH and OpenSSL on AIX 6.1

Publicado: mayo 19, 2010 en aix, fast-tip, sysadmin, trick
Etiquetas:, , , , , , , , , ,

There are a lot of sites where the process is explained, just google a little bit.

I will describe the one that worked for me:

  • I am using AIX 6.1 TL4 (upgraded from AIX 5.3 TL6)
  • I have the AIX Toolbox For Linux Applications of 05.2009

I prefer to have openssh and openssl as native AIX packages. The problem is that .rpm files usually have dependencies with openssl, so I had to install the openssl rpm package as well.

First I downloaded both openssl 0.9.8.1103 (from IBM) and openssh 5.2p1 (from Sourceforge):

I installed it:

mkdir openssh_5.2p1_aix61 && cd openssh_5.2p1_aix61 && uncompress -c < ../openssh_5.2p1_aix61.tar.Z |tar -xvf - && installp -acXYgd . openssh
mkdir openssl.0.9.8.1103 && cd openssl.0.9.8.1103 && uncompress -c < ../openssl.0.9.8.1103.tar.Z |tar -xvf - && installp -acXYgd . openssl

Then I downloaded a compiled version of openssl 0.9.8 from perzl.org (AIX Toolbox For Linux Applications of 05.2009 comes with 0.9.7, but .rpms have dependencies on 0.9.8): http://www.perzl.org/aix/index.php?n=Main.Openssl. And I installed it rpm -i openssl-0.9.8n-1.aix5.1.ppc.rpm.

comentarios
  1. keymon dice:

    You can avoid the usage of openssl .rpm package, but you will get this error installing some packages:

    # rpm -vvi wget-1.9.1-2ssl.aix5.3.ppc.rpm
    D: counting packages to install
    D: found 1 packages
    D: looking for packages to download
    D: retrieved 0 packages
    D: New Header signature
    D: Signature size: 68
    D: Signature pad : 4
    D: sigsize : 72
    D: Header + Archive: 400988
    D: expected size : 400988
    D: opening database mode 0x102 in /opt/freeware/packages
    D: found 0 source and 1 binary packages
    D: requires: /sbin/install-info satisfied by db file lists.
    D: requires: /bin/sh satisfied by db provides.
    D: requires: libc.a(shr.o) satisfied by db provides.
    D: requires: libcrypto.a(libcrypto.so.0.9.8) unsatisfied.
    D: package wget require not satisfied: libcrypto.a(libcrypto.so.0.9.8)
    D: requires: libintl.a(libintl.so.1) satisfied by db provides.
    D: requires: libssl.a(libssl.so.0.9.8) unsatisfied.
    D: package wget require not satisfied: libssl.a(libssl.so.0.9.8)
    error: failed dependencies:
    libcrypto.a(libcrypto.so.0.9.8) is needed by wget-1.9.1-2ssl
    libssl.a(libssl.so.0.9.8) is needed by wget-1.9.1-2ssl

    To solve it you can:

    * Link the needed files to /opt/freeware:

    ln -s /usr/lib/libssl.a /opt/freeware/lib/libssl.a
    ln -s /usr/lib/libcrypto.a /opt/freeware/lib/libcrypto.a

    and force the installation with –nodeps
    * create a dummy .rpm package.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s