新版nexus(nexus-oss-3.73以上)会显示 Nexus was not configured with an encryption key and is using the Default key

这是因为nexus使用默认的密钥文件来加密数据,正式环境有能会有数据泄露风险,需要换成你自己的密钥文件加密 步骤如下: ou can follow the steps below for configuring an encryption key f...

  • 0
  • 0
  • shitian
  • 发布于 2024-10-30 12:21
  • 阅读 ( 40 )

curl 请求数据因为content-type 导致Unsupported Media Type

错误的请求如下:报Unsupported Media Type curl -X POST -d '{"username":"19926420263","password":"waglo127net","platform":"Android","client":"pos","shopId":0,"macNo":"197f0058f9b25b...

  • 0
  • 0
  • shitian
  • 发布于 2024-10-29 17:01
  • 阅读 ( 27 )

pom.xml 文件中配置私库下载和上传的方法

<!-- 以下部分为私库的配置-->           <!--配置远程私库的下载地址,允许release和snapshots 版本的依赖都可以下载 -->     <repositories>         <repository&gt...

  • 0
  • 0
  • shitian
  • 发布于 2024-10-21 17:18
  • 阅读 ( 22 )

一文搞懂Maven配置,从此不再糊涂下载依赖(文末有成品)

一般来说Maven都是配合着idea一起使用,下载依赖速度慢就去网上找个镜像配置一下,但总会遇到莫名其妙的问题,比如镜像源不生效、Error reading file pom.xml等等。今天详细讲解一下maven配置文...

  • 0
  • 0
  • shitian
  • 发布于 2024-10-14 00:44
  • 阅读 ( 27 )

canvas@2.11.2 报错,提示

npm配置文件: metrics-registry = "https://registry.npmmirror.com/" canvas_binary_host_mirror = "https://registry.npmmirror.com/-/binary/canvas/" chromedriver_cdnurl = "https://r...

  • 0
  • 0
  • shitian
  • 发布于 2024-10-11 12:16
  • 阅读 ( 25 )

天翼自己封装系统(欧拉 centos8.x)和阿里云自己封装系统(fedaro centos8.x) 安装软件 提示找不到 libssl.so.10 的解决方法

compat-openssl10-1.0.2o-3.el8.x86_64.rpm是一个用于兼容CentOS 8和RHEL 8操作系统中的OpenSSL 1.0.2版本的软件包。OpenSSL是一个广泛使用的加密库,我们可以将其应用于网络安全、加密通信、数...

  • 0
  • 0
  • shitian
  • 发布于 2024-10-05 19:01
  • 阅读 ( 41 )

cmake 编译mysql8.4时候报:Please do not build in-source. Out-of source builds are highly recommended

It wants you to create a separate build directory (anywhere), and run cmake there. For example:mkdir my_build_dir cd my_build_dir rm ../CMakeCache.txt cmake .. -DCMAKE_BUILD_TYPE=R...

  • 0
  • 0
  • shitian
  • 发布于 2024-09-30 00:22
  • 阅读 ( 29 )

ubuntu 20.0.4上安装percona mysql 8.0.X 顺序

apt install libgflags-dev debsums libmecab2 dpkg -i percona-server-common_8.0.37-29-1.focal_amd64.deb dpkg -i libperconaserverclient21_8.0.37-29-1.focal_amd64.deb  dpkg -i lib...

  • 0
  • 0
  • shitian
  • 发布于 2024-09-17 19:39
  • 阅读 ( 28 )

jenkins 源头在ubuntu中添加方式。

Jenkins Debian Packages This is the Debian package repository of Jenkins to automate installation and upgrade. To use this repository, first add the key to your system (for the We...

  • 0
  • 0
  • shitian
  • 发布于 2024-09-14 21:31
  • 阅读 ( 25 )

gitlab从13.1.11 升级到13.8.8 报502错误

From gitlab 13.0 Puma becoming default web server instead of Unicorn Starting with GitLab 13.0, Puma will be the default web server used in omnibus-gitlab based installations. Th...

  • 0
  • 0
  • shitian
  • 发布于 2024-09-13 23:41
  • 阅读 ( 57 )

gitlab 再机器重启后,所有服务器正常,报502

今天服务器重启了,gitlab服务所有服务都正常,访问页面报502错误,看日志发现,gitlab-workhorse 服务器中有报错信息: /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: conne...

  • 0
  • 0
  • shitian
  • 发布于 2024-09-08 22:57
  • 阅读 ( 39 )

PhpStorm配置Xdebug最完整最详解教程,100%成功!

前言 很多人好奇网上关于php配置xdebug的教程那么多,为什么我还要写这篇文章?因为网上的教程配置很乱,很多都是复制粘贴,有些配置项根本不需要,也不解释干嘛的,而且不够详细。 本教程主...

  • 0
  • 0
  • shitian
  • 发布于 2024-08-31 03:19
  • 阅读 ( 68 )

linux 下源码安装 rabbitMQ

一:下载对应的 Erlang和RabbitMq 版本对应关系,参考如下链接 https://www.rabbitmq.com/docs/which-erlang#erlang-repositories 二:下载对应的Erlang版本 下载地址: https://www.erlang....

  • 0
  • 0
  • shitian
  • 发布于 2024-08-28 21:22
  • 阅读 ( 81 )

VIM 入门教程

vim的三种模式 1.命令模式 当您启动 Vim 时,您会进入命令模式。在此模式下,您可以执行各种操作,例如移动光标、删除、复制和粘贴。常用命令:i :切换到输入模式,开始输入文本。x :删除当...

  • 0
  • 0
  • shitian
  • 发布于 2024-08-27 19:42
  • 阅读 ( 22 )

npm 配和clash 代理 下载国外依赖库

公司要接入特定域进行开发,所以被迫从 macOS 回到了 win 阵容,真的各种不习惯啊啊啊。最典型的就是切换中英文输入法,win 是 Shift 切换中英文,而 mac 是 CapsLock ,各种手忙脚乱。 进入正...

  • 0
  • 1
  • shitian
  • 发布于 2024-08-23 00:16
  • 阅读 ( 74 )

diff 与 patch 的使用

摘要 在 Linux 的日常使用中,我们经常需要修改一些配置文件,然而在软件升级以后,经常会面临配置更新后与原配置部分不兼容的问题(当然我们更多的可能是来制作软件升级的补丁)。在这种情况...

  • 0
  • 0
  • shitian
  • 发布于 2024-08-20 22:23
  • 阅读 ( 26 )

Certbot免费证书的安装·使用·自动续期

安装 (CentOS): yum update yum install certbot -y (Debian): apt update apt install certbot -y 有的云服务器可能需要提前安装epel源: yum install epel-release -y  使用 1...

  • 0
  • 0
  • shitian
  • 发布于 2024-08-20 13:10
  • 阅读 ( 26 )

奇怪的缓存一致性问题

天猫国际用户Push中心承接了国际用户触达相关的需求,比如短信、端内消息投放等等,并存在较高的并发场景。该系统此前发现了一个查询投放计划plan为null的异常情况,在初期排查时有些丈二和尚摸...

  • 0
  • 0
  • shitian
  • 发布于 2024-08-16 21:07
  • 阅读 ( 59 )

mysql初始化

mysqld --defaults-file=/etc/mysql/my.cnf --initialize --user=mysql

  • 0
  • 0
  • shitian
  • 发布于 2024-08-10 02:17
  • 阅读 ( 40 )

音视频标准名词说明

音视频传输和编码领域很多名字搞不清除,这里对一些常见的专业名词解释,留以备用:

  • 0
  • 0
  • shitian
  • 发布于 2024-07-26 11:32
  • 阅读 ( 24 )