自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 资源 (1)
  • 收藏
  • 关注

原创 Oracle基础命令入门

1.windows10安装Oracle 19https://www.oracle.com/database/technologies/oracle-database-software-downloads.html中间安装过程省略,可查看其他博客。2.安装PL/SQLhttps://www.allroundautomations.com/registered-plsqldev/当Oracle是最新的,那么相应的配套软件一定要安装最新,最新的软件不用使用繁琐的配置,软件里自带配置,.

2021-04-30 16:35:18 744

原创 Oracle SQLDeveloper ORA-01017 invalid username/password;logon denied

windows 下查看注册表开始 输入regedit查看HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb11g_home1\ORACLE_SID在linux中echo $ORACLE_SID在sql命令SQL> select instance_name from v$instance;

2021-04-27 17:16:17 192

原创 Kafka Linux安装 基础命令 Java入门

Kafka是什么? Apache Kafka是一个分布式发布-订阅消息传递系统和一个健壮的消息队列,可以处理海量数据,使您能够将消息快速从一个端点传递到另一个端点。Kafka适合离线和在线信息消费。Kafka式的消息被保存在磁盘上,并在集群中复制,以防止数据丢失。Kafka是建立在zookeeper同步服务之上的。它与Apache Storm和Spark集成得非常好,可用于实时流数据分析。优势 Kafka的一些优势如下 可靠性:Kafka是分布式的、分区的、复制的和容错的。 ...

2021-04-26 19:53:05 167

原创 ElasticSearch 常用JAVA API调用

本次使用的版本是Java High Level REST Client,transportClient已经在7.0废止,8.0完全移除。pom <!--引入es的坐标--> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-l.

2021-04-25 17:18:44 656

原创 ElasticSearch Kibana 高级操作

IK分词器的分词ik_max_word有IK分词器提供,分化的程度按照插件的自行判断,分得更加细而已。缺点:过于分化,多余条件检索#方式一ik_max_word 粗密度GET /_analyze{ "analyzer": "ik_max_word", "text": "LOL全球总决赛No.1"}ik_smart 少量关键字,推荐使用这个。#方式二ik_smart 细密度GET /_analyze{ "analyzer": "ik_smart"...

2021-04-24 04:05:58 1156

原创 linux下IK分词器安装和maven安装

maven安装# 下载maven包wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz# 解压到opt目录tar -zxvf apache-maven-3.6.3-bin.tar.gz -C /opt# 设置MAVEN_HOMEvim /etc/profile# maven配置export MAVEN_HOME=/.

2021-04-23 15:44:48 301

原创 ElasticSearch Restful API基础使用

Restful规范定义的接口。运维使用较多。环境Postman(测试) cmd(测试) kibana(测试) 知识要点操作索引 操作映射 操作文档1.操作索引关键词PUT表示增加GET表示获取DELETE表示删除POST表示更新增加索引cmdcurl -XPUT "192.168.135.143:9200/hikktn_index_1"Postman#http://ip:端口/索引名称http://192.168.13...

2021-04-22 17:38:12 220

原创 Linux ElasticSearch 安装和 head安装 和 Kibana安装

官网下载https://www.elastic.co/cn/downloads/elasticsearchhttps://www.elastic.co/cn/downloads/kibana链接:https://pan.baidu.com/s/1uWi-CyvFAdG253plp-SaJA提取码:ex6y环境VMware(虚拟机) centos7 (linux) ElasticSearch_7.4(搜索引擎) Kibana_7.4(辅助图形化查询数据) MobaXter..

2021-04-21 02:25:58 345

原创 Docker 私有仓库

一、私有仓库搭建# 1、拉取私有仓库镜像 docker pull registry# 2、启动私有仓库容器 docker run -id --name=registry -p 5000:5000 registry# 3、打开浏览器 输入地址http://私有仓库服务器ip:5000/v2/_catalog,看到{"repositories":[]} 表示私有仓库 搭建成功# 4、修改daemon.json vim /etc/docker/daemon.json # 在上述文件中...

2021-04-19 21:16:12 85

原创 Docker基本命令入门

Docker 命令Docker 进程相关命令启动docker服务systemctl start docker停止docker服务systemctl stop docker重启docker服务systemctl restart docker查看docker服务状态systemctl status docker开机启动docker服务systemctl enable dockerDocker 镜像相关命令查看镜像docker imagesd.

2021-04-19 20:26:18 1023 6

原创 SpringCloud之Zipkin链路追踪入门案例

Zipkin概述Spring Cloud Sleuth 其实是一个工具,它在整个分布式系统中能跟踪一个用户请求的过程,捕获这些跟踪数据,就能构建微服务的整个调用链的视图,这是调试和监控微服务的关键工具。耗时分析 可视化错误 链路优化安装启动zipkin。 java –jar zipkin.jar链接:https://pan.baidu.com/s/1mEo7oyaEKHvyvDCnGGO4mQ提取码:51xi访问zipkin web界面。 http://localhos...

2021-04-19 09:33:04 218

原创 SpringCloud之Stream整合RabbitMQ入门案例

Stream 概述使用中间件的组件,可选择的组件Kafka和RabbitMQ。基础springcloudhttps://blog.csdn.net/qq_41520636/article/details/115848795rabbitmqhttps://blog.csdn.net/qq_41520636/article/details/115473826hystrix-consumer 子工程pom <!-- stream -->

2021-04-19 07:46:56 717

原创 SpringCloud之Config分布式配置文件入门案例

Config 分布式配置文件从git上下载使用配置文件,会自动下载到C盘的缓存文件,随着业务的变动读取升级功能。基础https://blog.csdn.net/qq_41520636/article/details/115848274开始git准备选择gitee创建一个新仓库下载https://tortoisegit.org/download/新建文件config-dev.yml,dev代表开发版本项目结构新建con

2021-04-19 06:23:28 480

原创 SpringCloud之Gateway网关入门案例

Gateway 网关管理众多接口的链接,让网关一个url调控全部的子链接,不再需要运维人员或者开发人员修改大量的配置文件,防止url改错。基础https://blog.csdn.net/qq_41520636/article/details/115795547开始创建一个新项目,api-serverpom<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.or

2021-04-19 03:48:38 790

原创 SpringCloud之熔断监控Turbine

Hystrix 熔断Hystrix 熔断机制,用于监控微服务调用情况,当失败的情况达到预定的阈值(5秒失败20次),会打开断路器,拒绝所有请求,直到服务恢复正常为止。基础https://blog.csdn.net/qq_41520636/article/details/115774528将GoodsController.java代码改造为下面该类HystrixCommandProperties.javahystrix-monitorpom<?xml v

2021-04-17 16:00:35 280

原创 SpringCloud之Feign组合Hystrix降级入门案例

基础https://blog.csdn.net/qq_41520636/article/details/115668271Hystrix 降级Hystix 降级:当服务发生异常或调用超时,返回默认数据项目结构hystrix-provider(服务提供方)1、定义降级方法2、使用 @HystrixCommand 注解配置降级方法3、在启动类上开启Hystrix功能:@EnableCircuitBreakerpom<?xml version="1.0" .

2021-04-17 00:57:35 314

原创 SpringCloud之Ribbon负载均衡入门案例

基础https://blog.csdn.net/qq_41520636/article/details/115668271负载均衡Ribbon 负责均衡策略:随机 :RandomRule轮询 :RoundRobinRule最小并发:BestAvailableRule过滤:AvailabilityFilteringRule响应时间:WeightedResponseTimeRule轮询重试:RetryRule性能可用性:ZoneAvoidanceRule测试单机模式

2021-04-15 19:08:16 169

原创 SpringCloud之Nacos入门案例

下载https://nacos.io/zh-cn/https://github.com/alibaba/nacos/tags项目结构spring-cloud-parent:主项目nacos-consumer:消费者nacos-provider:生产者spring-cloud-parent 父工程<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org

2021-04-15 18:35:12 291

原创 SpringCloud之Consul入门案例

下载consul官网:https://www.consul.io项目结构spring-cloud-parent:主项目consul-consumer:消费者consul-provider:生产者spring-cloud-parent 父工程<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:.

2021-04-13 22:58:21 703

原创 SpringCloud之Eureka入门案例

项目结构spring-cloud-parent:主项目eureka-consumer:消费者eureka-provider:生产者eureka-server:提供者eureka-server-1:提供者1eureka-server-2:提供者2spring-cloud-parent 父工程pom<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.o

2021-04-13 16:26:23 296

原创 SpringBoot整合RabbitMQ高级特性

基础https://blog.csdn.net/qq_41520636/article/details/115473826进阶https://blog.csdn.net/qq_41520636/article/details/115562164消息可靠性投递pom引入 <dependency> <groupId>org.springframework.boot</groupId> <artifactId&g

2021-04-12 03:10:43 400

原创 SpringBoot整合RabbitMQ

基础https://blog.csdn.net/qq_41520636/article/details/115473826进阶项目结构简单模式pom引入 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-sta

2021-04-10 02:19:42 213

原创 linux 安装rabbitMQ以及入门案例

安装依赖环境yum install build-essential openssl openssl-devel unixODBC unixODBC-devel make gcc gcc-c++ kernel-devel m4 ncurses-devel tk tc xz安装Erlang链接:https://pan.baidu.com/s/1eBHi1MPnfpjDqtTboxKX4g提取码:r3qg上传erlang-18.3-1.el7.centos.x86_64.rpms...

2021-04-07 20:36:13 381 1

原创 SpringBoot整合SpringDataJPA入门案例

第一步,引入pom <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.4.RELEASE</version> <relativePath/> <!-

2021-04-06 21:58:59 226

原创 vmware linux 扩容【/dev/mapper/centos-root 100%】

进入VMware设置,添加硬盘查看挂载点信息[root@localhost ~]# df -h文件系统 容量 已用 可用 已用% 挂载点devtmpfs 893M 0 893M 0% /devtmpfs 910M 0 910M 0% /dev/shmtmpfs 910M 11M 900M...

2021-04-06 17:15:08 382

原创 Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;

首先我跟着百度上面的博客,进行学习和练习,springdatajpa的项目入门。先放现在的配置,pom <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.6.RELEASE</ve..

2021-04-02 17:14:54 719

原创 idea报错Could not autowire. No beans of ‘XXXXMapper‘ type found【已找到出错原因】

报错信息Could not autowire. No beans of 'rulesMapper'type found. less... (Ctrl+F1) Checks autowiring prob问题所在:经过我的排查,发现没有任何代码上的错误,mybatis中interface和xml之间的关系也正常,但是当在@Service中调用Mapper,不论是使用@Autowired和@Resource都发现错误提示,启动springboot也报找不到该类等等根据我的推测,应该是m..

2021-04-01 23:41:40 5549

原创 Drools规则引擎基础教程

前言曾经接触过一个电信移动通讯项目,每个案件大量的业务逻辑变更,但其实里面的业务改动,其实就是一些业务逻辑变动。而程序员编写的代码也没有任何技术含量,跟着式样书逐字逐句的翻译就行。大量的if/else判断遍布整个项目,维护难度极大。而这个drools规则引擎,可以方便的将业务的整体逻辑移出,更加方便程序的可读性。准备第一步,随便创建maven项目第二步,pom的引入 <dependency> <groupId>org.drools&

2021-04-01 01:03:57 1533 1

createfiles.vbs

只需要一个文件名,将文件上所有顶层文件夹创建好,复制好。

2021-02-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除