- 博客(14)
- 收藏
- 关注
原创 环境搭建docker篇
环境搭建docker篇一、linux升级yum update -y二、安装docker仓库sudo yum install -y yum-utils device-mapper-persistent-data lvm2 #sudo root 权限执行,可以不加#设置仓库源sudo yum-config-manager --add-repo https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo
2021-08-13 17:16:34
153
原创 环境搭建mongo篇
环境搭建mongo篇一、虚拟机安装参考:二、安装mongo1.官网找到你需要版本的连接https://www.mongodb.com/try/download/communityon-premises–>mongodb community server–> available downloads -->copy link获得安装包路径:https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon-5.0.2.tgz
2021-08-13 17:13:31
237
原创 全新虚拟机安装nginx
全新虚拟机安装nginx过程1:安装虚拟机参考:2:安装nginx参考:https://blog.youkuaiyun.com/qq_42815754/article/details/829803263:桥接模式无法主机无法ping通虚拟机参考:4:其他机器无法访问nginx服务telnet 查看端口是否可用telnet 命令不可用参考:https://www.cnblogs.com/mingforyou/p/8297721.html端口不可用,查看防火墙,添加外部访问端口参考:https://b
2021-08-03 14:42:53
176
原创 字符流和字节流使用场景
字符流和字节流的使用范围:字节流一般用来处理图像,视频,以及PPT,Word类型的文件。字符流一般用于处理纯文本类型的文件,如TXT文件等,字节流可以用来处理纯文本文件,但是字符流不能用于处理图像视频等非文本类型的文件。...
2021-04-06 17:55:41
1987
原创 使用DSL查询与过滤
使用DSL查询与过滤1 、全匹配(match_all)普通搜索(匹配所有文档):GET index_name/_search{"query" : {"match_all" : {}}}GET index_name/_search{ "query": { "bool": { "must": [ { "match_all": {} } ], "filter": {
2021-02-22 10:43:14
815
原创 $GOPATH/go.mod exists but should not
$GOPATH/go.mod exists but should not原因,开启了模块支持后,不允许将项目放在gopath下面将这两个地方配置的gopath移除
2021-01-29 09:20:05
1120
原创 es查询Java(类in查询)
存在问题的写法 if (shouldPara != null && shouldPara.size() > 0) { List<String> jwhdzbm = (List<String>) shouldPara.get("JWHDZBM"); List<String> dzbm = (List<String>) shouldPara.get("DZBM"); ...
2021-01-22 12:45:54
8746
原创 docker启动失败
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.报错截图问题查看systemctl status docker.servicejournalctl -xe查看防火墙/usr/sbin/sestatus -v1、临时关闭(不用重启机器)
2021-01-21 11:45:58
151
原创 oracle创建索引
orcale创建索引create index index_name on table_name( colunm_name) nologging parallel 8 ;语句解释nologging 最小化日志产生的数量 ; parallel 8 开启8个并行进行创建索引语句实例create index I_dzxx_jzw_gxsj on dzxx_jzwdyfw( gxsj ) nologging
2021-01-20 17:20:50
1127
原创 objectUtils 使用可能会出现的问题
objectUtils 使用可能会出现的问题当一个类没有实现toString方法的时候,objectUtils会通过调用object的toString方法对对象实例化,所以objectUtils.isEmpty可能会对为空的对象返回false例如:String s1 = ObjectUtils.identityToString(null);String s2 = ObjectUtils.identityToString("");String s3 = ObjectUtils.identityToS
2020-10-13 09:49:54
4395
原创 nacos 工具类读取配置文件
nacos 工具类读取配置文件1、nacos 配置****2、value方法读取3、set方法读取@yaoxioajian脑子是个好东西,有些人转着转着就没了
2020-07-20 09:27:00
1478
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人