需要安装linux-headers
, 然后执行:
$cd ./src
$make
#make install
会在/lib/modules/`uname -r`/kernel/net/netfilter/ipvs/
目录生成toa.ko
文件。
手动modprobe toa
完成加载。
如果需要支持重启后自动加载模块,在/etc/modprobe.d/
或者/etc/modules-load.d/
目录新建一个081-toa.conf
文件,
单独一行写入toa
即可。
需要安装linux-headers
, 然后执行:
$cd ./src
$make
#make install
会在/lib/modules/`uname -r`/kernel/net/netfilter/ipvs/
目录生成toa.ko
文件。
手动modprobe toa
完成加载。
如果需要支持重启后自动加载模块,在/etc/modprobe.d/
或者/etc/modules-load.d/
目录新建一个081-toa.conf
文件,
单独一行写入toa
即可。