飘逸峰的博客

Spring--Java程序员的春天

摘要

  • 测试环境:macOS 13.7.1,Python 3.11.3
  • 今天将pip升级(pip install --upgrade pip)到24.3.1版本后,通过pip install命令安装依赖时会报错,比如:
1
2
$ pip install certifi
Could not fetch URL https://pypi.org/simple/certifi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/certifi/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))) - skipping
  • 很奇怪,从pip自己的网站上下载依赖都会出现证书无法验证的错误。测试了一下,该问题只在macOS上遇到,其他平台没有遇到过。
  • 先说结论,推荐使用第五种方法。
阅读全文 »

摘要

阅读全文 »

摘要

  • 解决Linux索引节点(inode)用满导致故障的方法

阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »

摘要

  • 本文介绍如何使用SpringBoot配置MongoDB7.0的连接池

  • SpringBoot版本3.2.4,MongoDB版本7.0.6

  • 关于springboot与mongodb的集成可以参考:MongoDB7.0--SpringBoot单集合操作,本文只讨论连接池相关内容。

阅读全文 »

摘要

  • 本文介绍MongoDB7.0的一些有用的功能,比如运行js,查看慢查询日志等等

  • MongoDB官方文档

  • 本文基于CentOS8(x86_64)

阅读全文 »

摘要

  • 本文介绍Linux下MongoDB Command Line Database Tools的安装与使用

  • MongoDB Command Line Database Tools官方文档

  • 本文基于CentOS8(x86_64)

阅读全文 »

摘要

  • 本文介绍Linux下MongoDB7.0复制集的安装和使用

  • MongoDB官方文档

  • 本文基于CentOS8(x86_64)

  • Mongodb分片集群搭建参看MongoDB 分片集群搭建,虽然是基于4.4版本的,但是安装方式差别不大,只是配置文件中个别的属性名称发生了变化。

阅读全文 »
0%