摘要: .\ipmiutil.exe lan -l -I 192.168.0.3 -G 192.168.0.1 -S 255.255.255.0 ipsrc static -I ip地址 -G 网关地址 -S 子网掩码 ipsrc static 设置为静态ip模式 下载地址:https://ipmiutil 阅读全文
posted @ 2023-12-04 18:37 炒鸡蛋 阅读(230) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash L1="\E[0;41m" R1="\E[0m \n" backPatch sshdConfPath=/etc/ssh sshdConf=sshd_config cp -pf ${sshdConfPath}/${sshdConf} /etc/ssh/sshd_config.b 阅读全文
posted @ 2023-03-25 00:30 炒鸡蛋 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 前置条件:已有 一台外网服务器(用于镜像转存、yaml文件下载)、ceph 集群和 kubernetes 集群 参考文档:Block Devices and Kubernetes — Ceph Documentation 创建存储池 先在 ceph 集群创建 k8s 的存储池 # 存储池名 存储池p 阅读全文
posted @ 2023-03-19 12:14 炒鸡蛋 阅读(786) 评论(0) 推荐(0) 编辑
摘要: #需要有外网服务器!!! #!/bin/bash echo -e "\E[0;41m 私有仓库需要提前登录!! \E[0m \n" checkEv() { if [ $1 == 0 ]; then echo -e "\E[0;42m 成功 !!!! \E[0m \n" else echo -e "\ 阅读全文
posted @ 2023-03-18 21:43 炒鸡蛋 阅读(34) 评论(0) 推荐(0) 编辑
摘要: zabbix监控ceph集群 参考文档:https://docs.ceph.com/en/latest/mgr/zabbix/ 使用ceph zabbix模块提交监控信息 ceph集群中任意一台mon节点安装zabbix50-agent.x86_64,这里主要是使用这个包里面的zabbix_send 阅读全文
posted @ 2022-08-21 22:07 炒鸡蛋 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 检查集群使用状态 ceph health detail 把块设备映射到操作系统 rbd map ssdcache/cb7329af-fe8f-4845-bbc8-5ae5c69a5588 取消映射块设备 rbd unmap /dev/rbd1 查看系统中已经映射的块设备 rbd showmapped 阅读全文
posted @ 2022-08-17 09:18 炒鸡蛋 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 1、安装支持版本的浏览器 2、安装对应版本jre运行环境 使用远程虚拟控制台需要具备以下版本的操作系统、浏览器和Java运行环境,如表2所示。 表2 运行环境 操作系统 运行环境 版本 Windows XP 浏览器 Internet Explorer IE 8.0 Mozilla Firefox M 阅读全文
posted @ 2022-03-14 17:08 炒鸡蛋 阅读(2262) 评论(0) 推荐(0) 编辑
摘要: 树莓派4B ffmpeg推流到b站 -f flv 服务器地址/直播码 ffmpeg获取csi接口摄像头流推流到b站 ffmpeg -f video4linux2 -re -i "/dev/video0" -r 25 -s 1920x1080 -bufsize 10M -g 300 -b 270000 阅读全文
posted @ 2021-11-15 23:19 炒鸡蛋 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 系统环境:ubuntu20.04 下载ubuntu-20.04.2-live-server-amd64.iso wget https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso 挂载系统到/mnt下 sudo mo 阅读全文
posted @ 2021-06-29 23:18 炒鸡蛋 阅读(6647) 评论(7) 推荐(1) 编辑
摘要: 邮件发送脚本 cat > sendMail.py << EOF #!/usr/bin/python #python2 #-*- coding: UTF-8 -*- import smtplib import sys from email.mime.text import MIMEText from 阅读全文
posted @ 2021-06-29 23:16 炒鸡蛋 阅读(461) 评论(0) 推荐(0) 编辑