安装参考 https://blog.csdn.net/u010798968/article/details/74932124

 分析参考 https://blog.csdn.net/yiqin3399/article/details/51111899

 

glibc下载安装

http://ftp.gnu.org/gnu/glibc/

https://blog.csdn.net/cpplang/article/details/8462768

libc.so.6指向不是2.14或需要的版本的时候,需要手动将需要的版本拷贝到/lib64目录下,删除软链接(慎操作!!会导致机器起不来,命令用不了!如出现,及时#ldconfig命令救场)再恢复软链接。

#LD_PRELOAD=/lib64/libc-2.14.so ln -s/lib64/libc-2.14.so  /lib64/libc.so.6 

strings /lib64/libc.so.6 | grep GLIBC  出现所需版本即安装成功。

 

 

xz安装  https://www.cnblogs.com/toward-the-sun/p/7994069.html

xz使用 https://www.jb51.net/article/112859.htm

 

gcc 安装 yum -y install gcc

 报错如下,使用命令##yum clean all

#yum groupinstall -y "Desktop"

Failed to set locale, defaulting to C

 

-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory
[root@tarslpt028148 ~]# timed out waiting for input: auto-logout

报错参考 https://segmentfault.com/a/1190000004378075

 

 

nmon路径下执行命令 ./nmon -s3 -c60 -f -m ./report