06 2020 档案
摘要:为何要学习yaml和json呢?这玩意在生产环境尤为重要。 一、编写yaml文件 - hosts: all tasks: - name: Install httpd yum: name=httpd state=present - name: test copy template: src=/root
阅读全文
摘要:ceph crush 改正默认写入全部硬盘 高德置地 王锦雄 一、ceph crush 策略配置 1 获取crushmap二进制文件 ceph osd getcrushmap -o a.map 2 将二进制文件转成文本文件 crushtool -d a.map -o b 3 修改rules vi b
阅读全文
摘要:1 安装epel wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 2 安装pip yum install python-pip -y pip install --upgrade pip 3 安
阅读全文

浙公网安备 33010602011771号