[转]Centos7 安装新版本的git


从第三方仓库安装 添加 Wandisco 库: sudo vim /etc/yum.repos.d/git.repo [wandisco-git] name=Wandisco GIT Repository baseurl=http://opensource.wandisco.com/centos/

Mac终端名称修改


网上很多mac终端名称修改教程都是老的bash,现在使用zsh的不适用 %n:用户名 %m:主机名(短格式) %M:主机名(完整格式) %~:当前工作目录 %#:提示符符号(普通用户为 $,root 用户为 #) // 在~/.zshrc中增加,格式为 用户名:当前工作目录

Centos7.9下编译glibc2.18


最近要开始接手C++的项目,发现项目环境还在centos7.9上,很多依赖都是低版本的,想要vscode远程调试,发现要依赖gclibc2.18,没办法只好自己编译一个。 yum install -y epel-release yum install -y bison wget bzip2 gcc

关闭http自动跳转https


一、场景 公司网站 http:// 谷歌浏览器中自动转换成 https:// 导致无法访问 二、问题 nginx配置ssl 443接口, https:// 可以访问,但是接口均需要更改成 https:// 才能访问,否则会引发跨域问题 三、解决方案 浏览器禁用http自动转换成https 3.1 c

[Spring]启动性能统计


从项目https://github.com/linyimin0812/spring-startup-analyzer下载最新版本 启动增加agent: java -javaagent:/Users/huangxinchao/spring-startup-analyzer/lib/spring-pr

Starrocks单机TPC-H 1GB数据集生成


starrocks单机搭建 docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 -itd --name starrocks starrocks/allin1-ubuntu 下载数据集 wget https://starrocks-public.oss-

git push失败


其他push有成功的,排除了权限问题 错误日志: error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 send-pack: unexpected disconnect while reading side

JVM内存分配与设置


JVM参数设置 基本参数 通过一张图来了解如何通过参数来控制各区域的内存大小 控制参数 -Xms设置堆的最小空间大小。 -Xmx设置堆的最大空间大小。 -XX:NewSize设置新生代最小空间大小。 -XX:MaxNewSize设置新生代最大空间大小。

Redis5.x在mac(apple silicon)上编译


直接使用make命令进行编译,出现以下错误 replication.c:961:31: error: variable has incomplete type 'struct stat64' struct redis_stat buf;

HBase内存调优


Select the RegionServer scope and do the following: Set BucketCache IOEngine to offheap. Update the value of BucketCache Size according to the require