搭建ceph集群所有节点关闭firewall和selinuxsystemctl stop firewalld
systemctl disable firewalld
setenforce 0
vim /etc/selimux/config
selinux=disabled添加国内ceph源cat >/etc/yum.repos.d/ceph.repo<<EOF
[ceph]
na
分类 "Linux" 下的文章
安装部署K8SMaster和Node都需要操作关闭防火墙systemctl stop firewalld
systemctl disable firewalld关闭selinuxsed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
setenforce 0修改桥接的ipv4流量传递到iptables的链cat <
#!/usr/bin/env python
#coding=utf-8
#阿里云余额告警接口
from aliyunsdkcore.client import AcsClient
from aliyunsdkcore.acs_exception.exceptions import ClientException
from aliyunsdkcore.acs_exception.exceptions
下载包centos7下面的rpm包,必须安装wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm --no-check-certificatephp7的扩展包,在php官方手册就可以获取到地址wget https://github.com/krakjoe/wkhtmltox/
1.下载sqlite32.找到你项目的.svn文件,查看是否存在wc.db3.将sqlite3.exe放到.svn的同级目录4.启动cmd执行sqlite3 .svn/wc.db "select * from work_queue"5.删除错误队列sqlite3 .svn/wc.db "delet from work_queue"6.然后再cleanup就O
#!/bin/bash
#阿里云linux系统基线加固
#敏感文件权限
chown root:root /etc/passwd /etc/shadow /etc/group /etc/gshadow
chmod 0644 /etc/group
chmod 0644 /etc/passwd
chmod 0400 /etc/shadow
chmod 0400 /etc/gshadow
#设置SSH
和其他语言的正则表达式有所区别,具体如下:示例文本:https://sf.maxbon.cn想要将其替换为http://www.maxbon.cn/ssl/sfJS如下:https://(.*).maxbon.cnhttp://www.maxbon.cn/ssl/$1()内的内容引用为$1sed的话有所区别:echo "https://sf.maxbon.cn" | sed '
https://technitium.com/dns/