会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
空虚公子
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
下一页
2023年12月9日
linux ftp服务器vsftpd安装
摘要: 前提:一定关关闭selinux!!!,然后重启服务器 安装 yum -y install vsftpd systemctl enable vsftpd.service systemctl start vsftpd.service 添加用户 adduser ftptest passwd ftptest
阅读全文
posted @ 2023-12-09 15:19 空虚公子
阅读(21)
评论(0)
推荐(0)
2023年7月18日
java mongo 插入geometry 多边形 线 点
摘要: import com.mongodb.client.MongoCollection;import com.mongodb.client.model.geojson.LineString;import com.mongodb.client.model.geojson.Point;import com.
阅读全文
posted @ 2023-07-18 20:49 空虚公子
阅读(73)
评论(0)
推荐(0)
2023年7月9日
java 连接mongodb
摘要: import com.mongodb.MongoClient;import com.mongodb.MongoClientOptions;import com.mongodb.MongoCredential;import com.mongodb.ServerAddress; public class
阅读全文
posted @ 2023-07-09 09:36 空虚公子
阅读(215)
评论(0)
推荐(0)
2023年7月8日
mongodb Aggregates Accumulators使用初步
摘要: import com.mongodb.BasicDBObject;import com.mongodb.client.MongoCollection;import com.mongodb.client.MongoCursor;import com.mongodb.client.model.Accum
阅读全文
posted @ 2023-07-08 09:14 空虚公子
阅读(114)
评论(0)
推荐(0)
2023年5月8日
mongodb gis查询
摘要: 官网地址: https://www.mongodb.com/docs/manual/reference/operator/query-geospatial/ git demo https://github.com/mongodb/docs-java/blob/master/source/includ
阅读全文
posted @ 2023-05-08 17:41 空虚公子
阅读(52)
评论(0)
推荐(0)
2023年3月27日
git回滚代码
摘要: push 前回滚 git reset --hard f0f47e48a7b3fcac8632d978343f66c0464ea16e push后回滚 git reset --hard f0f47e48a7b3fcac8632d978343f66c0464ea16e git push origin H
阅读全文
posted @ 2023-03-27 15:12 空虚公子
阅读(19)
评论(0)
推荐(0)
git把本地工程推送到远程仓库
摘要: 假设远程地址为 https://gitee.com/donghuawang0658/git-study.git 分支: test 本地操作 git init git remote add origin https://gitee.com/donghuawang0658/git-study.git g
阅读全文
posted @ 2023-03-27 14:37 空虚公子
阅读(19)
评论(0)
推荐(0)
2023年3月26日
sharding-jdbc使用注意事项
摘要: 1 使用原则 1)单表数据量达到5000万以上,考虑使用分库分表方案分表 2)读写分离可以考虑使用 2 列设计规范 1)主键使用bigint类型,使用雪花算法生成 2)禁止使用外键 3)禁止使用null字段 4)使用int存储ip地址 5)添加字段要慎重,可以考虑第三方存储,比如mongo,redi
阅读全文
posted @ 2023-03-26 17:26 空虚公子
阅读(187)
评论(0)
推荐(0)
2023年3月17日
docker desktop 安装es 8.6.2
摘要: 前提: 设置挂在路径:docker 设置 resources -- file sharing d:/docker/file 在D:\docker\file\app\es\cfg建立elasticsearch.yml文件,内容: http: host: 0.0.0.0xpack.security.en
阅读全文
posted @ 2023-03-17 09:52 空虚公子
阅读(256)
评论(0)
推荐(0)
Windows docker desktop 时区设置
摘要: 必须设置时区,否则查询出来的时间会有问题:(本人安装了mysql,但是修改mysql的配置没起作用) 进入容器执行: cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo ‘Asia/Shanghai’ >/etc/timezone
阅读全文
posted @ 2023-03-17 08:54 空虚公子
阅读(470)
评论(0)
推荐(0)
1
2
3
4
下一页
公告