上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
摘要: #Requires -Version 5.1 #Requires -RunAsAdministrator function Disable-Network { param ( [string] $folderName ) if (($result = Read-Host "Press enter t 阅读全文
posted @ 2024-12-19 08:59 Ashe|||^_^ 阅读(341) 评论(0) 推荐(1)
摘要: 准备工作: https://www.cnblogs.com/ashet/p/18535029 https://www.cnblogs.com/ashet/p/18544448 通过以上两篇博客,先在服务器搭建好Elasticsearch和Kibana,并在Elasticsearch中创建好index 阅读全文
posted @ 2024-12-18 16:59 Ashe|||^_^ 阅读(363) 评论(0) 推荐(0)
摘要: import java.time.ZonedDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; public class Main { public static void main(String 阅读全文
posted @ 2024-12-18 08:59 Ashe|||^_^ 阅读(396) 评论(0) 推荐(0)
摘要: 笔者目前使用过的ssh工具有Xshell、MobaXterm、Tshell、Putty、Electerm、FinalShell。 Terminus:不吹,就是看上去很牛逼。https://termius.com/ Tshell:好看,好用。https://www.tshell.online/ Put 阅读全文
posted @ 2024-11-22 11:14 Ashe|||^_^ 阅读(339) 评论(0) 推荐(0)
摘要: 问题:我在阿里云服务器ecs上启动了Elasticsearch服务,并(通过ssh工具)放行了9200端口,但是在本地电脑上telnet ${server_ip } 9200却失败了 要在阿里云服务器上开放端口,通常需要执行以下步骤: 1、在服务器内部(操作系统层面)放行端口。(解除操作系统的防火墙 阅读全文
posted @ 2024-11-21 14:59 Ashe|||^_^ 阅读(213) 评论(0) 推荐(0)
摘要: 在此之前,请先安装Elasticsearch并启动,并创建一些index 一、下载安装包并解压安装 https://www.elastic.co/downloads/kibana terminal进入Kibana安装目录,通过.\bin\kibana.bat指令启动。 如果你是安装在Linux服务器 阅读全文
posted @ 2024-11-13 17:46 Ashe|||^_^ 阅读(182) 评论(0) 推荐(0)
摘要: 1、前情提要: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/installation.html 以上是Elasticsearch对接Java的官方文档(pom依赖部分) 我本地Windows 阅读全文
posted @ 2024-11-11 17:39 Ashe|||^_^ 阅读(524) 评论(1) 推荐(1)
摘要: 在Elasticsearch中,索引的健康状态(health status)反映了索引的分片分配情况和集群的整体健康状况。这些状态可以帮助您快速了解索引和集群的运行情况。以下是Elasticsearch中索引的三种健康状态及其意义: 1. green(绿色)含义:所有主分片(primary shar 阅读全文
posted @ 2024-11-11 11:30 Ashe|||^_^ 阅读(871) 评论(0) 推荐(1)
摘要: https://www.elastic.co/downloads/elasticsearch 1、先下载压缩包,然后解压 2、修改配置文件的字符集 在此文件末尾添加一行(此步骤仅限于8.15.3 version或之前的版本,之后我安装8.16.0version则不需要修改此配置文件) -Dfile. 阅读全文
posted @ 2024-11-08 14:46 Ashe|||^_^ 阅读(75) 评论(0) 推荐(0)
摘要: 对于一些解耦异步行为,往往会使用到MQ消息队列,但是很多时候可能由于条件受限没有可使用的消息队列供我们使用,那么则可以使用Redis来实现简单的消息发布订阅。 很简单,只需要三个类即可实现。 /** * MQ频道主题配置 */ @Configuration public class RedisCon 阅读全文
posted @ 2024-11-03 03:45 Ashe|||^_^ 阅读(48) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页