上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 60 下一页
摘要: Maven 引用jar包冲突 ,Intellij 查找排除JAR包的依赖关系(Maven Helper) <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</ar 阅读全文
posted @ 2021-06-12 11:46 VipSoft 阅读(485) 评论(0) 推荐(0)
摘要: 监听服务的四种实现方式,以监听 Nacos 服务为例 1. 传统方式 public void subscribe() { try { NamingService namingService = NamingFactory.createNamingService("127.0.0.1:8848"); 阅读全文
posted @ 2021-06-11 14:57 VipSoft 阅读(3844) 评论(0) 推荐(0)
摘要: Kubernetes(K8S) 常用命令 Kubernetes(K8S) 常用命令 Docker 容器中镜像导出/导入 Docker 常用命令 systemctl restart docker #重启 Docker docker images #查看镜像文件 REPOSITORY #镜像的仓库源 T 阅读全文
posted @ 2021-05-31 16:26 VipSoft 阅读(120) 评论(0) 推荐(0)
摘要: 将文件传到Linux 服务器/opt 目录中 http://nginx.org/download/nginx-1.20.1.tar.gz 安装 # 如果已安装,忽略 yum -y install gcc make zlib-devel gcc-c++ libtool openssl openssl- 阅读全文
posted @ 2021-05-31 15:12 VipSoft 阅读(254) 评论(0) 推荐(0)
摘要: 【不建议使用 Docker 的形式部署,后期添加端口映射很麻烦】 安装 Nginx # 获取nginx 镜像 docker pull nginx:1.20 # 运行容器(用于复制文件到宿主机做映射) docker run -d --name nginx nginx:1.20 #创建宿主机目录,用于映 阅读全文
posted @ 2021-05-31 13:23 VipSoft 阅读(657) 评论(0) 推荐(0)
摘要: <spring-cloud-openfeign.version>2.2.6.RELEASE</spring-cloud-openfeign.version>对应的SpringBoot<version>2.3.0.RELEASE</version> <dependency> <groupId>org. 阅读全文
posted @ 2021-05-28 16:30 VipSoft 阅读(1076) 评论(0) 推荐(1)
摘要: 安装 filebeat-7.9.3(与Elasticsearch版本一致) 考虑到Elasticsearch 比较费硬盘空间,所以目前项目中只上传error的日志。详细日志还是去具体服务器查看(没有专门运维) 普通安装: 上传并解压filebeat-7.9.3-linux-x86_64.tar.gz 阅读全文
posted @ 2021-05-27 09:20 VipSoft 阅读(2148) 评论(0) 推荐(0)
摘要: 首先在虚机内将硬盘空间扩大,Hyper-V 需要将检查点删除 查看物理卷和卷组,并将物理卷加入到卷组 lvextend -l +100%FREE /dev/centos/root #将剩余空间添加到逻辑卷 /dev/centos/root xfs_growfs /dev/centos/root #同 阅读全文
posted @ 2021-05-26 17:03 VipSoft 阅读(135) 评论(0) 推荐(0)
摘要: 如何VS IIS Express 启动项目后,绑本机IP,让别人可以访问你的网站,方便Debug 一、修改iis配置 1、在web服务器执行后,会运行IIS Express,右击它选择显示所有应用程序: 2、左击第一个localhost,再点击下方出现的配置一栏对应的文件: 3、在打开的配置文件中往 阅读全文
posted @ 2021-05-25 15:22 VipSoft 阅读(452) 评论(0) 推荐(0)
摘要: Filebeat是什么 1、Filebeat是什么?Filebeat是用于转发和集中日志数据的轻量级传送工具。 Filebeat监视用户指定的日志文件或位置,收集日志事件,并将日志数据转发到Elasticsearch或Logstash进行索引。 2、Filebeat和Logstash的关系Logst 阅读全文
posted @ 2021-05-25 14:13 VipSoft 阅读(3048) 评论(2) 推荐(0)
摘要: ELK 版本因为 前面 Elasticsearch 用的 7.9.3 版本,所以 kibana-7.9.3、logstash-7.9.3 都用 7.9.3 版本 安装配置 Elasticsearch Docker 安装 Elasticsearch 修改Elasticsearch配置,可以到容器内部修 阅读全文
posted @ 2021-05-25 13:49 VipSoft 阅读(290) 评论(0) 推荐(0)
摘要: 下载源码包:https://archive.apache.org/dist/skywalking/8.1.0/ -- 创建存放目录 mkdir -p /opt/skywalking -- 进入目录 cd /opt/skywalking -- 下载agentjar wget https://archi 阅读全文
posted @ 2021-05-21 14:54 VipSoft 阅读(808) 评论(0) 推荐(0)
摘要: 前置条件 Docker 安装 Elasticsearch ### 部署服务端 skywalking-oap-server docker pull apache/skywalking-oap-server:8.1.0-es7 docker run --name skywalking-oap-serve 阅读全文
posted @ 2021-05-21 14:46 VipSoft 阅读(1061) 评论(0) 推荐(0)
摘要: SpringBoot Skywalking agent 通过 Dockfile 配置 不生效 ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=${spring_profile 阅读全文
posted @ 2021-05-21 12:12 VipSoft 阅读(830) 评论(0) 推荐(0)
摘要: 如果不指定 xxl.job.executor.ip,默认会用 Docker 的IP,注册到 xxl-job 里面,这时候无法回调 如果xxl.job.executor.ip、xxl.job.executor.address 都赋值,就会出现没端口的情况,具体如下 原因 xxxl.job.ip 为空, 阅读全文
posted @ 2021-05-20 17:19 VipSoft 阅读(4332) 评论(4) 推荐(1)
摘要: 为了Skywalking 准备 elasticsearch 至少 需要2G内存 docker pull elasticsearch:7.9.3 docker run --name elasticsearch -p 9200:9200 -p 9300:9300 \ -e "discovery.type 阅读全文
posted @ 2021-05-19 19:40 VipSoft 阅读(387) 评论(0) 推荐(0)
摘要: https://hub.docker.com/r/sebp/elk 安装ELK镜像 docker pull sebp/elk:793 启动 elk 容器 docker run --name elk --restart always \ -d -p 5601:5601 -p 9200:9200 -p 阅读全文
posted @ 2021-05-19 18:09 VipSoft 阅读(787) 评论(0) 推荐(0)
摘要: 在 Feign 方法里面添加 Header 报 Method has too many Body parameters @PostMapping(value = "/sendsms") String sendSMS(@HeaderMap Map<String, Object> headerParam 阅读全文
posted @ 2021-05-12 10:21 VipSoft 阅读(734) 评论(0) 推荐(0)
摘要: Feign 接口独立项目,报下列错误,原因是缺少指定扫描包 [2021-05-11 22:40:07.676] [main] [WARN ] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception enco 阅读全文
posted @ 2021-05-11 22:48 VipSoft 阅读(192) 评论(0) 推荐(0)
摘要: 解决方案 @Resourceprivate RestTemplate restTemplate; 阅读全文
posted @ 2021-05-11 14:49 VipSoft 阅读(1879) 评论(0) 推荐(1)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 60 下一页