CentOS上安装Mellanox OFED
打开Mellanox官网下载驱动 Linux InfiniBand Drivers

点击下载链接跳转至

Tgz解压缩执行 ./mlnxofedinstall发现缺少模块
# ./mlnxofedinstall
Logs dir: /tmp/MLNX_OFED_LINUX.11337.logs
General log file: /tmp/MLNX_OFED_LINUX.11337.logs/general.log
Verifying KMP rpms compatibility with target kernel...
Error: One or more required packages for installing MLNX_OFED_LINUX are missing.
Please install the missing packages using your Linux distribution Package Management tool.
Run:
yum install kernel-modules-extra tk
先安装 kernel modules
# yum install kernel-modules-extra tk
Last metadata expiration check: 0:41:59 ago on Fri 19 Jan 2024 08:46:46 PM CST.
Dependencies resolved.
=====================================================================================================================================================================================================================Package Architecture Version Repository Size
=====================================================================================================================================================================================================================
Installing:tk x86_64 1:8.6.8-1.el8 CentOS8.4-0 1.6 Mkernel-modules-extra x86_64 4.18.0-305.19.1.el8_4 CentOS8.4-1 6.6 M
Upgrading:dracut x86_64 049-135.git20210121.el8 CentOS8.4-1 372 kdracut-config-rescue x86_64 049-135.git20210121.el8 CentOS8.4-1 58 kdracut-network x86_64 049-135.git20210121.el8 CentOS8.4-1 105 kdracut-squash x86_64 049-135.git20210121.el8 CentOS8.4-1 58 kiptables x86_64 1.8.4-17.el8 CentOS8.4-1 586 kiptables-ebtables x86_64 1.8.4-17.el8 CentOS8.4-1 71 kiptables-libs x86_64 1.8.4-17.el8 CentOS8.4-1 107 kkexec-tools x86_64 2.0.20-46.el8_4.2 CentOS8.4-1 508 klibnftnl x86_64 1.1.5-4.el8 CentOS8.4-1 83 klinux-firmware noarch 20201218-102.git05789708.el8 CentOS8.4-1 123 Msystemd x86_64 239-45.el8_4.3 CentOS8.4-1 3.6 Msystemd-container x86_64 239-45.el8_4.3 CentOS8.4-1 744 ksystemd-libs x86_64 239-45.el8_4.3 CentOS8.4-1 1.1 Msystemd-pam x86_64 239-45.el8_4.3 CentOS8.4-1 469 ksystemd-udev x86_64 239-45.el8_4.3 CentOS8.4-1 1.4 M
Installing dependencies:kernel-core x86_64 4.18.0-305.19.1.el8_4 CentOS8.4-1 36 Mkernel-modules x86_64 4.18.0-305.19.1.el8_4 CentOS8.4-1 28 M
Installing weak dependencies:memstrack x86_64 0.1.11-1.el8 CentOS8.4-1 48 kTransaction Summary
=====================================================================================================================================================================================================================
Install 5 Packages
Upgrade 15 PackagesTotal download size: 204 M
Is this ok [y/N]: y
Downloading Packages:
再安装OFED
# ./mlnxofedinstall
Logs dir: /tmp/MLNX_OFED_LINUX.33933.logs
General log file: /tmp/MLNX_OFED_LINUX.33933.logs/general.log
Verifying KMP rpms compatibility with target kernel...
This program will install the MLNX_OFED_LINUX package on your machine.
Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.
Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.Do you want to continue?[y/N]:yUninstalling MLNX_EN driverrpm --nosignature -e --allmatches --nodeps libibverbs libibverbs-utils libibumad ibacm librdmacm opensm opensm-libs infiniband-diags opensm opensm-libs libibumad ibacm libibverbs libibverbs-utils librdmacm infiniband-diagsStarting MLNX_OFED_LINUX-23.10-1.1.9.0 installation ...Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Installing mlnx-ofa_kernel RPM
Verifying... ########################################
Preparing... ########################################
Updating / installing...
mlnx-ofa_kernel-23.10-OFED.23.10.1.1.9########################################
Configured /etc/security/limits.conf
Installing kmod-mlnx-ofa_kernel 23.10 RPM
Verifying... ########################################
Preparing... ########################################
Installing mlnx-ofa_kernel-devel RPM
Verifying... ########################################
Preparing... ########################################
Updating / installing...
mlnx-ofa_kernel-devel-23.10-OFED.23.10########################################
Installing mlnx-ofa_kernel-source RPM
Verifying... ########################################
Preparing... ########################################
Updating / installing...
mlnx-ofa_kernel-source-23.10-OFED.23.1########################################
Installing kmod-kernel-mft-mlnx 4.26.1 RPM
Verifying... ########################################
Preparing... ########################################
Installing knem RPM
Verifying... ########################################
Preparing... ########################################
Updating / installing...
knem-1.1.4.90mlnx3-OFED.23.10.0.2.1.1.########################################
Installing kmod-knem 1.1.4.90mlnx3 RPM
Verifying... ########################################
Preparing... ########################################
Installing xpmem RPM
Verifying... ########################################
Preparing... ########################################
Updating / installing...
xpmem-2.7.3-1.2310055.rhel8u1 ########################################
Installing kmod-xpmem 2.7.3 RPM
Verifying... ########################################
Preparing... ########################################
Installing kmod-iser 23.10 RPM
Verifying... ########################################
Preparing... ########################################
Installing kmod-srp 23.10 RPM
Verifying... ########################################
Preparing... ########################################
Installing kmod-isert 23.10 RPM
Verifying... ########################################
Preparing... ########################################
Installing libxpmem 2.7.3 RPM
Verifying... ########################################
Preparing... ########################################
Updating / installing...
libxpmem-2.7.3-1.2310055.rhel8u1 ########################################
Installing user level RPMs:
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Verifying... ########################################
Preparing... ########################################
Device (0000:2f:00.0):0000:2f:00.0 Ethernet controller: Mellanox Technologies MT28908 Family [ConnectX-6]Link Width: x16PCI Link Speed: 8GT/sDevice (0000:2f:00.1):0000:2f:00.1 Ethernet controller: Mellanox Technologies MT28908 Family [ConnectX-6]Link Width: x16PCI Link Speed: 8GT/sInstallation finished successfully.Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...1:mlnx-fw-updater-23.10-1.1.9.0 ################################# [100%]Added 'RUN_FW_UPDATER_ONBOOT=no to /etc/infiniband/openib.confInitializing...
Attempting to perform Firmware update...The firmware for this device is not distributed inside Mellanox driver: 0000:2f:00.0 (PSID: LNV0000000017)
To obtain firmware for this device, please contact your HW vendor.Failed to update Firmware.
See /tmp/MLNX_OFED_LINUX.33933.logs/fw_update.log
To load the new driver, run:
/etc/init.d/openibd restart# /etc/init.d/openibd restart
Unloading rdma_cm [FAILED]
rmmod: ERROR: Module rdma_cm is in use by: rpcrdma ib_srpt ib_isert# modprobe -r rdma_cm
modprobe: FATAL: Module rdma_cm is in use.# rmmod rdma_cm
rmmod: ERROR: Module rdma_cm is in use by: rpcrdma ib_srpt ib_isert# cat /tmp/MLNX_OFED_LINUX.33933.logs/fw_update.logThe firmware for this device is not distributed inside Mellanox driver: 0000:2f:00.0 (PSID: LNV0000000017)
To obtain firmware for this device, please contact your HW vendor.EXIT_STATUS: 2# yum install opensm
new_perftrace 602 kB/s | 2.9 kB 00:00
new_brpc_rel 728 kB/s | 2.9 kB 00:00
new_lnpfa 774 kB/s | 2.9 kB 00:00
new_ftp 799 kB/s | 2.9 kB 00:00
new_lnutil 808 kB/s | 2.9 kB 00:00
new_deploy_frontend 815 kB/s | 2.9 kB 00:00
new_recoverymode 834 kB/s | 2.9 kB 00:00
new_dnsmasq 584 kB/s | 2.9 kB 00:00
new_nas_setup 732 kB/s | 2.9 kB 00:00
new_bootstrap 776 kB/s | 2.9 kB 00:00
new_eagle_eye 811 kB/s | 2.9 kB 00:00
new_ngds 819 kB/s | 2.9 kB 00:00
centos8.4_0 1.5 MB/s | 4.3 kB 00:00
centos8.4_1 1.2 MB/s | 3.9 kB 00:00
centos8.4_2 1.3 MB/s | 3.8 kB 00:00
centos8.4_3 1.4 MB/s | 3.9 kB 00:00
centos8.4_4 1.7 MB/s | 4.3 kB 00:00
centos8.4_5 1.5 MB/s | 4.3 kB 00:00
centos8.4_6 1.3 MB/s | 3.9 kB 00:00
centos8.4_7 1.3 MB/s | 3.9 kB 00:00
centos8.4_8 1.3 MB/s | 3.8 kB 00:00
centos8.4_9 1.5 MB/s | 3.9 kB 00:00
centos8.4_10 1.4 MB/s | 3.9 kB 00:00
centos8.4_11 1.1 MB/s | 2.9 kB 00:00
centos8.4_12 1.5 MB/s | 4.3 kB 00:00
centos8.4_13 551 kB/s | 1.5 kB 00:00
centos8.4_15 991 kB/s | 3.0 kB 00:00
centos8.4_16 1.0 MB/s | 3.0 kB 00:00
centos8.4_17 1.0 MB/s | 3.0 kB 00:00
centos8.4_18 1.1 MB/s | 3.0 kB 00:00
centos8.4_19 610 kB/s | 1.5 kB 00:00
centos8.4_20 628 kB/s | 1.5 kB 00:00
centos8.4_21 1.2 MB/s | 3.0 kB 00:00
centos8.4_22 1.2 MB/s | 3.0 kB 00:00
centos8.4_23 1.2 MB/s | 3.0 kB 00:00
centos8.4_24 1.2 MB/s | 3.0 kB 00:00
centos8.4_25 1.2 MB/s | 3.0 kB 00:00
centos8.4_26 1.3 MB/s | 3.0 kB 00:00
centos8.4_27 1.2 MB/s | 3.0 kB 00:00
centos8.4_28 1.1 MB/s | 3.0 kB 00:00
centos8.4_29 1.2 MB/s | 3.0 kB 00:00
centos8.4_30 1.2 MB/s | 3.0 kB 00:00
centos8.4_31 1.3 MB/s | 3.0 kB 00:00
centos8.4_32 1.2 MB/s | 3.0 kB 00:00
centos8.4_41 1.2 MB/s | 3.0 kB 00:00
centos8.4_47 1.1 MB/s | 3.0 kB 00:00
centos8.4_48 1.2 MB/s | 3.0 kB 00:00
centos8.4_49 1.3 MB/s | 3.0 kB 00:00
Centos_samba_build 1.2 MB/s | 2.9 kB 00:00
Package opensm-5.17.0.MLNX20231105.d437ae0a-0.1.2310055.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!# systemctl restart opensm.service
Failed to restart opensm.service: Unit opensm.service not found.# mst start
Starting MST (Mellanox Software Tools) driver set
Loading MST PCI module - Success
[warn] mst_pciconf is already loaded, skipping
Create devices
Unloading MST PCI module (unused) - Successmt4123_pciconf0 mt4123_pciconf0.1
# mlxconfig -d /dev/mst/mt4123_pciconf0 set SRIOV_EN=1 NUM_OF_VFS=8 FPP_EN=1Device #1:
----------Device type: ConnectX6
Name: SC57A40944_Ax
Description: ThinkSystem Mellanox ConnectX-6 HDR100/100GbE QSFP56 2-port VPI Adapter
Device: /dev/mst/mt4123_pciconf0Configurations: Next Boot New
-E- The Device doesn't support FPP_EN parameter# mlxconfig -d /dev/mst/mt4123_pciconf0 set SRIOV_EN=1 NUM_OF_VFS=8 FPP_EN=1Device #1:
----------Device type: ConnectX6
Name: SC57A40944_Ax
Description: ThinkSystem Mellanox ConnectX-6 HDR100/100GbE QSFP56 2-port VPI Adapter
Device: /dev/mst/mt4123_pciconf0Configurations: Next Boot New
-E- The Device doesn't support FPP_EN parameter# mlxfwreset --device /dev/mst/mt4123_pciconf0
mt4123_pciconf0 mt4123_pciconf0.1 # mlxfwreset --device /dev/mst/mt4123_pciconf0 resetMinimal reset level for device, /dev/mst/mt4123_pciconf0:3: Driver restart and PCI reset
Continue with reset?[y/N] y
-I- Sending Reset Command To Fw -Done
-I- Resetting PCI -Done
-I- Restarting MST -Done
-I- FW was loaded successfully.# ibdev2netdev
-bash: /usr/bin/ibdev2netdev: No such file or directory# lspci|grep Mellanox
0000:2f:00.0 Ethernet controller: Mellanox Technologies MT28908 Family [ConnectX-6]
0000:2f:00.1 Ethernet controller: Mellanox Technologies MT28908 Family [ConnectX-6]
继续安装OFED,但是kernel不支持,先增加kernel模块,缺少装啥即可
# yum install kernel-devel-4.18.0-305.19.1.el8_4.x86_64 kernel-rpm-macros
# bash mlnx_add_kernel_support.sh -m ./
Note: This program will create MLNX_OFED_LINUX TGZ for rhel8.1 under /tmp directory.
Do you want to continue?[y/N]:y
See log file /tmp/mlnx_iso.20469_logs/mlnx_ofed_iso.20469.logChecking if all needed packages are installed...
/lib/modules/4.18.0-305.19.1.el8_4.x86_64/build//scripts is required to build mlnx-ofa_kernel-modules RPM.
Please install the corresponding kernel-devel RPM.Error: One or more required packages for installing OFED-internal are missing.
Please install the missing packages using your Linux distribution Package Management tool.
Run:
yum install kernel-devel-4.18.0-305.19.1.el8_4.x86_64 kernel-rpm-macros
再继续安装
./mlnxofedinstall --add-kernel-support
相关文章:
CentOS上安装Mellanox OFED
打开Mellanox官网下载驱动 Linux InfiniBand Drivers 点击下载链接跳转至 Tgz解压缩执行 ./mlnxofedinstall发现缺少模块 # ./mlnxofedinstall Logs dir: /tmp/MLNX_OFED_LINUX.11337.logs General log file: /tmp/MLNX_OFED_LINUX.11337.logs/general.log Verifying KMP rpm…...
无/自监督去噪(1)——一个变迁:N2N→N2V→HQ-SSL
目录 1. 前沿2. N2N3. N2V——盲点网络(BSNs,Blind Spot Networks)开创者3.1. N2V实际是如何训练的? 4. HQ-SSL——认为N2V效率不够高4.1. HQ-SSL的理论架构4.1.1. 对卷积的改进4.1.2. 对下采样的改进4.1.3. 比N2V好在哪ÿ…...
【24.1.19】
24.1.19 本周工作内容下周工作计划 本周工作内容 本周的话主要的一个工作还是第三部分页面部分的完成工作,那就先来汇报一下第三部分的工作进度,第三部分的页面工作呢已经完成啦,就在刚刚提交啦全部的代码,那么这一部分的工作呢也…...
使用mamba替换conda和anaconda配置环境安装软件
使用mamba替换miniconda和anaconda,原因是速度更快,无论是创建新环境还是激活环境 conda、mamba、anaconda都是蟒蛇的意思… 下载mambaforge wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh ba…...
鸿蒙开发系列教程(四)--ArkTS语言:基础知识
1、ArkTS语言介绍 ArkTS是HarmonyOS应用开发语言。它在保持TypeScript(简称TS)基本语法风格的基础上,对TS的动态类型特性施加更严格的约束,引入静态类型。同时,提供了声明式UI、状态管理等相应的能力,让开…...
Pix2Pix理论与实战
本文为🔗365天深度学习训练营 中的学习记录博客 原作者:K同学啊|接辅导、项目定制 我的环境: 1.语言:python3.7 2.编译器:pycharm 3.深度学习框架Pytorch 1.8.0cu111 一、引入 在之前的学习中,我们知道…...
[GN] 后端接口已经写好 初次布局前端需要的操作(例)
提示:前端项目一定要先引入组件 配置。再编码!!!! 文章目录 使用 vue-cli 脚手架初始化前端工程化配置引入Vue前端组件库 -- arco前后端联调引入Md 编辑器组件 使用 vue-cli 脚手架初始化 使用安装脚手架工具…...
AIGC:人工智能驱动的数据分析新时代
AIGC:人工智能驱动的数据分析新时代 随着人工智能技术的迅猛发展,我们正迎来数据分析的新时代,其中AIGC(Artificial Intelligence with Generative Capabilities)的应用成为引领潮流的重要方向。本文将深入探讨几个关…...
Windows Qt C++ VTK 借助msys环境搭建
本示例仅仅是搭建环境,后续使用还得大佬指导。 Qt 6.6.0 MinGW 64bit 借助msys2 来安装VTK 包,把*.dll 链接进来,就可以用了。 先安装VTK 包。 Package: mingw-w64-x86_64-vtk - MSYS2 Packages 执行 pacman 命令:pacman -…...
尚硅谷Nginx高级配置笔记
写在前面:本笔记是学习尚硅谷nginx可成的时候的笔记,不是原创,如有需要,可以去官网看视频,以下是pdf文件 Nginx高级 第一部分:扩容 通过扩容提升整体吞吐量 1.单机垂直扩容:硬件资源增加 云…...
论rtp协议的重要性
rtp ps流工具 rtp 协议,实时传输协议,为什么这么重要,可以这么说,几乎所有的标准协议都是国外创造的,感叹一下,例如rtsp协议,sip协议,webrtc,都是以rtp协议为基础&#…...
【Github搭建网站】零基础零成本搭建个人Web网站~
Github网站:https://github.com/ 这是我个人搭建的网站:https://xf2001.github.io/xf/ 大家可以搭建完后发评论区看看!!! 搭建教程:https://www.bilibili.com/video/BV1xc41147Vb/?spm_id_from333.999.0.0…...
unocss+iconify技术在vue项目中使用20000+的图标
安装依赖 npm i unocss iconify/json配置依赖 vue.config.js文件 uno.config.js文件 main.js文件 使用 <i class"i-fa:user"></i> <i class"i-fa:key"></i>class名是 i- 开头,跟库名:图标名,那都有什么库…...
python 自动化模块 - pyautogui初探
python 自动化模块 - pyautogui 引言一、安装测试二、简单使用三、常用函数总结 引言 在画图软件中使用pyautogui拖动鼠标,画一个螺旋式的正方形 - (源码在下面) PyAutoGUI允许Python脚本控制鼠标和键盘,以自动化与其他应用程序的交互。API的设计非常简…...
UE5 蓝图编辑美化学习
虚幻引擎中干净整洁蓝图的15个提示_哔哩哔哩_bilibili 1.双击线段成节点。 好用,爱用 2.用序列节点 好用,爱用 3.用枚举。 好用,能避免一些的拼写错误 4.对齐节点 两点一水平线 5.节点上下贴节点 (以前不懂,现在经常…...
基于动态顺序表实现通讯录项目
本文中,我们将使用顺序表的结构来完成通讯录的实现。 我们都知道,顺序表实际上就是一个数组。而使用顺序表来实现通讯录,其内核是将顺序表中存放的数据类型改为结构体,将联系人的信息存放到结构体中,通过对顺序表的操…...
python使用jupyter记笔记
目录 一、安装 二、运行jupyter 三、使用 四、记笔记 Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。 Jupyter Notebook 的本质是一个 Web 应用程序,便于创建和共享程序文档&a…...
C#封装服务
C#封装服务 新建服务项目;重构 OnStart 和 OnStop using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using S…...
手写Vue3源码
Vue3核心源码 B站视频地址:https://www.bilibili.com/video/BV1nW4y147Pd?p2&vd_source36bacfbaa95ea7a433650dab3f7fa0ae Monorepo介绍 Monorepo 是管理项目代码的一种方式,只在一个仓库中管理多个模块/包 一个仓库可以维护多个模块,…...
如何无需重复输入FTP信息来安装WordPress主题和插件
WordPress作为一个广受欢迎的内容管理系统,提供了丰富的主题和插件来扩展网站的功能和外观。然而,许多用户在安装这些主题和插件时,经常遇到需要重复输入FTP信息的麻烦。幸运的是,有几种方法可以解决这个问题,让安装过…...
RestClient
什么是RestClient RestClient 是 Elasticsearch 官方提供的 Java 低级 REST 客户端,它允许HTTP与Elasticsearch 集群通信,而无需处理 JSON 序列化/反序列化等底层细节。它是 Elasticsearch Java API 客户端的基础。 RestClient 主要特点 轻量级ÿ…...
测试微信模版消息推送
进入“开发接口管理”--“公众平台测试账号”,无需申请公众账号、可在测试账号中体验并测试微信公众平台所有高级接口。 获取access_token: 自定义模版消息: 关注测试号:扫二维码关注测试号。 发送模版消息: import requests da…...
FastAPI 教程:从入门到实践
FastAPI 是一个现代、快速(高性能)的 Web 框架,用于构建 API,支持 Python 3.6。它基于标准 Python 类型提示,易于学习且功能强大。以下是一个完整的 FastAPI 入门教程,涵盖从环境搭建到创建并运行一个简单的…...
【RockeMQ】第2节|RocketMQ快速实战以及核⼼概念详解(二)
升级Dledger高可用集群 一、主从架构的不足与Dledger的定位 主从架构缺陷 数据备份依赖Slave节点,但无自动故障转移能力,Master宕机后需人工切换,期间消息可能无法读取。Slave仅存储数据,无法主动升级为Master响应请求ÿ…...
Linux --进程控制
本文从以下五个方面来初步认识进程控制: 目录 进程创建 进程终止 进程等待 进程替换 模拟实现一个微型shell 进程创建 在Linux系统中我们可以在一个进程使用系统调用fork()来创建子进程,创建出来的进程就是子进程,原来的进程为父进程。…...
Mysql中select查询语句的执行过程
目录 1、介绍 1.1、组件介绍 1.2、Sql执行顺序 2、执行流程 2.1. 连接与认证 2.2. 查询缓存 2.3. 语法解析(Parser) 2.4、执行sql 1. 预处理(Preprocessor) 2. 查询优化器(Optimizer) 3. 执行器…...
mac 安装homebrew (nvm 及git)
mac 安装nvm 及git 万恶之源 mac 安装这些东西离不开Xcode。及homebrew 一、先说安装git步骤 通用: 方法一:使用 Homebrew 安装 Git(推荐) 步骤如下:打开终端(Terminal.app) 1.安装 Homebrew…...
探索Selenium:自动化测试的神奇钥匙
目录 一、Selenium 是什么1.1 定义与概念1.2 发展历程1.3 功能概述 二、Selenium 工作原理剖析2.1 架构组成2.2 工作流程2.3 通信机制 三、Selenium 的优势3.1 跨浏览器与平台支持3.2 丰富的语言支持3.3 强大的社区支持 四、Selenium 的应用场景4.1 Web 应用自动化测试4.2 数据…...
CVPR2025重磅突破:AnomalyAny框架实现单样本生成逼真异常数据,破解视觉检测瓶颈!
本文介绍了一种名为AnomalyAny的创新框架,该方法利用Stable Diffusion的强大生成能力,仅需单个正常样本和文本描述,即可生成逼真且多样化的异常样本,有效解决了视觉异常检测中异常样本稀缺的难题,为工业质检、医疗影像…...
微服务通信安全:深入解析mTLS的原理与实践
🔥「炎码工坊」技术弹药已装填! 点击关注 → 解锁工业级干货【工具实测|项目避坑|源码燃烧指南】 一、引言:微服务时代的通信安全挑战 随着云原生和微服务架构的普及,服务间的通信安全成为系统设计的核心议题。传统的单体架构中&…...
