java
灰气球
有两个人从铁窗朝外望去,
一个人看到的是满地的泥泞,
另一个人却看到满天的繁星。
展开
-
spring-boot 之 helloword
初识 spring-boot参考文档spring-boot官方文档 示例环境jdk 1.8spring-boot 2.0.0idea2015OS: Windows10新建一个Maven Java 工程向pom.xml添加Spring Boot Maven依赖<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://m原创 2017-01-02 15:09:27 · 247 阅读 · 0 评论 -
文章标题spring-boot + spring-data-jpa 实现简单的增删改查
JPA(Java Persistence API)定义了一系列对象持久化的标准,目前实现这一规范的产品有Hibernate、TopLink等。示例环境 jdk 1.8spring-boot 2.0.0spring-data-jpaidea2015OS: Windows10mysql (springboot)*需求 请求类型 请求路径 功能 GET /girls原创 2017-01-08 11:00:20 · 1346 阅读 · 0 评论 -
centos 7 禁用防火墙
禁用防火墙[root@rhel7 ~]# systemctl stop firewalld.service[root@rhel7 ~]# systemctl disable firewalld.service查看状态[root@rhel7 ~]# systemctl status firewalld.service启动一个服务:systemctl start firewalld.servi转载 2017-01-18 11:30:37 · 447 阅读 · 0 评论 -
centos7 安装 Nginx
nginx安装环境 nginx是C语言开发,建议在linux上运行,本教程使用Centos6.5作为安装环境。gcc 安装nginx需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc: yum install gcc-c++ PCRE PCRE(Perl Compatible Regular Expressions)是一个Perl库,包括 per转载 2017-01-18 11:53:50 · 207 阅读 · 0 评论