上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 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 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2601) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(260) 评论(0) 推荐(0) 编辑
摘要: mongo 4.2- 4.4 1. 启用安全认证 修改配置文件: security: authorization: enabled 2. 创建用户密码:用户是相对于数据库而言的,也要设置 admin 数据库的密码 db.createUser({ user: "admin", pwd: "123qwe 阅读全文
posted @ 2022-03-15 13:53 leolzi 阅读(780) 评论(0) 推荐(0) 编辑
摘要: 思路:1.为了保证数据的一致性,必须先关闭应用的写服务。2.提升要升级为Primary节点的Secondary节点的优先级。 操作如下,在主节点上执行: arps:PRIMARY> config=rs.conf() //查看当前配置,存入config变量中。 arps:PRIMARY> config 阅读全文
posted @ 2022-03-04 08:46 leolzi 阅读(1271) 评论(0) 推荐(0) 编辑
摘要: 声明:博客来源: https://zhuanlan.zhihu.com/p/90211788 掌握如下内容 mongodb数据库前提: 1 连接 MongoDB 数据库 1.1 创建工程(maven:jar) 在 POM 文件中添加 MongoDB 驱动坐标 <!-添加 MongoDB驱动坐标 -- 阅读全文
posted @ 2022-01-06 16:42 leolzi 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 注: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 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 博客原文地址: https://zhuanlan.zhihu.com/p/202872293 RabbitMQ常用的Exchange Type有fanout、direct、topic、headers这四种,下面分别进行介绍。 Direct 处理路由键,需要将一个队列绑定到交换机上,要求该消息与一个特 阅读全文
posted @ 2021-09-28 14:27 leolzi 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 安装步骤(图文) 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 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页