码迷,mamicode.com
首页 >  
搜索关键字:yml    ( 1998个结果
consul+ansible+shell批量下发注册node_exporter
--日期:2020年7月21日 --作者:飞翔的小胖猪 文档功能说明: 文档通过ansible+shell+consul的方式实现批量下发安装Linux操作系统监控的node_exporter软件,自动加载node_exporter软件到系统开机启动中并通过consul注册的功能。为部署promet ...
分类:系统相关   时间:2020-07-22 01:50:56    阅读次数:134
springboot项目yml中使用中文注释报错的解决方法1
启动springboot项目时报错:/application.yml.....这大致就是说application.yml有问题,那么目前我所知道的大致两种情况会报错,第一种是yml格式有问题,要注意缩进和空格,第二种就是其中存在中文注释。第二种bug的解决方法如下: 1.先删掉现有的yml中的所有中 ...
分类:编程语言   时间:2020-07-19 23:25:40    阅读次数:91
运行配置 Nginx 容器
前言 本文简记运行、配置 Nginx 容器的过程。 启动 Nginx 容器 拉取 Nginx 镜像 命令: sudo docker pull nginx:latest 编写 dockr-compose.yml 文件 在 /opt 目录下创建文件夹 docker_nginx 。 sudo mkdir ...
分类:其他好文   时间:2020-07-19 23:24:28    阅读次数:75
手写SpringBoot自动配置及自定义注解搭配Aop,实现升级版@Value()功能
背景 项目中为了统一管理项目的配置,比如接口地址,操作类别等信息,需要一个统一的配置管理中心,类似nacos。 我根据项目的需求写了一套分布式配置中心,测试无误后,改为单体应用并耦合到项目中。项目中使用配置文件多是取配置文件(applicatoion.yml)的值,使用@Value获取,为了秉持非侵 ...
分类:编程语言   时间:2020-07-19 17:55:07    阅读次数:293
2, Prometheus之部署Alertmanager
1,部署Alertmanager 启动端口为:9093 2,配置Prometheus与Alertmanager通信 2-1 在Alertmanager 部署机器,设置Alertmanager告警的接受方式。 [root@centos7 alert]# cat alertmanager.yml glo ...
分类:其他好文   时间:2020-07-18 22:13:31    阅读次数:70
filebeat配置文件
仅罗列了一些常用基础配置,更多配置请到官网查看 https://www.elastic.co/guide/en/beats/filebeat/current/index.html filebeat.yml配置文件 # Filebeat inputs #input设置,支持Docker,Contain ...
分类:其他好文   时间:2020-07-18 22:06:05    阅读次数:189
kibana配置文件
仅罗列了一些常用基础配置,更多配置请到官网查看https://www.elastic.co/guide/en/kibana/current/index.html kibana.yml配置文件 ##### kibana服务相关 ##### #提供服务的端口,监听端口 server.port: 5601 ...
分类:其他好文   时间:2020-07-18 22:05:51    阅读次数:109
logstash配置文件
仅罗列了一些常用基础配置,更多配置请到官网查看 https://www.elastic.co/guide/en/logstash/current logstash.yml配置文件 # Node identity #节点名称,默认主机名 node.name: test # Data path #数据存 ...
分类:其他好文   时间:2020-07-18 22:04:24    阅读次数:88
elasticsearch配置文件
仅罗列了一些常用基础配置,更多配置请到官网查看 https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html elasticsearch.yml配置文件 # Cluster #es集群名称,es会自动发现在同一网 ...
分类:其他好文   时间:2020-07-18 22:02:02    阅读次数:73
Springboot工程Mybatis二级缓存配置
1、在application.yml配置cache-enabled: true mybatis: config-location: classpath:/mybatis-config.xml, classpath:mybatis/mybatis-config.xml mapper-locations ...
分类:编程语言   时间:2020-07-18 19:44:38    阅读次数:147
1998条   上一页 1 ... 11 12 13 14 15 ... 200 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!