- 博客(274)
- 收藏
- 关注
转载 Zookeeper环境搭建
Zookeeper环境搭建下载从镜像站中下载最近版本http://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/从文档站中下载所有的历史版本https://archive.apache.org/dist/zookeeper/apache-zookeeper-3.5.5-bin.tar.gz 2019-05-20 18:40 1...
2019-09-22 17:39:00
223
转载 Windows解决端口占用问题
Windows解决端口占用问题步骤1. win + R,输入cmd回车进入dos界面2. 输入netstat -ano|findstr 8080 查看占用8080端口的进程3. 输入taskkill /f /pid 进程ID实战C:\Users\jie>netstat -ano|findstr 8080 TCP 0.0.0.0:8080 ...
2019-09-22 10:25:00
278
转载 MyBatis 使用 foreach 批量插入
MyBatis 使用 foreach 批量插入参考博文老司机学习MyBatis之动态SQL使用foreach在MySQL中批量插入使用MyBatis一次性插入多条数据时候可以使用 <foreach> 标签。yml文件spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver ur...
2019-09-07 13:58:00
482
转载 MyBatis 插入记录同时获取主键
MyBatis 插入记录同时获取主键MyBatis 插入记录同时获取主键的系统界面useGeneratedKeys 属性keyProperty 属性keyColumn 属性selectKey 元素注意点: 获取的主键的主键被设置到对象的属性中,而不是当作返回值。useGeneratedKeys属性实现,指定值为 true,则 MyBatis 会自动插入记录生成的主键放入对...
2019-09-07 10:49:00
195
转载 MySQL 学习网站
[大型网站]优快云论坛MySQL版块https://bbs.youkuaiyun.com/forums/MySQLMySlide搜索MySQLhttps://myslide.cn/slides/17585红黑联盟论坛数据库https://www.2cto.com/database/ChinaUnix论坛http://bbs.chinaunix.net/开源中国博客数据库http...
2019-08-31 20:26:00
154
转载 MySQL 官方测试库
MySQL 官方测试库github 地址https://github.com/datacharmer/test_dbMySQL 文档地址https://dev.mysql.com/doc/employee/en/sakila-structure.html安装测试库# 安装普通的D:\00\test_db-master>mysql -uroot -proot < ...
2019-08-31 12:54:00
561
转载 springboot 整合 mybatis 入门
springboot整合mybatis0.yml 配置文件1.创建数据库表。2.创建实体类。3.创建 Mapper 接口 ,添加 @Mapper 注解。4.创建 Mapper 映射文件。<parent> <groupId>org.springframework.boot</groupId> <artifactId>...
2019-08-30 21:17:00
75
转载 Redis学习网站
Redis 命令参考Redis 中文网转载于:https://www.cnblogs.com/mozq/p/11431706.html
2019-08-29 20:01:00
67
转载 Git 游离态的一次问题解决
jie@mozq MINGW64 /d/0xcEdu/xcEduService01 ((20ce6a5...))$ git branch -v* (HEAD detached at 20ce6a5) 20ce6a5 eureka高可用 bug1 -DPORT=50102 -DEUREKA_SERVER=http://localhost:50101/eureka/ -DEUREKA_D...
2019-08-27 18:20:00
175
转载 idea每次新建项目的默认路径
idea每次新建项目的默认路径每次新建项目的默认路径是上一次新建项目所在的文件夹。第一次需要手动切换。转载于:https://www.cnblogs.com/mozq/p/11375258.html...
2019-08-19 09:16:00
9104
转载 springboot 整合 freemarker
springboot 整合 freemarker依赖<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.6...
2019-08-16 09:25:00
115
转载 Linux 学习网站
Linux 学习网站Linux 公社https://www.linuxidc.com/C 语言中文网http://c.biancheng.net/Linux 下载站http://www.linuxdown.net/Linux 中国https://linux.cn/Linux就该这么学https://www.linuxprobe.com/红黑联盟https://ww...
2019-08-16 07:56:00
89
转载 springtask 基本使用和 cron 表达式
springtask 的基本使用和 cron 表达式spring 容器依赖<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.5.R...
2019-08-12 18:53:00
415
转载 volatile 关键字 和 i++ 原子性
1 package com.mozq.multithread; 2 3 /** 4 * 深入理解Java虚拟机 volatile 关键字 和 i++ 原子性。 5 */ 6 public class VolatileTest { 7 public static volatile int race = 0; 8 9 privat...
2019-08-11 18:01:00
106
转载 springboot 整合 ActiveMQ
springboot 整合 ActiveMQpom 坐标<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1...
2019-08-09 18:33:00
213
转载 ActiveMQ 安装
ActiveMQ 安装下载 ActiveMQhttps://activemq.apache.org/download-archiveshttp://archive.apache.org/dist/入门文档https://activemq.apache.org/getting-started版本选择apache-activemq-5.0.0 1.5.0_12 1.5...
2019-08-09 13:34:00
240
转载 nginx proxy_pass 指令
nginx proxy_pass 指令文档Nginx 官方文档https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_passNginx 服务器的反向代理 proxy_pass 配置方法讲解https://www.cnblogs.com/lianxuan1768/p/8383804.html Synta...
2019-08-08 19:17:00
198
转载 redis 主从复制
redis 主从复制名词建立复制 取消复制 切主 slaveof <masterip> <masterport> slaveof no one info replication config rewrite dump.rdb复制 bin 和 redis.conf[root@localhost redis-3.2.8]# mkdir -p /usr/loca...
2019-08-06 09:08:00
106
转载 Spring-Data-Redis 入门学习
Spring-Data-Redis 入门学习参考文章:https://www.jianshu.com/p/4a9c2fec1079导入 redis 相关依赖<dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId&...
2019-08-06 09:00:00
171
转载 ActiveMQ 入门和与 Spring 整合
ActiveMQ入门演示activemq 依赖<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-client</artifactId> <version>5.13.4</version&...
2019-08-06 08:35:00
121
转载 Docker + Nginx + Tomcat 实现负载均衡简单演示
Docker + Nginx + Tomcat 实现负载均衡环境[root@pinyoyougou-docker ~]# docker -vDocker version 1.12.6, build 85d7426/1.12.6[root@pinyoyougou-docker ~]# rpm -qi centos-releaseName : centos-relea...
2019-08-05 15:15:00
148
转载 CentOS7.5 上使用 bundle 文件安装 MySQL8.0 MySQL5.0
CentOS7.5 上使用 bundle 文件安装 MySQL8.0 MySQL5.0CentOS7.5 环境[root@instance-fjii60o3 ~]# rpm -qi centos-releaseName : centos-releaseVersion : 7Release : 5.1804.el7.centosArchitectu...
2019-08-04 15:08:00
398
转载 MySQL 事务配置命令行操作和持久化
MySQL 事务配置命令行操作和持久化参考MySQL 官方参考手册 提供 5.5 5.6 5.7 8.0 版本的参考手册https://dev.mysql.com/doc/refman/5.5/en/set-transaction.html# MySQL 8.0 版本参考手册4.2.4 Specifying Program Options # 事务持久化5.1.1 Confi...
2019-08-02 20:46:00
135
转载 SpringBoot 整合 JPA
springboot 整合 jpapom.xml<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.6.R...
2019-08-02 15:08:00
106
转载 Spring 整合 JPA
spring 整合 jpa 客户的基本CRUD依赖<properties> <spring.version>4.2.4.RELEASE</spring.version> <hibernate.version>5.0.7.Final</hibernate.version> <slf4j.versi...
2019-08-02 15:06:00
84
转载 Linux 上安装 Redis
Linux 上安装 redisredis 下载下载链接 http://download.redis.io/releases/Redis中国用户组 http://www.redis.cn/Redis中国用户组(China Redis User Group),简称CRUG,成立于2016年5月20日,是中国地区最大的Redis技术交流社区,CRUG在成立时就得到了Redis官方的认可...
2019-08-02 13:55:00
158
转载 配置本地 yum 仓库
配置本地 yum 仓库# yum 官网http://yum.baseurl.org/# yum 手册页man yum man yum.confSEE ALSO pkcon (1) yum.conf (5) yum-updatesd (8) package-cleanup (1) repoquery (1)...
2019-08-02 11:28:00
629
转载 Linux 命令 mv
mv 命令--no-target-directory 参数确保对目录进行重命名而不是移动https://www.gnu.org/software/coreutils/manual/html_node/Target-directory.html#Target-directory‘--no-target-directory’Do not treat the last operand ...
2019-08-02 11:20:00
636
转载 JPA 基础
JPA 基础数据库驱动 ==> JDBC 规范 ==> ORM 框架 ==> JPA 规范 ==> spring-data-jpaORM 思想JPA 的使用步骤jpa 依赖<properties> <project.hibernate.version>5.4.2.Final</project.hibernate.ve...
2019-08-01 16:44:00
117
转载 redisTemplate 键值序列化策略
redisTemplate 键值序列化策略RedisSerializer<T> StringRedisSerializer JdkSerializationRedisSerializerkeySerializer valueSerializer hashKeySerializer hashValueSerializerpublic class RedisTemplate...
2019-07-31 20:13:00
454
转载 angular 小技术点
angular 标签ng-options ng-model ng-checked ng-true-value ng-false-value ng-if ng-src delete $location $http $watch $scope ng-bind ng-cloakangular 官网和下载# angular 中文网https://www.angularjs.net.cn/...
2019-07-29 20:48:00
249
转载 微信支付
二维码生成的 js 插件# bootcdn 网站https://www.bootcdn.cn/qriousqrious 下载https://www.bootcdn.cn/qrious/https://github.com/neocotic/qrioushttps://cdnjs.cloudflare.com/ajax/libs/qrious/3.0.1/qrious.min...
2019-07-29 18:38:00
365
转载 tomcat 多实例部署
tomcat 配置多个实例参考文档聊聊 Tomcat 的单机多实例 https://www.cnblogs.com/mafly/p/tomcat.html极客学院 Tomcat 8 权威指南 http://wiki.jikexueyuan.com/project/tomcat/名词CATALINA_HOME CATALINA_BASE catalina.bat startup....
2019-07-24 18:50:00
115
转载 CentOS7 只下载安装包不安装
参考文档yum安装本地rpm软件方案详解 https://www.jb51.net/article/132305.htmcreaterepo CentOS-Media.repo 本地软件源 --downloadonly --downloaddir 只下载不安装# 关闭网络软件源mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos....
2019-07-19 11:17:00
849
转载 CentOS7 最小安装 vmware 创建虚拟机 nmcli ip systemctl
镜像网站一些开源软件的国内镜像源站点版(一)、企业站1.搜狐:http://mirrors.sohu.com/2.网易:http://mirrors.163.com/3.阿里云:http://mirrors.aliyun.com/4.淘宝:http://npm.taobao.org/(二)、教育站2.华中科技大学:http://mirror.hust.edu.cn/(当...
2019-07-19 08:20:00
302
转载 码云因为认证失败导致推送失败 生成 SSH 密钥对
转载于:https://www.cnblogs.com/mozq/p/11172119.html
2019-07-11 19:25:00
600
转载 权限管理表结构
1 /* 2 SQLyog Ultimate - MySQL GUI v8.2 3 MySQL - 5.5.27 : Database - jpa 4 ********************************************************************* 5 */ 6 7 8 /*!40101...
2019-07-10 17:41:00
137
转载 CentOS7 开放端口 通过 firewall-cmd 工具来操作防火墙
CentOS7 提供了 firewall-cmd 工具来操作防火墙。firewall-cmd--permanent:表示设置为持久,配置被写入配置文件,跨重启,不会立即生效,重新加载配置后生效。不带此参数表示本次运行,立即生效systemctl 参考文档systemctl systemdhttps://www.cnblogs.com/shijingjing07/p/930159...
2019-07-09 19:14:00
94
转载 富文本编辑器 KindEditor 的基本使用 文件上传 图片上传
富文本编辑器 KindEditor富文本编辑器,Rich Text Editor , 简称 RTE , 它提供类似于 Microsoft Word 的编辑功能。常用的富文本编辑器:KindEditor http://kindeditor.net/UEditor http://ueditor.baidu.com/website/CKEditor http://ckeditor.c...
2019-07-06 20:14:00
482
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人