摘要: 准备 环境 系统:CentOS7.5 软件即依赖 libfatscommon FastDFS分离出的一些公用函数包 FastDFS fastdfs-nginx-module FastDFS和nginx的关联模块 nginx nginx1.15.7 编译环境 磁盘目 安装libfatscommon 安 阅读全文
posted @ 2019-11-12 14:48 BrokenColor 阅读(555) 评论(0) 推荐(0) 编辑
摘要: Ctrl+Shift+P,F1 展示全局命令面板 Ctrl+P 快速打开最近打开的文件 Ctrl+Shift+N 打开新的编辑器窗口 Ctrl+Shift+W 关闭编辑器 Ctrl + X 剪切 Ctrl + C 复制 Alt + up/down 移动行上下 Shift + Alt up/down 阅读全文
posted @ 2019-11-05 15:12 BrokenColor 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 1,安装依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel SSL功能需要openssl库 gzip模块需要zlib库 rewrite模块需要pcre库 2,下载nginx的tar包 cd /soft mkdi 阅读全文
posted @ 2019-10-01 12:38 BrokenColor 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 一,环境 主机:win10 家庭版 软件:VMware 14 系统:CentOS 7 二,设置共享文件 右键虚拟机->选择设置 如图:创建共享文件 三,安装VMware Tools 然后进入centOS系统 新建一个目录 /mnt/cdrom, 用于挂载虚拟光驱 将虚拟光驱设备 /dev/cdrom 阅读全文
posted @ 2019-09-30 19:55 BrokenColor 阅读(992) 评论(0) 推荐(0) 编辑
摘要: 获取项目根路径(一) 在项目开发中展示的路径: filePath: /home/idea/project/java_basic在项目打成jar包中的路径: filePath: /home/idea/project/java_basic/selfimpr-fileupload/target 获取项目根 阅读全文
posted @ 2019-09-02 15:16 BrokenColor 阅读(251) 评论(0) 推荐(0) 编辑
摘要: springboot 配置文件的加载顺序1.在命令行中传入的参数。2. SPRING APPLICATION JSON中的属性。 SPRING_APPLICATION—JSON是以JSON格式配置在系统环境变量中的内容。3. java:comp/env中的JNDI 属性。4. Java的系统属性, 阅读全文
posted @ 2019-08-19 19:05 BrokenColor 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 环境:最小化安装centos7 问题:docker 启动没问题,但是查询 镜像时报错 Error response from daemon: Get https://index.docker.io/v1/search?q=mysql&n=25: x509: certificate has expir 阅读全文
posted @ 2019-08-17 18:33 BrokenColor 阅读(5902) 评论(0) 推荐(0) 编辑
摘要: 自动代码 Ctrl+Alt+O 优化导入的类和包 Alt+Insert 生成代码(如get,set方法,构造函数等) 或者右键(Generate) fori/sout/psvm + Tab Ctrl+Alt+T 生成try catch 或者 Alt+enter CTRL+ALT+T 把选中的代码放在 阅读全文
posted @ 2019-08-03 15:21 BrokenColor 阅读(4419) 评论(0) 推荐(0) 编辑
摘要: 1,在idea中新建jsp文件 首先需要在springboot项目 在src 中webapp /WEB-INF/JSP 当我右键想新建一个jsp文件时默认没有 File->Project Struction ->modules 按加号 新增web,双击web resource directory 修 阅读全文
posted @ 2019-05-26 15:09 BrokenColor 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 笔者问题:mysql表(表中数据就是乱码,可能是插入时编码问题,这个问题以后解决)导出excel时数据中有乱码(但是在页面上查看是正常的),我们希望能导出一份没有中文乱码的excel 根据热力站中一&# 阅读全文
posted @ 2019-05-17 11:08 BrokenColor 阅读(3175) 评论(0) 推荐(0) 编辑