Skip to content
Lhy's blog
welcome
  • 首页

Java面试基础

By lhy | 2025 年 7 月 7 日
0 Comment

Java 基础 1. JDK 和 JRE 有什么区别? 具体来说 JDK 其实包含了 JRE,同时还包含了编译… Read More »

Category: java 标签:java, 面试

Java多线程面试

By lhy | 2025 年 7 月 4 日
0 Comment

1) 什么是线程? 线程是操作系统能够进行运算调度的最小单位,它被包含在进程之中,是进程中的实际运作单位。程序… Read More »

Category: java 标签:java, 面试

系统代理排除内网ip

By lhy | 2025 年 6 月 11 日
0 Comment
Category: Linux 小技巧 脚本 标签:linux, windows, 常用命令

windows系统 bat开机执行路径

By lhy | 2025 年 4 月 27 日
0 Comment

C:\Users\Administrator\AppData\Roaming\Microsoft\Window… Read More »

Category: 小技巧 脚本 标签:bat, windows

prometheus部署

By lhy | 2025 年 4 月 22 日
0 Comment

prometheus docker部署 prometheus.yml 配置文件 grafana docker部… Read More »

Category: Linux 脚本 标签:docker, grafana, linux, prometheus

查看指定位置多日志文件,根据关键字符检索

By lhy | 2025 年 4 月 2 日
0 Comment

windows 在powershell中查看 D:\tmp\txtSplit下所有.txt格式文件中,“htt… Read More »

Category: java Linux 小技巧

100道JVM面试题大全最新版2023版

By lhy | 2025 年 3 月 9 日
0 Comment

100道与JVM相关的面试题,包括JVM基本概念、内存管理、垃圾回收、性能调优、JVM内存模型、JVM是什么意… Read More »

Category: java 标签:java, 面试

陕西省网上开据“无犯罪记录证明”

By lhy | 2025 年 1 月 9 日
0 Comment

一年只可申请2次 微信搜索“陕西公安”公众号 点击“网上办事”按钮 点击“无犯罪记录证明” 点击“在线申报” … Read More »

Category: 生活 标签:无犯罪记录证明, 陕西公安, 陕西省

docker创建proxy-client镜像(设置 -e 参数配置)

By lhy | 2024 年 12 月 30 日
0 Comment

文件夹目录 dockerFile ep.sh config.template docker构建及上传 进入pr… Read More »

Category: java Linux 小技巧 脚本 标签:docker, harbor, java, linux, proxy-client, 内网穿透

Linux配置代理

By lhy | 2024 年 12 月 23 日
0 Comment

命令行配置代理 配置环境变量 在命令行工具中使用代理,需要在环境变量中明确指定。 配置步骤: 编辑环境变量文件… Read More »

Category: Linux 小技巧 标签:docker, linux

GIT常用命令

By lhy | 2024 年 12 月 16 日
0 Comment

查看本地git用户信息 如果你想查看特定仓库的用户信息,可以去掉 –global 选项,… Read More »

Category: 小技巧 标签:git, 常用命令

接口响应Long转String注解

By lhy | 2024 年 8 月 20 日
0 Comment

在接口响应对象的字段上添加@JsonSerialize(using = ToStringSerializer.… Read More »

Category: java 小技巧 标签:java

基于kkFileView的文件预览,docker部署

By lhy | 2024 年 8 月 15 日
0 Comment

下载 github下载地址:https://github.com/kekingcn/kkFileView 下载… Read More »

Category: java Linux 小技巧 脚本 标签:docker, java, kkFileView, linux

基于pdf.js的pdf在线预览

By lhy | 2024 年 8 月 15 日
0 Comment

下载 官方下载地址 https://mozilla.github.io/pdf.js/getting_star… Read More »

Category: Linux 小技巧 标签:linux, nginx, pdf, pdfjs

windows hyper-v给linux(centos/rocky)扩容空间

By lhy | 2024 年 8 月 7 日
0 Comment

1.hyper操作 (1)虚拟机关机后,在设置中,查看硬盘驱动器中的虚拟磁盘及编号, (2)编辑磁盘->… Read More »

Category: Linux 小技巧 脚本 标签:hyperv, linux

如何将内网的服务用域名访问

By lhy | 2024 年 7 月 25 日
0 Comment

本次所需 域名,云服务器(为了云服务器的公网IP),内网穿透工具。本贴域名与云服务器皆为阿里云系。云服务器安装… Read More »

Category: Linux 小技巧 脚本 标签:linux, nginx, 内网穿透, 域名

Linux系统docker安装AList

By lhy | 2024 年 7 月 25 日
0 Comment

docker命令 执行后docker容器的log中会展示出admin账号的密码 页面登陆127.0.0.1:5… Read More »

Category: Linux 脚本 标签:AList, docker, linux

Linux下docker添加阿里镜像源

By lhy | 2024 年 7 月 15 日
0 Comment

阿里云->容器镜像服务->镜像工具->镜像加速器 安装/升级Docker客户端 推荐安装1.10.0以上版本的… Read More »

Category: Linux 小技巧 标签:docker, linux

Java 后端接收前端的<p>富文本数据,其中标签样式数据丢失解决

By lhy | 2024 年 7 月 11 日
0 Comment

问题描述: 前端传参的时候,某个参数中是富文本格式,传到后端接口后,接口接收的请求参数中的<table>… Read More »

Category: java 标签:java

ruoyi微服务后端集成mybatis-plus 3.5.6

By lhy | 2024 年 5 月 30 日
0 Comment

父类pom和公共pom依赖修改 ruoyi-parent pom.xml中添加 将properties下 &l… Read More »

Category: java 标签:java, maven, mybatis, mybatis-plus, ruoyi

k8s中通过yml给容器配置hosts

By lhy | 2024 年 5 月 30 日
0 Comment

pod配置 在Kubernetes中,如果你想要为你的容器配置特定的hosts条目,你可以使用Pod的host… Read More »

Category: 脚本 标签:hosts, k8s

Maven的scope

By lhy | 2024 年 5 月 28 日
0 Comment

compile 编译依赖范围。如果没有指定,就会默认使用该依赖范围。使用此依赖范围的Maven 依赖,对于编译… Read More »

Category: java 标签:java, maven

docker部署es,kibana

By lhy | 2024 年 5 月 23 日
0 Comment

创建docker-net 部署es 进入es容器,安装分词器 ./bin/elasticsearch-plug… Read More »

Category: Linux 脚本 标签:docker, es, kibana, linux

harbor宿主机重启后,登录密码失败,重置密码

By lhy | 2024 年 5 月 21 日
0 Comment

1,进入[harbor-db]容器内部 docker exec -it harbor-db /bin/bash… Read More »

Category: Linux 小技巧 标签:harbor, linux

将docker镜像推送到harbor

By lhy | 2024 年 5 月 16 日
0 Comment

1.将正在运行的clash容器打成镜像并推送 存在的docker容器 执行脚本 从harbor拉取制作镜像,并… Read More »

Category: Linux 小技巧 脚本 标签:docker, harbor, linux

常用正则

By lhy | 2024 年 5 月 14 日
0 Comment

1、 . . 匹配除换行符以外的任意字符。a.b 匹配 “axb”, “a… Read More »

Category: 小技巧 标签:常用命令, 正则

kubectl常用命令

By lhy | 2024 年 5 月 13 日
0 Comment

kubectl logs kubectl logs [-f] [-p] POD [-c CONTAINER] … Read More »

Category: Linux 小技巧 标签:k8s, kubectl, linux, 常用命令

将ruoyi前后端分离版本配置Jenkins流水线

By lhy | 2024 年 5 月 13 日
0 Comment

所需中间件 Jenkins+harbor+nexus+docker+k8s Jenkins执行流水线脚本命令 … Read More »

Category: java 脚本 标签:docker, dockerFile, java, jenkins, k8s, nginx

docker安装nexus,搭建maven私服

By lhy | 2024 年 5 月 13 日
0 Comment

docker安装nexus 创建/home/nexus目录,并给其赋予777权限,完成后执行如下命令,等待启动… Read More »

Category: java 小技巧 标签:docker, java, maven

连接有schema结构的数据库,默认schema

By lhy | 2024 年 5 月 13 日
0 Comment

国产神通数据库: ps: currentSchema=mySchema,还有这种写法 目前还没有尝试 2023… Read More »

Category: java 小技巧 标签:database, java, 神通数据库

spring boot捕获RuntimeException以json格式响应

By lhy | 2024 年 5 月 13 日
0 Comment

响应类,json的本体 业务异常类 业务异常类的helper 重点是异常处理类上@RestController… Read More »

Category: java 小技巧 标签:java, spring, spring boot

内网部署代理服务器

By lhy | 2024 年 5 月 13 日
0 Comment

背景:由于内网里需要翻墙的设备或者服务器较多,“梯子”只提供3个连接,且每个设备安装clash不现实,所以单独… Read More »

Category: Linux 小技巧 脚本 标签:linux, proxy, 梯子

内网环境,windows文件目录挂载到linux下

By lhy | 2024 年 5 月 13 日
0 Comment

前提条件:windows和linux在同一内网下;或者windows共享目录暴露在公网下,且linux可以访问… Read More »

Category: Linux 小技巧 脚本 标签:linux, windows

机场地址

By lhy | 2024 年 5 月 13 日
0 Comment

注意:博客中地址非永久地址 飞数 https://www.feishu111.com/#/login 墙外:h… Read More »

Category: 小技巧 标签:机场

公共DNS服务器ip地址

By lhy | 2024 年 5 月 13 日
0 Comment

一、114 纯净 无劫持 无需再忍受被强扭去看广告或粗俗网站之痛苦服务ip为:114.114.114.114 … Read More »

Category: 小技巧 标签:DNS

ES将已有索引结构及数据拷贝到新索引

By lhy | 2024 年 5 月 13 日
0 Comment

查询旧索引的结构详情 创建索引,将原索引的settings和mappins拷贝到下方对应位置因为新的索引用不到… Read More »

Category: 脚本 标签:ElasticSearch

linux中安装kubectl和minikube

By lhy | 2024 年 5 月 13 日
0 Comment

在 Linux 系统中安装 kubectl 1、用以下命令下载最新发行版 2、验证该可执行文件(可选步骤) 验… Read More »

Category: Linux 脚本 标签:k8s, kubectl, linux, minikube

mysql创建新用户新db且赋予权限

By lhy | 2024 年 5 月 13 日
0 Comment
Category: 脚本 标签:database, mysql

解决某C博客不能复制的问题

By lhy | 2024 年 5 月 13 日
0 Comment

如图,当前网页未登录,代码文本不能选中和复制 在页面上按f12,打开控制台,输入:document.body.… Read More »

Category: 小技巧 标签:CSDN

docker安装harbor

By lhy | 2024 年 5 月 13 日
0 Comment

前提:linux环境下有安装docker和docker-compose、docker尽量保持干净,harbor… Read More »

Category: Linux 标签:docker, harbor

linux常用命令

By lhy | 2024 年 5 月 13 日
0 Comment

解压缩 解压 压缩 总结 (1) *.tar 用 tar –xvf 解压(2) *.gz 用 gzip -d或… Read More »

Category: Linux 小技巧 脚本 标签:linux, 常用命令

docker部署nextcloud

By lhy | 2024 年 5 月 13 日
0 Comment

docker命令 docker执行完,浏览80端口,安装完成后执行如下代码 开启redis,在config/c… Read More »

Category: Linux 标签:docker, nextcloud

linux下安装docker和docker-compose

By lhy | 2024 年 5 月 13 日
0 Comment

安装docker centos8版 rocky8版 安装docker-compose https://gith… Read More »

Category: Linux 标签:docker, linux

docker部署常用中间件及常用命令

By lhy | 2024 年 5 月 13 日
0 Comment

命令解释 常用命令 Jenkins redis mysql gitlab rabbitMq nacos(ruo… Read More »

Category: Linux 脚本 标签:docker, gitlab, jenkins, mysql, nacos, rabbitMq, redis, 常用命令

docker部署WordPress

By lhy | 2024 年 5 月 13 日
0 Comment

1.docker run –name wordpress -p 80:80 -v /home/wo… Read More »

Category: Linux 标签:docker, linux

标签

AList bat CSDN database DNS docker dockerFile ElasticSearch git grafana harbor hosts hyperv java jenkins k8s kkFileView kubectl linux maven minikube mybatis mybatis-plus mysql nextcloud nginx pdf pdfjs prometheus proxy-client ruoyi spring spring boot windows 内网穿透 域名 常用命令 无犯罪记录证明 机场 梯子 正则 神通数据库 陕西公安 陕西省 面试

分类

  • java
  • Linux
  • 小技巧
  • 生活
  • 脚本

近期文章

  • Java面试基础
  • Java多线程面试
  • 系统代理排除内网ip
  • windows系统 bat开机执行路径
  • prometheus部署

近期评论

您尚未收到任何评论。

归档

  • 2025 年 7 月
  • 2025 年 6 月
  • 2025 年 4 月
  • 2025 年 3 月
  • 2025 年 1 月
  • 2024 年 12 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 5 月
Copyright 2018
custom footer text right
Iconic One Theme | Powered by Wordpress