当前位置: 首页 > news >正文

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好在哪&#xff…...

【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 脚手架初始化 使用安装脚手架工具&#xf…...

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- 开头&#xff0c;跟库名:图标名&#xff0c;那都有什么库…...

python 自动化模块 - pyautogui初探

python 自动化模块 - pyautogui 引言一、安装测试二、简单使用三、常用函数总结 引言 在画图软件中使用pyautogui拖动鼠标&#xff0c;画一个螺旋式的正方形 - (源码在下面) PyAutoGUI允许Python脚本控制鼠标和键盘&#xff0c;以自动化与其他应用程序的交互。API的设计非常简…...

UE5 蓝图编辑美化学习

虚幻引擎中干净整洁蓝图的15个提示_哔哩哔哩_bilibili 1.双击线段成节点。 好用&#xff0c;爱用 2.用序列节点 好用&#xff0c;爱用 3.用枚举。 好用&#xff0c;能避免一些的拼写错误 4.对齐节点 两点一水平线 5.节点上下贴节点 &#xff08;以前不懂&#xff0c;现在经常…...

基于动态顺序表实现通讯录项目

本文中&#xff0c;我们将使用顺序表的结构来完成通讯录的实现。 我们都知道&#xff0c;顺序表实际上就是一个数组。而使用顺序表来实现通讯录&#xff0c;其内核是将顺序表中存放的数据类型改为结构体&#xff0c;将联系人的信息存放到结构体中&#xff0c;通过对顺序表的操…...

python使用jupyter记笔记

目录 一、安装 二、运行jupyter 三、使用 四、记笔记 Jupyter Notebook&#xff08;此前被称为 IPython notebook&#xff09;是一个交互式笔记本&#xff0c;支持运行 40 多种编程语言。 Jupyter Notebook 的本质是一个 Web 应用程序&#xff0c;便于创建和共享程序文档&a…...

C#封装服务

C#封装服务 新建服务项目&#xff1b;重构 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站视频地址&#xff1a;https://www.bilibili.com/video/BV1nW4y147Pd?p2&vd_source36bacfbaa95ea7a433650dab3f7fa0ae Monorepo介绍 Monorepo 是管理项目代码的一种方式&#xff0c;只在一个仓库中管理多个模块/包 一个仓库可以维护多个模块&#xff0c;…...

如何无需重复输入FTP信息来安装WordPress主题和插件

WordPress作为一个广受欢迎的内容管理系统&#xff0c;提供了丰富的主题和插件来扩展网站的功能和外观。然而&#xff0c;许多用户在安装这些主题和插件时&#xff0c;经常遇到需要重复输入FTP信息的麻烦。幸运的是&#xff0c;有几种方法可以解决这个问题&#xff0c;让安装过…...

开发安全之:JSON Injection

Overview 在 XXX.php 的第 X 行中&#xff0c;responsemsg() 方法将未经验证的输入写入 JSON。攻击者可以利用此调用将任意元素或属性注入 JSON 实体。 Details JSON injection 会在以下情况中出现&#xff1a; 1. 数据从一个不可信赖的数据源进入程序。 2. 将数据写入到 …...

各种Linux版本安装Docker

文章目录 一、Ubuntu 20.04.61. 网卡和DNS配置2. Docker安装 二、CentOS Linux 7.91. 网卡和DNS配置2. Docker安装 三、Alibaba Cloud Linux 31. DNS配置2. repo说明3. Docker安装 四、验证是否安装成功 一、Ubuntu 20.04.6 1. 网卡和DNS配置 /etc/netplan 找到 *.yaml 文件 …...

git中合并分支时出现了代码冲突怎么办

目录 第一章、Git代码冲突介绍1.1&#xff09;什么是Git代码冲突①git merge命令介绍②代码冲突原因 1.2&#xff09;提示代码冲突的两种情况①本地不同分支的文件有差异时&#xff1a;②本地仓库和git远程仓库的文件有差异时&#xff1a; 1.3&#xff09;解决合并时的代码冲突…...

什么是防火墙?

目录 什么是防火墙&#xff0c;为什么需要防火墙&#xff1f;防火墙与交换机、路由器对比防火墙和路由器实现安全控制的区别防火墙的发展史1989年至1994年1995年至2004年2005年至今 什么是防火墙&#xff0c;为什么需要防火墙&#xff1f; “防火墙”一词起源于建筑领域&#x…...

tui.calender日历创建、删除、编辑事件、自定义样式

全是坑&#x1f573;&#xff01;全是坑&#x1f573;&#xff01;全是坑&#x1f573;&#xff01;能不用就不用&#xff01; 官方文档&#xff1a;https://github.com/nhn/tui.calendar/blob/main/docs/en/apis/calendar.md 实例的一些方法&#xff0c;比如创建、删除、修改、…...

OpenHarmonyOS-gn与Ninja

GN语法及在鸿蒙的使用 [gnninja学习 0x01]gn和ninja是什么 ohos_sdk/doc/subsys-build-gn-coding-style-and-best-practice.md GN 语言与操作 一、gn简介 gn是generate ninja的缩写&#xff0c;它是一个元编译系统&#xff08;meta-build system&#xff09;,是ninja的前端&am…...

Docker部署Traefik结合内网穿透远程访问Dashboard界面

文章目录 前言1. Docker 部署 Trfɪk2. 本地访问traefik测试3. Linux 安装cpolar4. 配置Traefik公网访问地址5. 公网远程访问Traefik6. 固定Traefik公网地址 前言 Trfɪk 是一个云原生的新型的 HTTP 反向代理、负载均衡软件&#xff0c;能轻易的部署微服务。它支持多种后端 (D…...

2024年甘肃省职业院校技能大赛信息安全管理与评估 样题二 理论题

竞赛需要完成三个阶段的任务&#xff0c;分别完成三个模块&#xff0c;总分共计 1000分。三个模块内容和分值分别是&#xff1a; 1.第一阶段&#xff1a;模块一 网络平台搭建与设备安全防护&#xff08;180 分钟&#xff0c;300 分&#xff09;。 2.第二阶段&#xff1a;模块二…...

从代码到项目管理:程序员的职业跃迁与PMP认证之路

哈喽&#xff0c;我是eleven,软件工程专业毕业&#xff0c;工作六年多的时间从事过测试岗、研发岗、项目经理岗。一路走来一直按照自己的职业规划向前发展&#xff0c;每一步都成功转型&#xff0c;目前已顺利拿到PMP项目管理资格认证。希望能通过自己的经验给大家带来些许帮助…...

空间形状对结构加法产物的影响

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 有2个点被固定在一个5*5的平面内&#xff0c;在这个平面内还有2个点在随机的运动。最终这4个点是如何分布的&#xff1f; 1 - - - 5 - - 1 9 - - 1 - 13 - - - 1 1 1 - 1 …...