saltstack教程
安装saltstack配置yum源 curl https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo >Centos-vault-8.5.2111.repoyum install -y https://mirrors.aliyun.com/epel/epel-release-latest-8.noarch.rpmsed -i &# ...
阅读更多
Linux部署DNS服务
安装软件 yum install bind bind-utils 编辑配置文件/etc/named.conf修改监听地址 options { listen-on port 53 { any; }; directory "/var/named"; dump-file "/v ...
阅读更多
Milvus密码修改
安装python模块 pip3 install pymilvus 执行脚本 from pymilvus import MilvusClientimport logging# Configure logginglogging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s&# ...
阅读更多
Kafka集群部署
环境信息 节点名称 IP地址 服务 node01 192.168.1.11 zookeeper、kafka node02 192.168.1.12 zookeeper、kafka node03 192.168.1.13 zookeeper、kafka JDK配置jdk tar xf jdk-8u211-linux-x64.tar.gz -C /usr/localcat /et ...
阅读更多
Euler21.10部署ClickHouse集群
环境信息 主机名 IP地址 角色 软件版本 ch01 192.168.1.17 zookeeper、clickhouse zookeeper 3.9.2 clickhouse 21.7.3.14 ch02 192.168.1.18 zookeeper、clickhouse zookeeper 3.9.2 clickhouse 21.7.3.14 ch03 192.168.1.19 ...
阅读更多
ETCD集群数据备份与恢复
参考链接:https://www.cnblogs.com/xishuai/p/docker-etcd.html 节点信息 节点名称 节点IP地址 rke01 192.168.1.11 rke02 192.168.1.16 rke03 192.168.1.15 数据备份查询数据有多少条记录 etcdctl get --prefix "" | grep -c ...
阅读更多
kube-prometheus监控数据持久化
版本信息k8s版本对应kube-prometheus对照表 Stack/Version Kubernetes 1.22 Kubernetes 1.23 Kubernetes 1.24 Kubernetes 1.25 Kubernetes 1.26 Kubernetes 1.27 Kubernetes 1.28 release-0.10 ✔ ✔ ✗ ✗ ✗ ✗ ✗ release-0 ...
阅读更多
k8s部署NFS持久化存储
NFS安装NFS Server yum install nfs-utils rpcbind 编辑/etc/exports /nfs *(insecure,rw,sync,no_root_squash,no_all_squash) 创建nfs目录 mkdir -p /nfs 启动服务 systemctl enable nfs-server rpcbindsystemctl start nfs-se ...
阅读更多
Linux源码构建OpenSSH9.8p1 RPM包
OpenSSH配置Yum源curl http://mirrors.aliyun.com/repo/Centos-7.repo>/etc/yum.repos.d/centos-7.repocurl http://mirrors.aliyun.com/repo/epel-7.repo>/etc/yum.repos.d/epel-7.reposed -i 's/$releaseve ...
阅读更多
NVIDIA A800初始化失败
解决方式NVIDIA A800显卡初始化提示以下错误: RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 802: s ...
阅读更多