CentOS7:以ceph模块为例:# cd /etc/sysconfig/modules/# vim ceph.modules在文件中添加如下内容 #!/bin/sh /sbin/modinfo -F filename ceph > /dev/null 2>&1 if [ $? -eq 0 ]; then /sbin/modprobe ceph fi# chmod 755 /etc/sysconfig/modules/ceph.modules# reboot# lsmod | grep cephCentOS6:以ip_vs为例: 临时生效# modprobe ip_vs# lsmod | grep ip_vs开启启动生效# echo "modprobe ip_vs">>/etc/rc.sysinit 推荐本站淘宝优惠价购买喜欢的宝贝: 本文链接:https://sg.hqyman.cn/post/614.html 非本站原创文章欢迎转载,原创文章需保留本站地址! 分享到: 打赏微信支付宝扫一扫,打赏作者吧~