04 2018 档案
摘要:https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/pom.xml mysql mysql-connector-java 8.0.11 com.alibaba druid-spring-boot-starter 1.1.9 org.springframewor...
阅读全文
摘要:参考 https://blog.csdn.net/qiunian144084/article/details/79192819 https://www.cnblogs.com/smail-bao/p/7009633.html 1.下载Zookeeper并解压 下载地址为: http://zookee
阅读全文
摘要:https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/pom.xml mysql mysql-connector-java 8.0.11 org.apache.curator curator-framework 2.12.0 org.apache.curator...
阅读全文
摘要:pom.xm application.properties Redis的Session配置类RedisSessionManagerConfiguration,主要是实现JSON格式的系列化 RedisTemplate的配置 Redis缓存配置RedisCacheManagerCustomizer 缓
阅读全文
摘要:pom.xml application.properties 启动类 配置类 实体类 Menu 实体类 MenuNode 缓存应用 Controller类
阅读全文
摘要:pom.xml application.properties 启动类 注册Redis消息监听 Redis消息处理类 Redis配置类 JSON转换配置类 实体类 User 实体类Department DAO类 Service类 Controller类 完!
阅读全文
摘要:1.下载Redis软件包并解压https://github.com/MicrosoftArchive/redis 2.打开配置文件redis.windows.conf和redis.windows-service.conf,修改如下的内容 maxmemory 1024000000requirepass
阅读全文
摘要:在MongoDB中插入如下的数据 pom.xml application.properties 启动类 实体类Baike 实体类Comment DAO类(强大的MongoTemplate) Service类 Controller类
阅读全文
摘要:application.properties logback.xml
阅读全文
摘要:pom.xml application.properties 数据库连接池的配置 强大的JpaRepository 实体User 实体Department Serivce类 RestController类
阅读全文
摘要:pom.xml application.properties 连接池的配置类 SQL DAO类 Service类 RestController类
阅读全文
摘要:转载自(http://www.cnblogs.com/M-LittleBird/p/5902850.html) 一、下载windows版本的Redis 官网以及没有下载地址,只能在github上下载,官网只提供linux版本的下载 官网下载地址:http://redis.io/download gi
阅读全文
摘要:1.创建配置文件mongod.cfg,内容如下:systemLog: destination: file path: D:\GreenSoftware\MongodbV3.6\data\log\mongod.logstorage: dbPath: D:\GreenSoftware\MongodbV3
阅读全文
摘要:pom.xml org.springframework.boot spring-boot-starter-jdbc App类package com.smartmap.sample.ch1;import org.springframework.boot.SpringApplication;import org.springframework....
阅读全文
摘要:package com.sample.smartmap.controller;import java.util.List;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.http.MediaType;import org.springframework.stereoty...
阅读全文
摘要:package com.sample.smartmap.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.http.MediaType;import org.springframework.stereotype.Controller;import o...
阅读全文
摘要:package com.sample.smartmap.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.spr...
阅读全文
摘要:package com.sample.smartmap.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.Get...
阅读全文
摘要:package com.sample.smartmap.controller;import java.io.IOException;import java.math.BigDecimal;import java.util.Date;import java.util.HashMap;import java.util.Map;import org.apache.commons.logging.Log;...
阅读全文
摘要:方法1@Value("{query.all}.json", method=RequestMethod.GE...
阅读全文
摘要:Spring Boot建议使用这些模板引擎,避免使用JSP,若一定要使用JSP将无法实现Spring Boot的多种特性pom.xml org.springframework.boot spring-boot-starter-thymeleaf application.propertiesspring.thymeleaf.cache=tru...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.view;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.util.StringUtils;import org.springframew...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.view;import java.io.File;import java.io.IOException;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.core.env.Environ...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.rest;import java.util.List;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.springframework.beans.factory.annota...
阅读全文
摘要:package com.smartmap.sample.ch1.conf;import java.util.List;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import org.springframework.context.annotation.Conf...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.view;import java.io.IOException;import java.util.Collections;import java.util.HashMap;import java.util.List;import java.util.Map;import javax.servlet.Servlet...
阅读全文
摘要:1.Windows下的Eclipse中的eclipse.ini -startup plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar --launcher.library plugins/org.eclipse.equino
阅读全文
摘要:在 “编辑”—>”虚拟网络编辑器“ 里面的vmnet0 桥接模式 里面是自动连接,把他改为真实的物理网卡即可,如下图:
阅读全文
摘要:CentOS7中的桌面环境1. 安装GNOME桌面环境1.1. 列出所有安装套件[root@appclient ~]# yum groups listLoaded plugins: fastestmirrorThere is no installed groups file.Maybe run: yum groups mark convert (see man yum)base | 3.6 kB ...
阅读全文
摘要:CentOS7配置和管理KubernetesKubernetes(k8s)是自动化容器操作的开源平台,这些操作包括部署,调度和节点集群间扩展。如果你曾经用过Docker容器技术部署容器,那么可以将Docker看成Kubernetes内部使用的低级别组件。Kubernetes不仅仅支持Docker,还支持Rocket,这是另一种容器技术。使用Kubernetes可以:Ø 自动化容器的部署和复制Ø 随...
阅读全文
摘要:CentOS7配置和管理DockerDocker是操作系统级别的虚拟化工具,它能自动化布署在容器中的应用1. 安装Docker1.1. 安装Docker相关软件[root@server1 ~]# yum install -y dockerLoaded plugins: fastestmirrorbase | 3.6 kB 00:00extras | 3.4 kB 00:00updates | 3....
阅读全文
摘要:CentOS7配置和管理KVM安装与配置虚拟化软件KVM ( Kernel-based Virtual Machine ) + QEMU,它要求计算机的CPU支持Intel VT or AMD-V功能1. 安装KVM1.1. 安装KVM相关软件[root@server1 ~]# yum install -y qemu-kvm libvirt virt-install bridge-utilsLoa...
阅读全文
摘要:待补充
阅读全文
摘要:CentOS7配置iSCSI服务在网络上的存贮服务为iSCSI Target,而连接到iSCSI Target服务的叫iSCSI Initiator1. 直接配置iSCSI Target服务1.1. 安装targetcli软件[root@server1 ~]# yum install -y targetcliLoaded plugins: fastestmirrorbase | 3.6 kB 00...
阅读全文
摘要:CentOS7配置NFS服务1. 配置NFS服务器端1.1. 安装nfs-utils软件[root@server1 ~]# yum install -y nfs-utilsLoaded plugins: fastestmirrorbase | 3.6 kB 00:00extras | 3.4 kB 00:00updates | 3.4 kB 00:001.2. 配置NFS服务的域名[root@s...
阅读全文
摘要:CentOS7配置SSH服务1. SSH配置1.1. 使用SSH服务更加安全[root@centos7 ~]# vi /etc/ssh/sshd_config设置如下PermitRootLogin noPermitEmptyPasswords noPasswordAuthentication yes[root@centos7 ~]# systemctl restart sshd1.2. 设置防火墙...
阅读全文
摘要:CentOS7安装配置NTP服务NTP服务是时间同步服务1. 安装NTPd[root@centos7 ~]# yum install -y ntp[jack@centos7 ~]$ vi /etc/ntp.conf添加如下的代码restrict 192.168.0.0 mask 255.255.0.0 nomodify notrap更改时间同步服务器#server 0.centos.pool.nt...
阅读全文
摘要:CentOS7配置sudo如果一些用户共享权限,配置sudo是为了分离用户的职责1. 将root 的权限传递给所有用户[root@centos7 ~]# visudo添加下面的内容到最后一行,使jack拥有root的所有权限jack ALL=(ALL) ALL[root@centos7 ~]# su - jackLast login: Fri Oct 27 06:52:31 CST 2017 fr...
阅读全文
摘要:CentOS7配置vim1. 安装vim[root@centos7 ~]# yum -y install vim-enhancedLoaded plugins: fastestmirrorbase | 3.6 kB 00:00extras | 3.4 kB 00:00updates | 3.4 kB 00:002. 配置命令别名[root@centos7 ~]# vi /etc/profile在最...
阅读全文
摘要:CentOS7服务管理1. 查看服务1.1. 查看所有运行的服务[root@centos7 ~]# systemctl -t serviceUNIT LOAD ACTIVE SUB DESCRIPTIONauditd.service loaded active running Security Auditing Servicecrond.service loaded active running ...
阅读全文
摘要:CentOS7用户管理1. 添加用户[root@centos7 ~]# useradd jack[root@centos7 ~]# passwd jackChanging password for user jack.New password:BAD PASSWORD: The password is shorter than 8 charactersRetype new password:pas...
阅读全文
摘要:CentOS7基本设置 1. 查看相关信息 1.1. 查看系统信息 方法1: [root@centos7 ~]# uname -a Linux centos7.smartmap 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86
阅读全文
摘要:CentOS7安装1. 下载CentOS7下载的网址为:http://isoredirect.centos.org/centos/7/isos/x86_64/2. CentOS7安装2.1. 新建虚拟机2.1.1. 虚拟机名与操作系统类型2.1.2. 虚拟机内存大小2.1.3. 虚拟机硬盘设置2.1.4. 虚拟机创建成功2.1.5. 虚拟机设置2.1.6. 虚拟机设置—CPU2.1.7. 虚拟机设...
阅读全文
摘要:1.PM管理要点2.PM管理要点--团队建设3.PM管理要点--工作安排4.PM管理要点--人员培养
阅读全文
摘要:1.项目运营过程2.总的项目开发过程3.项目过程要求4.开发过程5.项目初期问题6.开发人员的每迭代开发流程
阅读全文
摘要:1.需求管理过程2.风险管理3.质量管理过程4.团队与人员建设
阅读全文
摘要:1. 质量指标2. 质量策划--PCB3.各项项目质量措施4.保证质量活动5.开发过程--质量活动6. QCCQCC: 现状、目标、不断评审、根因、制定对策、达成效果
阅读全文
摘要:解析 from datetime import * import time import calendar import json import numpy as np from struct import * import binascii import netCDF4 file = open(r"D:/radarDataTest/Z_QPF_20140831203600.F030.b...
阅读全文