上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 一、官方安装手册 https://docs.docker.com/install/linux/docker-ce/centos/ 二、确定你是CentOS7及以上版本 cat /etc/redhat-release 三、yum安装gcc相关 yum -y install gcc yum -y ins 阅读全文
posted @ 2019-12-25 14:07 红尘年少 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 问题:出现UserRePository注入创建失败,一定先检查所有的@注解是否已经标记 问题发现:entity下的实体类上面没有加注解 任何基于hibernate的实体类一定要加上@Entity注解! 阅读全文
posted @ 2019-12-22 10:50 红尘年少 阅读(13061) 评论(0) 推荐(0) 编辑
摘要: 一、注册gitee并在本地安装 gitee官网 https://gitee.com/ git下载地址 阿里镜像 https://npm.taobao.org/mirrors/git-for-windows/ 二、IDEA设置 1.导入git本地安装路径 2.安装gitee 登录gitee 3.将本地 阅读全文
posted @ 2019-12-21 23:32 红尘年少 阅读(6168) 评论(0) 推荐(2) 编辑
摘要: 具体代码地址 https://gitee.com/chuzhuyong/HandleSafer 自定义用户认证 通过自定义WebSecurityConfigurerAdapter类型的Bean组件,并重写configure(Authentication ManagerBuilder auth)方法, 阅读全文
posted @ 2019-12-21 14:11 红尘年少 阅读(4450) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-19 23:28 红尘年少 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 在最小化安装的CentOS7中,ifconfig是不能使用的,查看网卡信息的命令是ip addr 其中“ens33”为网卡名称,修改IP地址等信息 vi /etc/sysconfig/network-scripts/ifcfg-ens33 修改好后保存退出,并重启网络,测试网络是否连接正常: 安装i 阅读全文
posted @ 2019-12-19 22:22 红尘年少 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 本教程安装的版本号如下 下载地址 链接:https://pan.baidu.com/s/1yMFQ-any_lmXvOJWBi1MIw 提取码:oher 复制这段内容后打开百度网盘手机App,操作更方便哦 其他版本可以到官网上进行对应的下载 https://www.rabbitmq.com/ ※※特 阅读全文
posted @ 2019-12-19 21:49 红尘年少 阅读(3072) 评论(0) 推荐(0) 编辑
摘要: 本篇随笔基于https://www.cnblogs.com/my-program-life/p/12067789.html实现 自定义RedisTemplate 一、创建自定义配置类RedisConfig package com.uos.cache.config; import com.faster 阅读全文
posted @ 2019-12-19 17:33 红尘年少 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 本篇随笔基于https://www.cnblogs.com/my-program-life/p/12067656.html 实现 一、使用Redis API进行业务数据缓存管理 在service下新建ApiCommentService,删除原有的CommentService package com. 阅读全文
posted @ 2019-12-19 16:35 红尘年少 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 一、添加Spring Data Redis依赖启动器 <!--Spring Data Redis 依赖启动器--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-dat 阅读全文
posted @ 2019-12-19 14:36 红尘年少 阅读(3247) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页