empty-rgw

remove osd ceph-deploy disk list node1 node2 node3 # ssh host systemctl stop ceph-osd@0 ceph osd purge 0 –yes-i-really-mean-it ceph osd purge 1 –yes-i-really-mean-it ceph osd purge 2 –yes-i-really-mean-it ceph osd out 0 ceph osd out 1 ceph osd out 2

Published
Categorized as ceph

windows自带MD5

打开命令提示符CMD Microsoft Windows [版本 10.0.17763.348] (c) 2018 Microsoft Corporation。保留所有权利。 C:\Users\mulang>CertUtil -hashfile D:\\linux-read-workflow.png MD5 MD5 的 D:\\linux-read-workflow.png 哈希: 6abbfa0d8a623e39548693390d00e036 CertUtil: -hashfile 命令成功完成。 C:\Users\mulang>CertUtil -hashfile D:\\linux-read-workflow1.png MD5 MD5 的 D:\\linux-read-workflow1.png 哈希: 6abbfa0d8a623e39548693390d00e036 CertUtil: -hashfile 命令成功完成。

Published
Categorized as linux

ceph 基本查询命令

查看pool [root@node1 ~]# ceph osd lspools 1 .rgw.root 2 default.rgw.control 3 default.rgw.meta 4 default.rgw.log 5 default.rgw.buckets.index 6 default.rgw.buckets.data 7 default.rgw.buckets.non-ec

Published
Categorized as ceph, storage

设置SElinux

SElinux工具 setsebool命令是用来修改SElinux策略内各项规则的布尔值。 setsebool命令和getsebool命令是SELinux修改和查询布尔值的一套工具组。 SELinux的策略与规则管理相关命令:seinfo命令、sesearch命令、getsebool命令、setsebool命令、semanage命令。 getsebool getsebool -a #query all

Published
Categorized as linux

Base64

Base64 所谓Base64,就是说选出64个字符—-小写字母a-z、大写字母A-Z、数字0-9、符号”+”、”/”(再加上作为垫字的”=”,实际上是65个字符)—-作为一个基本字符集。然后,其他所有符号都转换成这个字符集中的字符。 Base64将三个字节转化成四个字节,因此Base64编码后的文本,会比原文本大出三分之一左右。 Base64 Table Index Char Index Char Index Char Index Char 0 A 16 Q 32 g 48 w 1 B 17 R 33 h 49 x 2 C 18 S 34 i 50 y 3 D 19 T 35 j 51 z 4 E 20 U 36 k 52 0 5 F… Continue reading Base64

Published
Categorized as algorithm