会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leolzi
才能是持久的耐性
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
21
下一页
2022年4月27日
oracle AES加密 和 java AES加密 C#加密解密互通的问题
摘要: 1. oracle 加密解密: 1)进入oracle命令行(sqlplus /as sysdba) 或登录oracle 管理员账号 2)执行赋权命令-赋权命令需在加密解密函数之前执行 ehrds 是用户名grant execute on sys.dbms_crypto to ehrds; grant
阅读全文
posted @ 2022-04-27 16:49 leolzi
阅读(1676)
评论(0)
推荐(0)
2022年4月13日
nginx服务转发
摘要: 1. 转发ip和端口 listen 9800; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location /{ proxy_pass http://11.55.38.60:9800;
阅读全文
posted @ 2022-04-13 17:40 leolzi
阅读(2663)
评论(0)
推荐(0)
2022年4月3日
mongodb 索引创建,查询, 删除
摘要: 1. 多键唯一索引 a.loc 和 a.qty 为符合多键索引 db.collection.createIndex( { "a.loc": 1, "a.qty": 1 }, { unique: true } ) 如: db.getCollection("Name,idcardNo").createI
阅读全文
posted @ 2022-04-03 14:54 leolzi
阅读(304)
评论(0)
推荐(0)
2022年3月15日
mongodb 创建用户,设置密码
摘要: mongo 4.2- 4.4 1. 启用安全认证 修改配置文件: security: authorization: enabled 2. 创建用户密码:用户是相对于数据库而言的,也要设置 admin 数据库的密码 db.createUser({ user: "admin", pwd: "123qwe
阅读全文
posted @ 2022-03-15 13:53 leolzi
阅读(853)
评论(0)
推荐(0)
2022年3月4日
Mongodb副本集--切换主从节点-调整优先级
摘要: 思路:1.为了保证数据的一致性,必须先关闭应用的写服务。2.提升要升级为Primary节点的Secondary节点的优先级。 操作如下,在主节点上执行: arps:PRIMARY> config=rs.conf() //查看当前配置,存入config变量中。 arps:PRIMARY> config
阅读全文
posted @ 2022-03-04 08:46 leolzi
阅读(1437)
评论(0)
推荐(0)
2022年1月6日
Mongodb java 操作
摘要: 声明:博客来源: https://zhuanlan.zhihu.com/p/90211788 掌握如下内容 mongodb数据库前提: 1 连接 MongoDB 数据库 1.1 创建工程(maven:jar) 在 POM 文件中添加 MongoDB 驱动坐标 <!-添加 MongoDB驱动坐标 --
阅读全文
posted @ 2022-01-06 16:42 leolzi
阅读(148)
评论(0)
推荐(0)
2021年12月15日
MongoDB 4.4 安装 linux
摘要: 1. 官方链接: https://docs.mongodb.com/v4.4/tutorial/install-mongodb-enterprise-on-red-hat/ 1、配置存储库。 创建一个/etc/yum.repos.d/mongodb-enterprise-4.4.repo文件,以便您
阅读全文
posted @ 2021-12-15 08:44 leolzi
阅读(785)
评论(0)
推荐(0)
2021年12月14日
oracle 12C linux centos7.5 安装 12C
摘要: 注:Oracle12.2 X64安装 官方文档: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/ladbi/index.html 一、环境准备 centos 7.5 二、安装Oracle前准备 0.修改linux 主机
阅读全文
posted @ 2021-12-14 16:00 leolzi
阅读(650)
评论(0)
推荐(0)
2021年9月28日
RabbitMQ四种Exchange类型
摘要: 博客原文地址: https://zhuanlan.zhihu.com/p/202872293 RabbitMQ常用的Exchange Type有fanout、direct、topic、headers这四种,下面分别进行介绍。 Direct 处理路由键,需要将一个队列绑定到交换机上,要求该消息与一个特
阅读全文
posted @ 2021-09-28 14:27 leolzi
阅读(350)
评论(0)
推荐(0)
2021年9月27日
RabbitMq安装
摘要: 安装步骤(图文) 1.第一步: 安装 otp_win64_20.2.exe ,双击安装即可, 错误处理:如果c++ 按照报错,安装下面 两个 windows 更新 2.第二步:安装rabbitmq-server-3.7.4.exe双击文件rabbitmq-server-3.7.4.exe,傻瓜式安装
阅读全文
posted @ 2021-09-27 10:51 leolzi
阅读(134)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
21
下一页
公告