摘要: private static TransportClient client = ElasticSearch.getClientSingle();BulkRequestBuilder bulkRequestBuilder = client.prepareBulk(); List<Map<String, 阅读全文
posted @ 2020-04-03 11:20 静思,随心 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://blog.csdn.net/ouyang_peng/article/details/84066417 阅读全文
posted @ 2020-03-26 10:35 静思,随心 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1. 检查docker是否安装 yum list installed | grep docker 2. 安装 yum -y install docker 3. 启动 systemctl start docker 4. 查看状态 systemctl status docker 阅读全文
posted @ 2020-03-25 17:14 静思,随心 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 修改配置文件server.xml 不同tomcat不能相同 阅读全文
posted @ 2020-03-19 17:14 静思,随心 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 阿里云配置:开放52189端口 teleport核心配置文件中有相关信息:core.ini teleport安装链接:https://docs.tp4a.com/ 阅读全文
posted @ 2020-03-17 18:02 静思,随心 阅读(477) 评论(0) 推荐(0) 编辑
摘要: nohup java -jar demo.jar > demo.log & 阅读全文
posted @ 2020-03-16 16:29 静思,随心 阅读(511) 评论(0) 推荐(0) 编辑
摘要: Install the prerequisites: sudo yum install yum-utils To set up the yum repository, create the file named /etc/yum.repos.d/nginx.repo with the followi 阅读全文
posted @ 2020-03-15 21:00 静思,随心 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1. 创建数据库字符集 2. 创建表字符集 3. 查看字符集 show variables like '%char%'; 4. 修改my.cnf 添加:character_set_server= utf8 参考链接:https://www.cnblogs.com/wangkaihua/p/10165 阅读全文
posted @ 2020-03-15 10:43 静思,随心 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. nginx(413 Request Entity Too Large) 首先:【http|server|location】 下设置:client_max_body_size 100m 重启nginx:systemctl restart nginx 2. springboot设置 (报错类型:t 阅读全文
posted @ 2020-03-12 23:59 静思,随心 阅读(524) 评论(0) 推荐(0) 编辑
摘要: // 冒泡排序 private void bubbleSort(int[] initSortArray) { int temp; boolean isSort = false; for(int i = 0; i < initSortArray.length; i++) { for(int j = 1 阅读全文
posted @ 2020-03-02 09:21 静思,随心 阅读(112) 评论(0) 推荐(0) 编辑