磁盘增加逻辑卷

2022-09-12

1、分区
/dev/sda4
parted /dev/vdb mklabel gpt;
parted /dev/vdb mkpart data xfs 0% 100%;  阅读全文...

qemu-img resize qcow2 –shrink 4G

2022-09-09

1、qemu-img resize CentOS-Stream-ec2-8-20220125.1.x86_64.qcow2 –shrink 4G  阅读全文...

webconsole访问centos8

2022-09-04

systemctl enable –now cockpit.socket  阅读全文...

fio实例

2022-08-31

FIO测试工具支持裸盘分区、文件系统两种方式测试I/O性能。如果您直接测试裸盘分区,会破坏裸盘分区中的文件系统元数据,导致无法访问该裸盘分区中的文件,甚至导致实例宕机。  阅读全文...

mongo查询某列

2022-07-06

DBQuery.shellBatchSize = 300  阅读全文...

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  阅读全文...

mongodb 6.0 增加密码认证

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  阅读全文...