上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 58 下一页
摘要: jimmy@MacBook-Pro bin % wsdl2java http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdl zsh: no matches found: http://www.webxml.co 阅读全文
posted @ 2021-07-08 20:59 VipSoft 阅读(808) 评论(0) 推荐(0)
摘要: 在不改程序的情况下,修改 sql 时,需要将 Mapper 中的 XML 文件 放到外面 mybatis: mapper-locations: classpath:mapper/*.xml #JAR 包里面 mybatis: mapper-locations: file:mapper/*.xml # 阅读全文
posted @ 2021-07-08 15:09 VipSoft 阅读(1710) 评论(4) 推荐(0)
摘要: @Component public class NettyClient implements ApplicationContextAware { NettyClientHandler nettyClientHandler; /** * 当前 ApplicationContent 后面注入用 */ p 阅读全文
posted @ 2021-06-24 09:35 VipSoft 阅读(84) 评论(0) 推荐(0)
摘要: 以下是伪代码 方法一 前后代码省略 //绑定服务器,该实例将提供有关IO操作的结果或状态的信息 ChannelFuture channelFuture = bootstrap.bind(); this.serverChannel = channelFuture.channel(); //给cf 注册 阅读全文
posted @ 2021-06-23 19:12 VipSoft 阅读(4389) 评论(0) 推荐(0)
摘要: 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 阅读(478) 评论(0) 推荐(0)
摘要: 监听服务的四种实现方式,以监听 Nacos 服务为例 1. 传统方式 public void subscribe() { try { NamingService namingService = NamingFactory.createNamingService("127.0.0.1:8848"); 阅读全文
posted @ 2021-06-11 14:57 VipSoft 阅读(3828) 评论(0) 推荐(0)
摘要: Kubernetes(K8S) 常用命令 Kubernetes(K8S) 常用命令 Docker 容器中镜像导出/导入 Docker 常用命令 systemctl restart docker #重启 Docker docker images #查看镜像文件 REPOSITORY #镜像的仓库源 T 阅读全文
posted @ 2021-05-31 16:26 VipSoft 阅读(109) 评论(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 阅读(240) 评论(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 阅读(649) 评论(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 阅读(1058) 评论(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 阅读(2127) 评论(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 阅读(128) 评论(0) 推荐(0)
摘要: 如何VS IIS Express 启动项目后,绑本机IP,让别人可以访问你的网站,方便Debug 一、修改iis配置 1、在web服务器执行后,会运行IIS Express,右击它选择显示所有应用程序: 2、左击第一个localhost,再点击下方出现的配置一栏对应的文件: 3、在打开的配置文件中往 阅读全文
posted @ 2021-05-25 15:22 VipSoft 阅读(446) 评论(0) 推荐(0)
摘要: Filebeat是什么 1、Filebeat是什么?Filebeat是用于转发和集中日志数据的轻量级传送工具。 Filebeat监视用户指定的日志文件或位置,收集日志事件,并将日志数据转发到Elasticsearch或Logstash进行索引。 2、Filebeat和Logstash的关系Logst 阅读全文
posted @ 2021-05-25 14:13 VipSoft 阅读(3014) 评论(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 阅读(282) 评论(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 阅读(801) 评论(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 阅读(1050) 评论(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 阅读(818) 评论(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 阅读(4263) 评论(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 阅读(373) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 58 下一页