centos7 加载模块
How to make CentOS Linux to load a module, say ixgbe, automatically at boot time? I am using CentOS 7.
如何使CentOS Linux在启动时自动加载模块,例如ixgbe? 我正在使用CentOS 7。
You can create a text file <some name>.conf
in the /etc/modules-load.d/
and list the modules to be loaded there, one per line. The systemd-modules-load.service daemon will read these files and load the modules.
您可以在/etc/modules-load.d/
创建一个文本文件<some name>.conf
,并列出要在此处加载的模块,每行列出一个。 systemd-modules-load.service守护程序将读取这些文件并加载模块。
Check more details of modules-load.d by checking the modules-load.d
man page.
通过检查modules-load.d
手册页来检查modules-load.d
更多详细信息。
翻译自: https://www.systutorials.com/how-to-make-centos-linux-to-load-a-module-automatically-at-boot-time/
centos7 加载模块