Centos7&银河麒麟v10升级到openssh-10.4p1版本
银河麒麟 V10 Server 在技术血统上源自 CentOS/RHEL 体系,两者共享 RPM 包格式、glibc 向后兼容机制、Linux 内核 ABI 稳定性、GCC 工具链和 FHS 目录规范,这五大支柱共同保证了 CentOS 7 编译的 RPM 包可以在银河麒麟 V10 上正常安装和运行。
但是反之不亦然,银河麒麟V10更像centos8,glibc采用了glibc 2.28,而centos7采用了glibc2.17,所以不能向下兼容。博客后续发布的版本,均基于centos7进行发布,包括但是不限于Nginx/Redis等软件包。
安装手册参考此文章:https://cikeblog.com/upgrade-openssh-to-openssh-10-0p1-under-centos7.html
此程序编译宿主机:
[root@021c6bf88088 x86_64]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) [root@021c6bf88088 x86_64]#
编译程序来源:
https://github.com/openssl/openssl/releases/download/openssl-3.0.16//openssl-3.0.16.tar.gz https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-10.1p1.tar.gz https://src.fedoraproject.org/repo/pkgs/openssh/x11-ssh-askpass-1.2.4.1.tar.gz/8f2e41f3f7eaa8543a2440454637f3c3/x11-ssh-askpass-1.2.4.1.tar.gz
编译后的程序,在centos7、银河麒麟v10 sp1上测试通过。
推荐安装命令:
rpm -ivh --force --nodeps --replacepkgs --replacefiles openssh-*.rpm
程序下载:
arm:https://download.cikeblog.com/openssh/openssh-10.4p1-1.el7.aarch64.tgz
x86:https://download.cikeblog.com/openssh/openssh-10.4p1-1.el7.x86_64.tgz
继续阅读