02 2022 档案
摘要:yum命令 查看提供某个命令的rpm包: # yum provides gcc Loading mirror speeds from cached hostfile * base: mirrors.bupt.edu.cn * centos-sclo-rh: mirrors.nju.edu.cn *
阅读全文
摘要:https://www.jianshu.com/u/9456fecb5f96 1 #include <algorithm> 2 #include <atomic> 3 #include <cstddef> 4 #include <iostream> 5 #include <thread> 6 #in
阅读全文
摘要:cmake_dependent_option cmake_dependent_option(<option> "<help_text>" <value> <depends> <force>) 说明: 如果<depends>中以分号分割的条件列表全部为true,则使<option>对用户可用。否则,名
阅读全文
摘要:radosgw-admin 命令 删除bucket: radosgw-admin bucket rm --bucket=test 删除bucket所有对象: radosgw-admin bucket rm --bucket=bucketname --purge-objects --bypass-gc
阅读全文
摘要:iptables 禁止 IP和端口 1. 禁止指定 IP iptables -I INPUT -s 10.0.28.15 -j DROP 2. 禁止指定 IP段 iptables -I INPUT -s 10.0.28.15/24 -j DROP 3. 禁止指定 IP和端口 iptables -I
阅读全文
摘要:Linux 远程挂载 Ceph RBD 磁盘 创建存储池 1 sudo ceph osd pool create <pool-name> 128 128 2 sudo ceph osd pool application enable <pool-name> rbd View Code 查看独占锁信息
阅读全文

浙公网安备 33010602011771号