04 2022 档案
摘要:环境: DB:19.3.0.0 1.创建冗余磁盘组create diskgroup failtest normal redundancyfailgroup failg1 disk '/dev/mapper/testdisk01' name f1failgroup failg2 disk '/dev/
阅读全文
摘要:环境: OS:Centos 7 es:6.8.5 1.查看index的只读状态 -bash-4.2$ curl -u elastic:elastic -H "Content-Type: application/json" -XGET "http://192.168.1.109:19200/app_m
阅读全文
摘要:SQL> create diskgroup VOTEDISK normal redundancy 2 failgroup failvotedisk1 disk '/dev/mapper/votedisk' name fail1 3 failgroup failvotedisk2 disk '/dev
阅读全文
摘要:环境:OS:Centos 7db:19.3.0.0 --检查状态,在两个节点上执行[root@rac01 rules.d]# /u01/grid/grid_home/19.3.0.0/bin/tfactl status[root@rac02 rules.d]# /u01/grid/grid_home
阅读全文
摘要:环境:OS:Centos 7Mysql:5.6.40 1.生成一个 CA 私钥[root@localhost tmp]# mkdir /tmp/ca[root@localhost tmp]# cd /tmp/ca [root@localhost ca]# openssl genrsa 2048 >
阅读全文
摘要:环境:OS:Centos 7Mysql:5.7 1.安装mysql安装步骤省略,mysql5.7默认安装都已经安装好了ssl的证书在数据目录下 [root@localhost data]# ls -1 auto.cnf ca-key.pem ca.pem client-cert.pem client
阅读全文
摘要:环境: OS:Centos 7 mysql:5.7.30 IP:192.168.1.118 1.加密备份/opt/xtrabackup247/bin/innobackupex --defaults-file=/opt/mysql5730/conf/my.cnf --user=root --socke
阅读全文
摘要:环境: OS:Centos 6 安装例子1 1.下载wget https://npm.taobao.org/mirrors/node/v10.14.1/node-v10.14.1-linux-x64.tar.gz 2.解压[root@slave1 soft]#tar -xvf node-v10.14
阅读全文
摘要:redis-cli -h 192.168.1.114 -a test123 --bigkeys hotkeys命令需要redis 4.0以上的版本才支持 /usr/local/redis/src/redis-cli -h 192.168.1.50 -a test123 --hotkeys 分析热ke
阅读全文
摘要:环境: Python:3.6.5 pip install requests pip install json #!/usr/bin/env python #coding=utf-8 import json import requests # 你复制的webhook地址 url = "https://
阅读全文