上一页 1 2 3 4 5 6 7 8 ··· 45 下一页
摘要: application.yml 加入: spring: thymeleaf: prefix: classpath:/templates/ suffix: .html mode: HTML encoding: UTF-8 cache: false servlet: content-type: text 阅读全文
posted @ 2021-04-20 23:54 韦邦杠 阅读(930) 评论(0) 推荐(0)
摘要: 第一步:自定义类 import org.apache.commons.lang.StringUtils; import org.springframework.core.convert.converter.Converter; import org.springframework.stereotyp 阅读全文
posted @ 2021-04-17 16:21 韦邦杠 阅读(1128) 评论(0) 推荐(0)
摘要: 天在提交代码的时候,出现了一个这样的错误。IDEA在使用"svn"关联项目时报错Error:Cannot run program “svn” (in directory “路径XXXXXX”):CreateProcess error=2。报该错误的主要原因是我的svn安装的时候没有安装command 阅读全文
posted @ 2021-04-13 14:28 韦邦杠 阅读(2856) 评论(0) 推荐(0)
摘要: getWeekDay(date) { let weekArray = new Array("日", "一", "二", "三", "四", "五", "六"); let week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date ret 阅读全文
posted @ 2021-04-10 09:27 韦邦杠 阅读(459) 评论(0) 推荐(1)
摘要: 一、实现目标 简洁,高效,可维护 二、键值设计规约 1 、 Redis key命名风格 【推荐】Redis key命名需具有可读性以及可管理性,不该使用含义不清的key以及特别长的key名; 【强制】以英文字母开头,命名中只能出现小写字母、数字、英文点号(.)和英文半角冒号(:); 【强制】不要包含 阅读全文
posted @ 2020-12-21 14:07 韦邦杠 阅读(1491) 评论(0) 推荐(0)
摘要: 安装前条件:linux机器有 gcc(不然后续make的时候会报错) 官网下载地址:https://redis.io/download 1、下载完成后,放到服务器。解压 tar -zxvf redis-6.0.9.tar.gz 2、进入解压后的目录进行编译(这个过程需要点时间…) make // 编 阅读全文
posted @ 2020-12-21 10:27 韦邦杠 阅读(951) 评论(0) 推荐(0)
摘要: 条件:安装docker&docker-compose 如未安装,请看:linux离线安装docker + docker-compose harbor 1.下载 下载地址:https://github.com/goharbor/harbor/releases 2.安装 1.上传至服务器,并解压 tar 阅读全文
posted @ 2020-12-06 18:50 韦邦杠 阅读(2043) 评论(0) 推荐(0)
摘要: 1 准备阶段(docker) 1.1 卸载旧版本 如果电脑上已经存在docker,需要先卸载可能存在的旧版本: 1. 删除某软件,及其安装时自动安装的所有包 sudo apt-get autoremove docker docker-ce docker-engine docker.io contai 阅读全文
posted @ 2020-12-06 15:40 韦邦杠 阅读(8751) 评论(0) 推荐(3)
摘要: 以下是 docker node ls 命令的执行结果 解决方法: hostnamectl set-hostname worker02-node service docker restart 成功 阅读全文
posted @ 2020-11-30 22:36 韦邦杠 阅读(1412) 评论(0) 推荐(0)
摘要: 1. 运行docker-compose 命令报错: -bash: docker-compose: command not found 2.安装: 1)先安装 pip ,检查是否已有: pip -V 报错: -bash: pip: command not found 安装 pip : 1、yum -y 阅读全文
posted @ 2020-11-30 21:20 韦邦杠 阅读(19728) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 45 下一页