Get the App
SLTechnology News&Howtos  ›  Servers  › 

AIX6.1 install openss7.8 (memo)

Shulou Source: shulou.com Published: 2022-06-03 04:47:18 10月04日 Update

On the left above is my personal Wechat. For further communication, please add Wechat. On the right is my official account "Openstack Private Cloud". If you are interested, please follow us.

To meet the needs of a host reinforcement project, you need to install openssh7.8 on the test environment AIX6.1. Because there is no AIX CD-ROM drive and no installation disk, you can only find the relevant lib package to download and upload to the server. It is a bit messy. Record the memo.

I mainly refer to this web blog:

Https://blog.csdn.net/sanmao456/article/details/78432505

After the installation of AIX6.1, there is no gcc compilation environment by default, so you can only install the gcc compilation environment first, find a big circle on the Internet, and finally find all the installation packages. The relevant download address is recorded as follows:

Https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html#L

Downloaded related packages for gcc, including dependency packages:

Bash-4.4-3.aix6.1.ppc.rpm libmpc-devel-1.0.3-1.aix6.1.ppc.rpm

Bash-doc-4.3.30-1.aix6.1.ppc.rpm libstdcplusplus-6.3.0-2.aix6.1.ppc.rpm

Gcc-6.3.0-2.aix6.1.ppc.rpm libstdcplusplus-devel-6.3.0-2.aix6.1.ppc.rpm

Gcc-cplusplus-6.3.0-2.aix6.1.ppc.rpm mpfr-3.1.2-3.aix6.1.ppc.rpm

Gcc-cpp-6.3.0-2.aix6.1.ppc.rpm mpfr-devel-3.1.2-3.aix6.1.ppc.rpm

Gmp-6.1.2-1.aix6.1.ppc.rpm ncurses-6.0p20160730-1.aix6.1.ppc.rpm

Gmp-devel-6.1.2-1.aix6.1.ppc.rpm

Info-6.4-1.aix6.1.ppc.rpm

Libgcc-6.3.0-2.aix6.1.ppc.rpm zlib-1.2.11-1.aix6.1.ppc.rpm

Libmpc-1.0.3-1.aix6.1.ppc.rpm zlib-devel-1.2.11-1.aix6.1.ppc.rpm

The download address of the package ncurses-6.0p20160730-1.aix6.1.ppc.rpm is:

Http://www.bullfreeware.com/affichage.php?id=2947

I put the above installation package on the "working backup" of Baidu network disk.

Install using the rpm installer:

Rpm-ivh installation package name

Note that sometimes two packages depend on each other, and then the two package names are written at the same time.

Found that the installation failed, there is a dependency, follow the prompts to download and install the corresponding installation package. Simple such a sentence, contains how many bitter tears. It's too troublesome, but linux is easy to use.

Next, download the source program for openssh7.8, which was downloaded by my colleague, unzip it and enter it into the installation directory, and execute:

. / configure-prefix=/usr-sysconfdir=/etc/ssh-with-pam-with-ssl-dir=/usr/openssl-with-md5-passwords

Note that the above-prefix=/usr is the original ssh program installation directory, you can use which ssh to view the original ssh executable directory, my environment is in / usr/bin/ssh, therefore, the above configuration, the final make insall will directly overwrite the original version of ssh program.

Next:

Make

Make install

Finally, the installation is successful:

Tags: Environment directory program next two address version face compile memo success bitterness one word personal host easy to use CD-ROM public interest blog Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL Huawei vpn Shulou Information