02 2024 档案

摘要:需求 需要把一批次的IP地址和MAC地址进行绑定,如果该IP地址没有和MAC对应则输出 脚本如下 # cat check_arp.sh #!/bin/bash # 检查ip地址和mac是否对应 IpList=() MacList=("<incomplete>" "<incomplete>" "<in 阅读全文
posted @ 2024-02-28 16:31 minseo 阅读(45) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.56yhz.com/md/docker_deployment/zh-CN 安装Docker 不详述 配置国内加速器 不详述 安装docker-compose 不详述 安装git 不详述 开始部署 拉取代码 #### 拉取代码 git clone https://git 阅读全文
posted @ 2024-02-28 11:58 minseo 阅读(838) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.jb51.net/article/268033.htm 阅读全文
posted @ 2024-02-23 16:08 minseo 阅读(203) 评论(0) 推荐(0) 编辑
摘要:Rocky9和CentOSStream9设置固定IP地址和CentOS不一样设置 设置以下文件 # cat /etc/NetworkManager/system-connections/ens3.nmconnection [connection] id=ens3 uuid=322d81cf-5218 阅读全文
posted @ 2024-02-23 10:52 minseo 阅读(110) 评论(0) 推荐(0) 编辑
摘要:参考: https://zhuanlan.zhihu.com/p/568513293 使用Jenkins构建时使用的用户为jenkins 在使用docker命令时会报以下错误 ERROR: permission denied while trying to connect to the Docker 阅读全文
posted @ 2024-02-23 10:31 minseo 阅读(597) 评论(0) 推荐(0) 编辑
摘要:Jenkins需要从一台主机换到另外一台主机怎么迁移数据 两台主机的Jenkins版本需要保持一致 安装Jenkins # sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins. 阅读全文
posted @ 2024-02-23 10:27 minseo 阅读(270) 评论(0) 推荐(0) 编辑
摘要:Jenkins版本老了会在页面提示升级 下载最新的war包,下载地址 https://ftp-nyc.osuosl.org/pub/jenkins/war-stable/ 下载war包 本次下载目前最新版本2.440.1 # wget https://ftp-nyc.osuosl.org/pub/j 阅读全文
posted @ 2024-02-22 16:53 minseo 阅读(176) 评论(0) 推荐(0) 编辑
摘要:监控程序 常见监控软件 Zabbix Nagios Cacti Prometheus Open-falcon Nightingale 监控对比 监控内容一体化 阅读全文
posted @ 2024-02-21 18:07 minseo 阅读(8) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/qq_36380748/article/details/118762195 KVM虚拟机启动报错 Image is corrupt; cannot be opened read/write 原因:意外断电导致虚拟磁盘损坏,使用以下命令修复qcow2 阅读全文
posted @ 2024-02-20 11:13 minseo 阅读(339) 评论(0) 推荐(0) 编辑
摘要:使用以下命令清理 # sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches 清理前后对比 阅读全文
posted @ 2024-02-18 10:56 minseo 阅读(20) 评论(0) 推荐(0) 编辑
摘要:参考Github: https://github.com/kubernetes/kompose kompose工具用于将docker-compose配置文件转换的k8s可识别的yaml文件 安装 CentOS安装 # yum install epel-release # yum install ko 阅读全文
posted @ 2024-02-07 11:00 minseo 阅读(707) 评论(0) 推荐(1) 编辑
摘要:参考: https://blog.csdn.net/ZHY_ERIC/article/details/124470136 MySQL8.0远程连接报错 ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot b 阅读全文
posted @ 2024-02-06 16:50 minseo 阅读(1383) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.cnblogs.com/hengdin/articles/17838930.html docker容器如果需要在开机实现自启动可以在启动的时候加以下参数 --restart=always 例如启动一个MySQL容器需要开机自启则使用以下命令启动容器 # docker 阅读全文
posted @ 2024-02-04 14:38 minseo 阅读(1582) 评论(0) 推荐(1) 编辑
摘要:使用K8S启动的禅道在一次断电重启之后登录首页提示如下 Base table or view not found: 1932 Table 'zentao.zt_lang' doesn't exist in engine in /apps/zentao/li Pod运行正常,登录Pod查看表确实不存在 阅读全文
posted @ 2024-02-04 09:54 minseo 阅读(65) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示