摘要: 安装系统mac(Apple M1 Pro) 硬件配置建议 模型参数最低RAM显存需求推荐使用场景 1.5B 8GB 集成显卡可运行 个人设备/基础测试‌13 7B 16GB 需独立GPU支持 常规业务场景‌46 14B/32B 32GB 多GPU并行计算 企业级复杂任务‌13 Ollama+deep 阅读全文
posted @ 2025-02-26 15:09 潇潇暮鱼鱼 阅读(16) 评论(0) 推荐(0) 编辑
摘要: mysql装饰器的使用 import pymysql from pymysql import err from contextlib import closing import json def ini(): #json 配置文件 with open('../conf/cfg.json') as f 阅读全文
posted @ 2025-02-18 10:45 潇潇暮鱼鱼 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 由于官方的镜像在国内比较难下载,可以使用docker proxy镜像加速 一.获取加速地址 访问https://dockerproxy.link/查看docker proxy最新地址发布 当前地址是https://dockerproxy.net 二.给镜像加速 1.可以在拉取的镜像名前加上"dock 阅读全文
posted @ 2025-02-07 09:22 潇潇暮鱼鱼 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1.mysql 的sql语句实现查找Billing表,将Billing中账户为goldwind_it_application的11月份Date = '2024-11-01 00:00:00' 的是否报销Reimbursement ="是"的项目EnterpriseProject的12月份的所有信息查 阅读全文
posted @ 2025-01-09 14:26 潇潇暮鱼鱼 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ssl漏洞,需要避免使用3DES算法,K8S涉及这个漏洞的有etcd,kubelet,kube-apiserver,kube-controller-manager和kube-scheduler五个组件。 rancher启动的k8s的集群都是容器化的,启动了一个个独立的docker。他的etcd,ku 阅读全文
posted @ 2025-01-02 16:13 潇潇暮鱼鱼 阅读(59) 评论(0) 推荐(0) 编辑
摘要: K8S的etcd kube-apiserver kube-scheduler等组件的ssl漏洞均为系统的ssl问题,可以通过升级系统openssl处理。 修复"避免使用IDEA、DES和3DES算法"漏洞需要升级openssl。 修复建议 1、OpenSSL Security Advisory [2 阅读全文
posted @ 2025-01-02 14:26 潇潇暮鱼鱼 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1.添加helm repo helm repo add bitnami https://charts.bitnami.com/bitnami 2.更新helm库 helm repo update 3.查找包 helm search repo kafka 4.下载包 helm pull bitnami 阅读全文
posted @ 2024-12-24 16:15 潇潇暮鱼鱼 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 在github找对应版本的rancher https://github.com/rancher/rancher/releases/ 找到: rancher-images.txt rancher-load-images.sh rancher-save-images.sh三个脚本进行下载 其中ranch 阅读全文
posted @ 2024-12-24 14:46 潇潇暮鱼鱼 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 修改syslog配置文件并重启 sudo vi /etc/rsyslog.conf 找到此行:#$ModLoad imklog # reads kernel messages (the same are read from journald) 修改为:$ModLoad imklog # reads 阅读全文
posted @ 2024-12-02 10:05 潇潇暮鱼鱼 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1.windows文件转码成 Unix 格式 # 安装 yum install dos2unix # 将文件从 Windows 格式转换为 Unix 格式: dos2unix file.txt 2.查看cpu个数 nproc 阅读全文
posted @ 2024-11-20 10:23 潇潇暮鱼鱼 阅读(12) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示