上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 57 下一页
摘要: 在Nginx配置文件nginx.conf中加入如下配置。(index.html根据实际页面配置) 增加:try_files $uri $uri/ /index.html; #解决页面刷新404问题 server { listen 8080; server_name localhost; locati 阅读全文
posted @ 2021-07-24 21:33 VipSoft 阅读(2019) 评论(2) 推荐(1)
摘要: 项目中,两个模块中都放了 Mapper,如下所示 @MapperScan(basePackages ={"com.vipsoft.his.mapper","com.vipsoft.his.sdfyy.mapper"} ) 为了方便,两个合成了一个, @MapperScan(basePackages 阅读全文
posted @ 2021-07-20 16:54 VipSoft 阅读(391) 评论(0) 推荐(0)
摘要: npm set registry https://registry.npm.taobao.org npm set disturl https://npm.taobao.org/dist npm cache clean --forcenpm i -g cnpm --registry=https://r 阅读全文
posted @ 2021-07-19 23:27 VipSoft 阅读(374) 评论(0) 推荐(0)
摘要: 解决步骤:1、执行netsh int tcp show global 查看默认TCP全局参数等相关设置 Windows 2012 默认ECN 功能是开启的,将其关闭即可 以管理员的身份运行下列命令:netsh int tcp set global ecncapability=disabled 【网络 阅读全文
posted @ 2021-07-15 22:32 VipSoft 阅读(573) 评论(0) 推荐(0)
摘要: SpringBoot WebService 源代码:https://gitee.com/VipSoft/VipWebService SpringBoot WebService 及 注意项: https://www.cnblogs.com/vipsoft/p/14993568.html 服务端添加拦截 阅读全文
posted @ 2021-07-10 18:24 VipSoft 阅读(331) 评论(0) 推荐(0)
摘要: SpringBoot WebService 源代码:https://gitee.com/VipSoft/VipWebService SpringBoot 版本 <version>2.3.0.RELEASE</version> <cxf.version>3.3.1</cxf.version> <dep 阅读全文
posted @ 2021-07-10 12:21 VipSoft 阅读(599) 评论(0) 推荐(0)
摘要: SpringBoot WebService 源代码:https://gitee.com/VipSoft/VipWebService SpringBoot 整合 WebService cxf 报错 Consider revisiting the entries above or defining a 阅读全文
posted @ 2021-07-09 22:31 VipSoft 阅读(210) 评论(0) 推荐(0)
摘要: Mac /System/Library/Frameworks/JavaVM.framework/Home/bin/java: No such file or directory 查找JAVA_HOME 打开Mac的终端,检查JDK是否安装成功:java -version 查看java指令所在的目录: 阅读全文
posted @ 2021-07-09 14:39 VipSoft 阅读(2525) 评论(0) 推荐(0)
摘要: 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 阅读(805) 评论(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 阅读(1689) 评论(4) 推荐(0)
摘要: @Component public class NettyClient implements ApplicationContextAware { NettyClientHandler nettyClientHandler; /** * 当前 ApplicationContent 后面注入用 */ p 阅读全文
posted @ 2021-06-24 09:35 VipSoft 阅读(77) 评论(0) 推荐(0)
摘要: 以下是伪代码 方法一 前后代码省略 //绑定服务器,该实例将提供有关IO操作的结果或状态的信息 ChannelFuture channelFuture = bootstrap.bind(); this.serverChannel = channelFuture.channel(); //给cf 注册 阅读全文
posted @ 2021-06-23 19:12 VipSoft 阅读(4356) 评论(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 阅读(474) 评论(0) 推荐(0)
摘要: 监听服务的四种实现方式,以监听 Nacos 服务为例 1. 传统方式 public void subscribe() { try { NamingService namingService = NamingFactory.createNamingService("127.0.0.1:8848"); 阅读全文
posted @ 2021-06-11 14:57 VipSoft 阅读(3815) 评论(0) 推荐(0)
摘要: Kubernetes(K8S) 常用命令 Kubernetes(K8S) 常用命令 Docker 容器中镜像导出/导入 Docker 常用命令 systemctl restart docker #重启 Docker docker images #查看镜像文件 REPOSITORY #镜像的仓库源 T 阅读全文
posted @ 2021-05-31 16:26 VipSoft 阅读(101) 评论(0) 推荐(0)
摘要: 将文件传到Linux 服务器/opt 目录中 http://nginx.org/download/nginx-1.20.1.tar.gz 安装 #切换到 /opt目录下 cd /opt # 安装依赖 yum -y install gcc zlib pcre-devel zlib-devel open 阅读全文
posted @ 2021-05-31 15:12 VipSoft 阅读(229) 评论(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 阅读(642) 评论(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 阅读(1043) 评论(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 阅读(2101) 评论(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 阅读(123) 评论(0) 推荐(0)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 57 下一页