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

Centos9 安装VBox增强功能问题

安装步骤

更新gcc

首先手动更新gcc,防止无法兼容最新版本的内核,我这里将gcc 11更新到gcc 13

1.首先更新当前gcc和支持

yum install -y gcc gcc-c++

2.下载新版本gcc压缩包

wget http://ftp.gnu.org/gnu/gcc/gcc-13.1.0/gcc-13.1.0.tar.gz

解压到usr

tar -xzvf gcc-13.1.0.tar.gz -C /usr/local/

3.下载新版gcc依赖包

进入到解压的gcc文件夹,运行以下命令

./contrib/download_prerequisites

4.编译新版gcc

首先创建build文件夹,用于存放编译后文件

mkdir build && cd build

运行config文件

../configure -enable-checking=release -enable-languages=c,c++ -disable-multilib

开始编译新版gcc

make -j$(nproc) && make install

编译完成后重启,然后查看gcc版本

reboot

gcc --version

显示13.0.1,gcc更新完成.

安装新版本内核

1.yum安装elprepo第三方仓库

yum install https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm

2.查看当前支持最新内核

yum --disablerepo="*" --enablerepo="elrepo-kernel" list available

lt为长期支持版,ml为当前分支稳定版本,我安装的为ml稳定版本.

3.安装新版本内核

运行命令

dnf --enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-core kernel-ml-headers kernel-ml-modules-extra -y

在安装kernel-headers 或者 kernel-devel 时其中出现冲突,如果是headers冲突安装失败无关紧要,具体看下面问题解决方法,如果是devel无法安装则删除当前冲突内核再次尝试安装或者重启再安装等等。。。

遇见冲突先将命令中的headers和devel去掉,先把内核安装下来,然后再单独尝试安装header和devel看究竟是哪个安装不上.

安装好后重启系统,再次查看当前运行内核,同时再运行命令保存加载内核.

uname -r

grub2-mkconfig -o /boot/grub2/grub.cfg

安装完新内核后可以删除老内核及其安装包,具体的自行删除.

安装VBox增强工具

安装VBox工具前,还需安装部分软件

yum install -y prel

安装完后重启系统.

点击VBox工具栏上的Devices(工具)选项,然后点击Insert Guest Additions CD imag(安装增强工具)

VBox就会自动将增强镜像光盘挂在到系统中,根据每个人用户名和系统不同自行调整.

cd /run/media/用户名/VBox_GAs_7.0.19/

进入镜像文件夹后运行VBoxLiunxAdditions.run

sh VBoxLiunxAdditions.run 或者./VBoxLiunxAdditions.run

等待安装好后重启程序,至此增强工具安装成功.

安装时的问题

1.headers冲突

$ sudo dnf --enablerepo=elrepo-kernel install kernel-ml kernel-ml-core kernel-ml-headers kernel-ml-modules kernel-ml-modules-extra -y
Repository 'apprepo' is missing name in configuration, using id.
ELRepo.org Community Enterprise Linux Ker 2.8 kB/s | 1.0 MB     06:01
Dependencies resolved.
========================================================================== PackageArch   Version               Repository     Size
==========================================================================Installing:kernel-ml               x86_64 6.0.8-1.el9.elrepo    elrepo-kernel  12 kkernel-ml-core          x86_64 6.0.8-1.el9.elrepo    elrepo-kernel  56 Mkernel-ml-headers       x86_64 6.0.8-1.el9.elrepo    elrepo-kernel 1.5 Mkernel-ml-modules       x86_64 6.0.8-1.el9.elrepo    elrepo-kernel  51 Mkernel-ml-modules-extra x86_64 6.0.8-1.el9.elrepo    elrepo-kernel 2.1 MTransaction Summary
==========================================================================Install  5 PackagesTotal download size: 111 M
Installed size: 156 M
Downloading Packages:
yELRepo.org Commun  0% [                 ] 2.3 MB/s |   0  B     00:00 ETAELRepo.org Communit(1/5): kernel-ml-6.0.8-1.el9.elrepo.x86_64.rpm                21 kB/s |  12 kB     00:00
(2/5): kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64.rpm       1.2 MB/s | 1.5 MB     00:01
(3/5): kernel-ml-modules-extra-6.0.8-1.el9.elrepo.x86_64.rpm 7.5 MB/s | 2.1 MB     00:00
(4/5): kernel-ml-modules-6.0.8-1.el9.elrepo.x86_64.rpm        22 MB/s |  51 MB     00:02
(5/5): kernel-ml-core-6.0.8-1.el9.elrepo.x86_64.rpm           19 MB/s |  56 MB     00:03
---------------------------------------------------------------------------------------------Total                                                        312 kB/s | 111 MB     06:03
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:file /usr/include/asm-generic/fcntl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/mman-common.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/poll.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/shmbuf.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/siginfo.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/signal-defs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/signal.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/socket.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/termbits.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm-generic/unistd.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/bootparam.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/kvm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/mman.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/processor-flags.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/sgx.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/shmbuf.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/signal.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/svm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/unistd_32.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/unistd_64.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/unistd_x32.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/asm/vmx.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/cpufreq.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/amdgpu_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/drm_fourcc.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/drm_mode.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/i915_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/mga_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/msm_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/panfrost_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/tegra_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/v3d_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/virtgpu_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/drm/vmwgfx_drm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/acct.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/acrn.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/agpgart.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/android/binder.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/audit.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/blkzoned.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/bpf.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/btf.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/btrfs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/btrfs_tree.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/byteorder/big_endian.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/byteorder/little_endian.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/can/bcm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/can/error.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/can/isotp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/can/j1939.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/can/netlink.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/cdrom.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/cec.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/connector.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/cxl_mem.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/cycx_cfm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/devlink.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/dlm_device.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/dm-ioctl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/dm-log-userspace.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/dma-buf.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/elf-em.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/elf.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ethtool.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ethtool_netlink.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/f2fs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fanotify.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fb.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fiemap.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/firewire-cdev.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fscrypt.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fsi.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fsmap.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/fuse.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/futex.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/genetlink.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/gpio.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/gtp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/hyperv.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/idxd.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_addr.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_alg.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_arcnet.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_arp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_bridge.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_ether.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_link.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_pppox.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_tun.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/if_tunnel.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/igmp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/iio/types.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/in.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/in6.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/inet_diag.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/inotify.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/input-event-codes.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/input.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/io_uring.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/iommu.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ip.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ip_vs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ipmi.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ipv6.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/iso_fs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/jffs2.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/kcov.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/kexec.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/kfd_ioctl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/kvm.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/landlock.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/lirc.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/loop.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/lwtunnel.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/magic.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/mdio.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/media-bus-format.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/media.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/minix_fs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/mmc/ioctl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/module.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/mount.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/mptcp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/mroute6.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ndctl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/neighbour.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/net_dropmon.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/net_tstamp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter/nf_conntrack_common.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter/nf_tables.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter/nfnetlink_conntrack.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter/nfnetlink_queue.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter/x_tables.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter/xt_IDLETIMER.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter_arp/arp_tables.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter_bridge/ebt_among.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter_ipv4/ip_tables.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter_ipv6/ip6_tables.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netfilter_ipv6/ip6t_LOG.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/netlink.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/nfc.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/nfs4.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/nfs_fs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/nl80211.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/nvme_ioctl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/omap3isp.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/openvswitch.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/pci_regs.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/perf_event.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/pfkeyv2.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/pkt_cls.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/prctl.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/psci.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/ptrace.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64file /usr/include/linux/raid/md_p.h from install of kernel-ml-headers-6.0.8-1.el9.elrepo.x86_64 conflicts with file from package kernel-headers-5.14.0-70.30.1.el9_0.x86_64

两个kernel header会产生冲突,需要覆盖掉,尝试去安装覆盖的headers.

如果无法覆盖,则只需安装devel即可,参考链接.

2.安装成功后,遇见unable to load vboxguest kernel module,see dmesg.

当查看错误输出日志显示kernel modules and services were not reloaded.

但其实我们是已经有kernel modules的,但是VBox它无法加载,最后找到原因参考链接,我使用的VBox版本是7.0.10,内核原来是5.14.0,后升级为6.9.5的,需要使用7.0.13后的版本才可以加载增强工具modules。

相关文章:

Centos9 安装VBox增强功能问题

安装步骤 更新gcc 首先手动更新gcc,防止无法兼容最新版本的内核,我这里将gcc 11更新到gcc 13 1.首先更新当前gcc和支持 yum install -y gcc gcc-c 2.下载新版本gcc压缩包 wget http://ftp.gnu.org/gnu/gcc/gcc-13.1.0/gcc-13.1.0.tar.gz 解压到usr ta…...

【JVM】Java虚拟机运行时数据分区介绍

JVM 分区(运行时数据区域) 文章目录 JVM 分区(运行时数据区域)前言1. 程序计数器2. Java 虚拟机栈3. 本地方法栈4. Java 堆5. 方法区6. 运行时常量池7. 直接内存 前言 之前在说多线程的时候,提到了JVM虚拟机的分区内存…...

大数据面试题之Kafka(2)

目录 Kafka的工作原理? Kafka怎么保证数据不丢失,不重复? Kafka分区策略 Kafka如何尽可能保证数据可靠性? Kafka数据丢失怎么处理? Kafka如何保证全局有序? 生产者消费者模式与发布订阅模式有何异同? Kafka的消费者组是如何消费数据的 Kafka的…...

前端面试题(基础篇十一)

一、DOCTYPE 的作用是什么&#xff1f; <!DOCTYPE> 声明一般位于文档的第一行&#xff0c;它的作用主要是告诉浏览器以什么样的模式来解析文档。一般指定了之后会以标准模式来进行文档解析&#xff0c;否则就以兼容模式进行解析。在标准模式下&#xff0c;浏览器的解析规…...

【论文阅读】Answering Label-Constrained Reachability Queries via Reduction Techniques

Cai Y, Zheng W. Answering Label-Constrained Reachability Queries via Reduction Techniques[C]//International Conference on Database Systems for Advanced Applications. Cham: Springer Nature Switzerland, 2023: 114-131. Abstract 许多真实世界的图都包含边缘标签…...

Git Flow 工作流学习要点

Git Flow 工作流学习要点 Git Flow — 流程图Git Flow — 操作指令优点&#xff1a;缺点&#xff1a;Git Flow 分支类型Git Flow 工作流程简述关于 feature 分支关于 Release 分支关于 hotfix 分支 总结 Git Flow — 流程图 图片来源&#xff1a;https://nvie.com/posts/a-succ…...

blender 快捷键 常见问题

一、快捷键 平移视图&#xff1a;Shift 鼠标中键旋转视图&#xff1a;鼠标中键缩放视图&#xff1a;鼠标滚动框选放大模型&#xff1a;Shift B线框预览和材质预览切换&#xff1a;Shift Z 二、常见问题 问题&#xff1a;导入模型成功&#xff0c;但是场景中看不到。 解…...

HTTP详解:TCP三次握手和四次挥手

一、TCP协议概述 TCP协议是互联网协议栈中传输层的核心协议之一&#xff0c;它提供了一种可靠的数据传输方式&#xff0c;确保数据包按顺序到达&#xff0c;并且没有丢失或重复。TCP的主要特点包括&#xff1a; 面向连接&#xff1a;TCP在传输数据之前需要建立连接。可靠传输&…...

详解HTTP:有了HTTP,为何需要WebSocket?

在日常生活中&#xff0c;HTTP 常用于请求数据。例如&#xff0c;当你打开一个天气预报网站时&#xff0c;浏览器会发送一个 HTTP 请求到服务器&#xff0c;请求当前的天气数据&#xff0c;服务器返回响应&#xff0c;浏览器解析并显示这些数据。 但是&#xff0c;当涉及到需要…...

Spring Boot 启动流程是怎么样的

引言 SpringBoot是一个广泛使用的Java框架&#xff0c;旨在简化基于Spring框架的应用程序的开发过程。在这篇文章中&#xff0c;我们将深入探讨SpringBoot应用程序的启动流程&#xff0c;了解其背后的机制。 Spring Boot 启动概览 SpringBoot应用程序的启动通常从一个包含 m…...

【学习笔记】数据结构(三)

栈和队列 文章目录 栈和队列3.1 栈 - Stack3.1.1 抽象数据类型栈的定义3.1.2 栈的表示和实现 3.2 栈的应用举例3.2.1 数制转换3.2.2 括号匹配的检验3.2.3 迷宫求解3.2.4 表达式求值 - 波兰、逆波兰3.2.5 反转一个字符串或者反转一个链表 3.3 栈与递归的实现3.4 队列 - Queue3.4…...

学习python笔记:10,requests,enumerate,numpy.array

requests库&#xff0c;用于发送 HTTP 请求的 Python 库。 requests 是一个用于发送 HTTP 请求的 Python 库。它使得发送 HTTP 请求变得简单且人性化。以下是一些基本的 requests 函数及其用途&#xff1a; requests.get(url, **kwargs) 发送一个 GET 请求到指定的 URL。 i…...

经典神经网络(13)GPT-1、GPT-2原理及nanoGPT源码分析(GPT-2)

经典神经网络(13)GPT-1、GPT-2原理及nanoGPT源码分析(GPT-2) 2022 年 11 月&#xff0c;ChatGPT 成功面世&#xff0c;成为历史上用户增长最快的消费者应用。与 Google、FaceBook等公司不同&#xff0c;OpenAI 从初代模型 GPT-1 开始&#xff0c;始终贯彻只有解码器&#xff0…...

MySQL库与表的操作

目录 一、登录并进入数据库 1、登录 2、USE 命令 检查当前数据库 二、库的操作 1、创建数据库语法 2、举例演示 3、退出 三、字符集和校对规则 1、字符集&#xff08;Character Set&#xff09; 2、校对集&#xff08;Collation&#xff09; 总结 3、操作命令 …...

TTS 语音合成技术学习

TTS 语音合成技术 TTS&#xff08;Text-to-Speech&#xff0c;文字转语音&#xff09;技术是一种能够将文字内容转换为自然语音的技术。通过 TTS&#xff0c;机器可以“说话”&#xff0c;这大大增强了人与机器之间的互动能力。无论是在语音助手、导航系统还是电子书朗读器中&…...

小公司做自动化的困境

1. 人员数量不够 非常常见的场景, 开发没几个, 凭什么测试要那么多, 假设这里面有3个测试, 是不是得有1个人会搞框架? 是不是得有2人搞功能测试, 一个人又搞框架, 有些脚本, 真来得及吗? 2. 人员基础不够 现在有的大公司, 是这样子协作的, 也就是某模块需求谁谁测试的, 那么…...

基于pytorch框架的手写数字识别(保姆级教学)

1、前言 本文基于PyTorch框架,采用CNN卷积神经网络实现MNIST手写数字识别,不仅可以在GPU上,同时也可以在CPU上运行。方便即使只有CPU的小伙伴也可以运行该模型。本博客手把手教学,如何手写网络层(3层),以及模型训练,详细介绍各参数含义与用途。 2、模型源码解读 该模型…...

注意力机制在大语言模型中的应用

在大语言模型中&#xff0c;注意力机制&#xff08;Attention Mechanism&#xff09;用于捕获输入序列中不同标记&#xff08;token&#xff09;之间的关系和依赖性。这种机制可以动态地调整每个标记对当前处理任务的重要性&#xff0c;从而提高模型的性能。具体来说&#xff0…...

qt 实现对字体高亮处理原理

在Qt中实现对文本的字体高亮处理&#xff0c;通常涉及到使用QTextDocument、QTextCharFormat和QSyntaxHighlighter。下面是一个简单的例子&#xff0c;演示如何为一个文本编辑器&#xff08;假设是QTextEdit&#xff09;添加简单的关键词高亮功能&#xff1a; 步骤 1: 定义关键…...

SAP中通过财务科目确定分析功能来定位解决BILLING问题实例

接用户反馈&#xff0c;一笔销售订单做发货后做销售发票时&#xff0c;没有成功过账到财务&#xff0c;提示财户确定错误。 这个之前可以通过VF02中点击小绿旗来重新执行过财动作&#xff0c;看看有没有相应日志来定位问题。本次尝试用此方法&#xff0c;也没有找到相关线索。 …...

充电站,正在杀死加油站

最近&#xff0c;深圳公布了一组数据&#xff0c;深圳的超级充电站数量已超过传统加油站数量&#xff0c;充电枪数量也已超过加油枪数量。 从全国范围看&#xff0c;加油站关停的速度在加快。 充电站正在杀死加油站。 加油站&#xff0c;未来何去何从&#xff1f; 01. 减少 我…...

哪个牌子的超声波清洗机好?四样超卓超声波清洗机独具特色!

眼镜是许多人日常生活中必不可少的工具&#xff0c;然而&#xff0c;相信很多人都有过清洗眼镜的烦恼。传统的清洗眼镜的方法往往不够彻底&#xff0c;容易留下污渍或者划伤镜片。因此&#xff0c;超声波洗眼镜机成为了现代人清洗眼镜的新选择。超声波洗眼镜机通过利用超声波震…...

vue3中若v-model绑定的响应字段出现三级,该如何实现rules验证规则

比如以下内容&#xff1a; 配置的rules内容 const rulesref({title:[{required:true,message:"请输入标题",trigger:"blur"},{max:50,message:"最大不能超过256个字",trigger:"blur"}],Category:[{required:true,message:"请选择…...

Docker-Compose一键部署项目

Docker-Compose一键部署项目 目录 Docker-Compose一键部署项目介绍部署Django项目项目目录结构 docker-compose.ymlnginx的default.conf文件后端Dockerfile文件mysql.env一键部署DNS域名解析引起的跨域问题 介绍 Docker Compose 是一个用于定义和运行多容器 Docker 应用程序的…...

【C++】相机标定源码笔记-线激光点云处理工具类

一个线激光点云处理工具类&#xff0c;它包含了一系列的方法用于处理和分析线激光扫描得到的点云数据。提供的功能包括&#xff1a; 通过文件或直接数据设置点云。计算线激光在机器人坐标系下的精度&#xff0c;输出内点的平均距离、最大距离、最小距离、总点数和内点数。提供了…...

解决Transformer根本缺陷,所有大模型都能获得巨大改进

即使最强大的 LLM 也难以通过 token 索引来关注句子等概念&#xff0c;现在有办法了。 最近两天&#xff0c;马斯克和 LeCun 的口水战妥妥成为大家的看点。这两位 AI 圈的名人你来我往&#xff0c;在推特&#xff08;现为 X&#xff09;上相互拆对方台。 LeCun 在宣传自家最新论…...

如何排查Java应用的死锁

排查Java应用中的死锁问题是一个复杂但重要的任务&#xff0c;因为死锁会导致应用程序停止响应&#xff0c;影响用户体验和系统稳定性。以下是一些方法和步骤&#xff0c;帮助你排查Java应用中的死锁。 1. 理解死锁的概念 在计算机科学中&#xff0c;死锁是指两个或多个线程相…...

JS面试题1

1. 延迟加载JS有哪些方式&#xff1f; defer: 等html全部解析完成&#xff0c;才会执行js代码&#xff0c;顺次执行js脚本 async&#xff1a;是和html解析同步的&#xff0c;不是顺次执行js脚本&#xff08;当有很多个js时&#xff09;&#xff0c;是谁先加载完谁先执行。 <…...

Linux网络 - 再谈、详谈UDP和TCP协议

文章目录 前言预备netstatpidofcat /etc/services 一、UDP协议UDP协议端格式UDP的缓冲区基于UDP的应用层协议 二、TCP协议1.TCP协议段格式确认应答(ACK)机制三次握手疑问1 最后一次客户端发给服务端的ACK请求怎么保证服务端能够收到&#xff1f; 四次挥手疑问2 为什么挥手是四次…...

el-form重置后input无法输入问题

新增用户遇到的问题&#xff1a; 如果你没有为 formData 设置默认值&#xff0c;而只是将其初始化为空对象 {}&#xff0c;则在打开dialog时&#xff0c;正常输入&#xff0c; formdata会变成如下 但是&#xff0c;打开后&#xff0c;直接使用 resetFields 或直接清空表单&…...

现在有哪些网站兼职可以做/百度网站app下载

引用做函数參数 struct Teacher {char name[64];int age ; };void printfT(Teacher *pT) {cout<<pT->age<<endl; }//pT是t1的别名 ,相当于改动了t1 void printfT2(Teacher &pT) {//cout<<pT.age<<endl;pT.age 33; }//pT和t1的是两个不同的变量…...

微信微网站开发报价单/百度人工服务24小时热线电话

...

网站做可信认证多少钱/国家高新技术企业查询

进程原语和线程原语是啥意思本文向您展示如何将WebSphere ESB StockQuote样本&#xff08;IBM Integration Designer随附&#xff09;中的资源转换为IBM Integration Bus资源。 StockQuote示例使用带有SOAP / JMS Web服务绑定的导出。 由StockQuote中介流记录输入的JMS消息&…...

网站怎么做全屏滚动/网络优化工程师吃香吗

一、标准制修订 2020年&#xff0c;完成标准制修订数量418项&#xff0c;较上年增加47项。其中&#xff0c;国家标准31项&#xff0c;较上年减少7项&#xff1b;行业标准103项&#xff0c;较上年增加6项&#xff1b;地方标准204项&#xff0c;较上年增加39项&#xff1b;团体标…...

游戏网站的设计/百度下载并安装

linux 后台启动java的命令一例 查看已启动的进程实例命令&#xff1a; ps -aux|grep java启动java的进程实例命令&#xff1a; java -jar cloud-auth-1.0.jarjava -cp cloud-eureka-1.0-exec.jar:lib/*:./config/application.yml com.yzh.cloud.eureka.EurekaApplication后…...

网站运营编辑做什么的/上海网络推广招聘

文章目录数字三角形思路数字三角形 题目描述 上图给出了一个数字三角形。从三角形的顶部到底部有很多条不同的路径。对于每条路径&#xff0c;把路径上面的数加起来可以得到一个和&#xff0c;你的任务就是找到最大的和。 路径上的每一步只能从一个数走到下一层和它最近的左边…...