user.anonymous%!(EXTRA int64=157)
解决node: /lib64/libm.so.6: version `GLIBC_2.27‘ not found问题

由于jenkins服务器是centos7.5的系统,在使用nodejs 20版本打包时,提示node: /lib64/libm.so.6: version 'GLIBC 2.27' not found, 这是因为Node v18开始,需要GLIBC 2.27支持。 查看当前系统支持的GLIBC版本 strings /lib64/libc.so.6 |grep GLIBC 输出结果 GLIBC 2.2.5 …… GLIBC 2.16 GLIBC 2.17 解决方案 替换yum镜像源 众所周知 centos7的

解决node: /lib64/libm.so.6: version `GLIBC_2.27‘ not found问题
user.anonymous%!(EXTRA int64=157)
Redis集群 高性能缓存服务

Redis 安装步骤 准备工作 (1)确保系统安装zlib,否则gem install会报(no such file to load zlib) 下载:zlib 1.2.6.tar ./configure make make install (2)安装ruby1.9.2 cd /文件夹路径/ruby ./configure //指定编译后的路径 make make install (3)安装 rubygems 1.8.16.tgz cd /文件夹路径/rubygems sudo ruby setup.rb

user.anonymous%!(EXTRA int64=157)
Java设计模式(转)——11.组合模式

11.组合模式(Composite) 组合模式有时又叫部分 整体模式,在处理类似树形结构的问题时比较方便,看看关系图: 直接来看代码: public class TreeNode { private String name; private TreeNode parent; private Vector<TreeNode children = new Vector<TreeNode (); public TreeNode(String name){ this.name = name; } public St

Java设计模式(转)——11.组合模式