Download and decompress the TOA package corresponding to the version of Linux OS on Tencent Cloud:
cd
command to access the decompressed folder and run the module loading command:insmod toa.ko
lsmod | grep toa
toa.ko
file in the startup script (ko file needs to be reloaded if the server is restarted).If you cannot find an installation package corresponding to your OS version from the list above, please download and compile the source package of the general version for Linux OS. This version supports most Linux distributions such as CentOS 6.9, CentOS 7, and Ubuntu 14.04.
wget "http://thunder-pro-mainland-1258348367.cos.ap-guangzhou.myqcloud.com/gaap-toa%E6%BA%90%E7%A0%81(centos7%E4%BB%A5%E4%B8%8A).zip"
wget "http://thunder-pro-mainland-1258348367.cos.ap-guangzhou.myqcloud.com/gaap-toa%E6%BA%90%E7%A0%81(centos7%E4%BB%A5%E4%B8%8B).zip"
yum install gcc
yum install kernel-headers
yum install kernel-devel
unzip linux_toa.zip
cd toa
make
mv toa.ko /lib/modules/`uname -r`/kernel/net/netfilter/ipvs/toa.ko
insmod /lib/modules/`uname -r`/kernel/net/netfilter/ipvs/toa.ko
If the compilation error is reported, the error may be caused by the inconsistency between the installed kernel version and the version uname -r
displays. In the directory /lib/modules/
, check the kernel version actually installed, modify the uname -r
in Makefile
to the actual kernel version, and compile the file again.
Was this page helpful?