sách gpt4 ai đã đi

centos - Centos 版本会发生什么

In lại 作者:行者123 更新时间:2023-12-04 19:35:19 31 4
mua khóa gpt4 Nike

我有一个 Centos 服务器。
kết quả

$ cat /etc/centos-release    
CentOS Linux release 7.9.2009 (Core)
$ yum list installed
zip.x86_64 3.0-1.el6_7-1 @anaconda-CentOS-201703281317.x86_64/6.9
zlip.x86_64 1.2.3-29.el6 @anaconda-CentOS-201703281317.x86_64/6.9
........... ............ ........................................
zlip-devel.x86_64 1.2.3-29.el6 @anaconda-CentOS-201703281317.x86_64/6.9
都是el6的包。我的服务器是离线服务器,我从私有(private)注册表安装包。
现在我可以为 el6 安装软件包,但不能为 el7 安装。

1 Câu trả lời

您可以在另一台机器上下载 EPEL RPM 和其他软件包:

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -P ~/Downloads
wget https://centos.pkgs.org/7/centos-x86_64/zip-3.0-11.el7.x86_64.rpm -P ~/Downloads
wget https://centos.pkgs.org/7/centos-updates-x86_64/zlib-1.2.7-19.el7_9.x86_64.rpm -P ~/Downloads
wget https://centos.pkgs.org/7/centos-updates-x86_64/zlib-devel-1.2.7-19.el7_9.x86_64.rpm -P ~/Downloads
...然后将它们“sneakernet”到您的服务器(我会验证哈希值( https://getfedora.org/security/))。您还需要确保 /usr/sbin/ldconfig , /lib64/libc.so.6 , Và rtld (来自 glibc-2.17 )在您的系统上。
验证 RPM 后,您可以安装它们:
sudo yum install ~/Downloads/epel-release-latest-7.noarch.rpm
sudo yum install ~/Downloads/zip-3.0-11.el7.x86_64.rpm
sudo yum install ~/Downloads/zlib-1.2.7-19.el7_9.x86_64.rpm
sudo yum install ~/Downloads/zlib-devel-1.2.7-19.el7_9.x86_64.rpm

关于centos - Centos 版本会发生什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70604633/

31 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com