git安装 1、mnt下创建git路径 mkdir git 2、上传压缩包到git路径下并解压,下载地址 https://github.com/git/git/releases tar vxzf git-2.25.0-rc2.tar.gz 3、安装编译源码所需依赖 yum install curl- ...
分类:
其他好文 时间:
2020-01-14 23:50:09
阅读次数:
114
eact native搭建环境,安装homebrew的时候,在终端输入 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 提示: curl: (7) F ...
分类:
系统相关 时间:
2020-01-14 23:29:49
阅读次数:
235
错误信息: Clone failed RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. The remote end hung up unexpectedly early EOF index-pack f ...
分类:
Web程序 时间:
2020-01-14 14:45:41
阅读次数:
211
1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 或 mv /etc/yum/repos.d/CentOS-Base.repo{,.date -I} 2、下载新的CentOS-Base ...
分类:
其他好文 时间:
2020-01-14 13:00:46
阅读次数:
94
docker 002 安装docker-ce Docker Engine - Community 简称 docker-ce。 Ubuntu中安装 docker-ce 系统要求 系统为 64 位版本(16.04 及以上版本) 卸载旧版本 $ sudo apt-get remove docker doc ...
分类:
其他好文 时间:
2020-01-13 14:45:20
阅读次数:
103
今天用别人封装的libcurl库下载文件,发现下载下来的文件总是缺少头两个字节,用以下配置启用HTTP头信息打印后发现原来是设置了断点续传位置的原因 curl_easy_setopt(m_pCurl, CURLOPT_VERBOSE, 1L); 故了解了一下HTTP断点续传的相关设置 参考文章: 1 ...
分类:
Web程序 时间:
2020-01-13 14:31:58
阅读次数:
110
linux下网络端口连通性测试命令汇总 一、telnet ip port 1.1 安装: 安装telnet服务 【centos、ubuntu】安装telnet命令的方法.】 yum list telnet* 列出telnet相关的安装包 yum install telnet-server 安装tel ...
分类:
移动开发 时间:
2020-01-13 11:09:00
阅读次数:
115
报错明细: error: RPC failed; curl 18 transfer closed with outstanding read data remaining 方案一: 究其原因是因为curl的postBuffer的默认值太小,我们需要调整它的大小,在终端重新配置大小。 设置命令:git ...
分类:
Web程序 时间:
2020-01-12 20:14:09
阅读次数:
77
1.对所有索引去只读 curl -XPUT -H 'Content-Type: application/json' http://192.168.1.156:9200/_settings -d ' { "index": { "blocks": { "read_only_allow_delete": ...
分类:
其他好文 时间:
2020-01-12 13:39:57
阅读次数:
79
公司老的项目使用是php,要进行重构。其他团队使用php curl函数使用post方式调用Spring Cloud gateway 报time out错误。 但是使用postman测试是没有任何问题,php curl如果绕过网关直接访问接口也没有问题。结果发现了是因为: 使用Curl POST数据时 ...
分类:
编程语言 时间:
2020-01-12 11:21:25
阅读次数:
91