mongo查询某列

2022-07-06

db.customer.find({“CId”:”04″},{‘uniqueCustomerId’:1})
db.getCollection(‘customer’).find({“companyId”:”04″},{‘uniqueCustomerId’:1})  阅读全文...

zookeeper deleteall

2022-06-29

delete /dubbo
Node not empty: /dubbo  阅读全文...

ssh -J 跳板机proxy

2022-06-29

1、一个跳板机
ssh -J “test@172.16.1.1:22” -p22 root@172.16.1.2
2、2个跳板机
ssh -J user1@host1:port1,user2@host2:port2 user3@host3:port3
3、openssh7.3 sshd_config  阅读全文...

mongodb6rc10 增加密码认证

2022-06-19

1、sed -i ‘s/fork: true/fork: false/g’ /data1/mongodb/config/*.conf;sed -i ‘s|\/log|\/logs|g’ /data1/mongodb/config/*.conf  阅读全文...

flashback table t1 to before drop;

2022-05-26

1、select ‘drop table ‘||tname||’;’ from tab;
drop table t1;
2、flashback table t1 to before drop;  阅读全文...

yum install OpenLDAP Server on RHEL8/Centos8

2022-05-22

Current version: 2.4.59.1  阅读全文...

Linux OpenLAP 修改max open files

2022-05-08

默认安装OpenLDAP,其max open files个数太小,设置为1024  阅读全文...

/var/log/journal日志清理

2022-04-14

/var/log/journal日志清理  阅读全文...

608ZZ ABEC-7 轴承钢轴承

2022-03-08

高速轮滑鞋滑板双翘板剪刀车扭扭车童车轮608ZZ RS工业轴承ABEC-7 【原装】608ZZ【8支装】 ABEC-7  阅读全文...

nacos授权

2022-02-22

nacos.core.auth.enabled=true  阅读全文...

vi每个字中间加空格

2022-02-01

vi每个字中间加空格
:%s/\([u4e00-\u9fa5]\)/\1 /g  阅读全文...

ssh -o StrictHostKeyChecking=no

2022-01-24

-o StrictHostKeyChecking=no
scp -o StrictHostKeyChecking=no -P22 ${SHELL_FILE} root@${IP}:/root  阅读全文...

sed指定字符串后面添加

2021-12-21

sed -i “/JAVA_OPT_EXT/a JAVA_OPT=\”\$\{JAVA_OPT\} –add-exports java.base\/jdk.internal.ref=ALL-UNNAMED\”” bin/runbroker.sh  阅读全文...

mysql批量drop table

2021-12-07

SELECT concat(‘DROP TABLE IF EXISTS ‘, table_name, ‘;’) FROM information_schema.tables WHERE table_schema = ‘dbdb’;  阅读全文...

拼音输入法之u模式

2021-12-05

win10中借助微软拼音输入法输入生僻字、和在u模式下输入特殊符号的方法  阅读全文...