《运维--PlayBook》更新中.......!请访问: https://ops.cnmysql.com
glibc是gnu发布的libc库,即c运行库。glibc是linux系统中最底层的api,几乎其它任何运行库都会依赖于glibc。glibc除了封装linux操作系统所提供的系统服务外,它本身也提供了许多其它一些必要功能服务的实现。由于 glibc 囊括了几乎所有的 UNIX 通行的标准,可以想见其内容包罗万象。而就像其他的 UNIX 系统一样,其内含的档案群分散于系统的树状目录结构中,像一个支架一般撑起整个作业系统。在 GNU/Linux 系统中,其C函式库发展史点出了GNU/Linux 演进的几个重要里程碑,用 glibc 作为系统的C函式库,是GNU/Linux演进的一个重要里程碑。
升级有风险,可以能造成系统瘫痪,尽量在测试服务器上测试完,再升级生产环境,个人感觉用源码升级麻烦,风险更大!所有选用rpm包升级,
#查看当前glibc版本
#下载glibc安装包
#RPM安装
升级有风险,可以能造成系统瘫痪,尽量在测试服务器上测试完,再升级生产环境,个人感觉用源码升级麻烦,风险更大!所有选用rpm包升级,
#查看当前glibc版本
rpm -iq glibc | grep Version
#下载glibc安装包
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-2.9-2.x86_64.rpm
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-common-2.9-2.x86_64.rpm
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-devel-2.9-2.x86_64.rpm
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-utils-2.9-2.x86_64.rpm
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-common-2.9-2.x86_64.rpm
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-devel-2.9-2.x86_64.rpm
wget http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/x86_64/os/Packages/glibc-utils-2.9-2.x86_64.rpm
#RPM安装
rpm -Uvh --aid --nodeps glibc-common-2.9-2.x86_64.rpm
rpm -Uvh --aid --nodeps glibc-headers-2.9-2.x86_64.rpm
rpm -Uvh --aid --nodeps glibc-devel-2.9-2.x86_64.rpm
rpm -Uvh --aid --nodeps glibc-2.9-2.x86_64.rpm
rpm -Uvh --aid --nodeps glibc-headers-2.9-2.x86_64.rpm
rpm -Uvh --aid --nodeps glibc-devel-2.9-2.x86_64.rpm
rpm -Uvh --aid --nodeps glibc-2.9-2.x86_64.rpm