摘要:
首先 下载Nginx 上传到/apps/svr cd /apps/svr tar -zxvf nginx.tar.gz yum -y install gcc gcc-c++ autoconf automake make # PCRE库支持正则表达式。如果我们在配置文件nginx.conf中使用了正则 阅读全文
摘要:
WHAT 今天测试一个多线程代码。简单来说,就是在 Main 函数里,创建了一个 长度为 1500 的数组,并使用了如下代码: Thread thread = new Thread(()->{ while (!list.isEmpty()){ tasks.get(0); System.out.pri 阅读全文
摘要:
分支 删除分支 git push orgin --delete {brach name} CherryPick 修改远程分支的名称 一、重命名自己本地的分支 git branch -m 原分支名称 新分支名称 二、删除远程自己的原分支 git push --delete origin 自己的原分支名 阅读全文
摘要:
mongodb 启动失败:ERROR: child process failed, exited with error number 100 原因:之前没有正常结束 解决:查看mongo.conf文件,dbpath=/data/mongodb/,进入目录,rm mongod.lock这个文件。 重新 阅读全文
摘要:
版本不兼容问题:指定安装对应版本进行兼容 pip install pymongo==3.10.1 写代码 import pymongo def findAndImport(): # 查询mongo的数据 client = MongoClient("mongodb://ip:27017/") data 阅读全文
摘要:
1、Spring Boot Reference Guide中文翻译 -《Spring Boot参考指南》 阅读全文
摘要:
引入依赖 <dependency> <groupId>com.ithub.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.2.12</version> </dependen 阅读全文
摘要:
https://github.com/yindz/common-random#v1011 https://www.cnblogs.com/kiwifly/p/13431229.html 阅读全文
摘要:
FastDFS 1. 简介 小文件-适用于图片 静默IO 搭建流程 目标: 新服务器: Tracker 10.16.42.160 10.16.42.161 Storage 10.16.42.162 10.16.42.163 准备环境 上传失败:chmod 777 soft 统一存放目录:/usr/l 阅读全文
摘要:
RestHighLevelClient是项目中使用ES一定会使用到的类。而且官方文档简单易读,非常推荐直接阅读官方文档。 https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-doc 阅读全文