💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 升级说明 centos7自带的glibc满足要求,不需要升级. centos6需要升级glibc,但编译安装glibc极易出错导致系统命令不能使用,因此使用一下rpm包的方式升级 有网情况下,可以在线下载rpm包的方式 无网情况下,可以上传打包好的rpm包 ## 方式1 在线下载方式 ### 1)下载程序 ``` mkdir /data/tools/glibc -p && cd /data/tools/glibc wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-utils-2.17-55.el6.x86_64.rpm & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-static-2.17-55.el6.x86_64.rpm & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-headers-2.17-55.el6.x86_64.rpm & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/nscd-2.17-55.el6.x86_64.rpm & ``` ### 2)安装rpm包 ``` rpm -Uvh *-2.17-55.el6.x86_64.rpm --force --nodeps ldd --version ``` * 输出结果 > ldd (GNU libc) 2.17 ## 方式2 使用打包好的rpm包 ### 1)压缩包信息 * 包名 glibc_2.17.tar.gz * 包含的文件 `tar tf glibc_2.17.tar.gz ` > glibc_2.17/ glibc_2.17/glibc-common-2.17-55.el6.x86_64.rpm glibc_2.17/glibc-static-2.17-55.el6.x86_64.rpm glibc_2.17/glibc-headers-2.17-55.el6.x86_64.rpm glibc_2.17/glibc-utils-2.17-55.el6.x86_64.rpm glibc_2.17/glibc-devel-2.17-55.el6.x86_64.rpm glibc_2.17/glibc-2.17-55.el6.x86_64.rpm glibc_2.17/nscd-2.17-55.el6.x86_64.rpm ### 2)上传解压 ``` mkdir /data/tools/ -p && cd /data/tools/ #上传压缩包到本目录,上传过程略 tar xf glibc_2.17.tar.gz cd glibc_2.17 ``` ### 3)安装rpm包 ``` rpm -Uvh *-2.17-55.el6.x86_64.rpm --force --nodeps ldd --version ``` * 输出结果 > ldd (GNU libc) 2.17