tencent cloud

피드백

Step 2: Load TOA on Backend Server

마지막 업데이트 시간:2022-07-13 15:22:55

    Method 1: Download source code and load the module

    1. Download and decompress the TOA package corresponding to the version of Linux OS on Tencent Cloud.

    2. After decompression is completed, run the cd command to access the decompressed folder and run the module loading command:

      insmod toa.ko
      
    1. Run the following command to check whether the loading is successful:
      lsmod | grep toa
      

    1. After it is loaded, load the toa.ko file in the startup script (the toa.ko file needs to be reloaded if the server is restarted).
      echo "insmod   xxxxx /toa.ko" >> /etc/rc.local
      
    1. (Optional) To disable TOA temporarily, run the command rmmod path/module name.
      rmmod toa.ko
      
    1. (Optional) If TOA is no longer needed, run the following command to uninstall it.
      rmmod toa
      
    1. (Optional) Run the following command to check whether the module is uninstalled. If you see the message "TOA unloaded", the uninstallation is successful.
      dmesg -T
      

    Method 2: Compile and load the module

    If there is no installation package provided for your OS version, you can download the source package of the Linux general version and then compile it to obtain an installation package. The following is the example for CentOS.

    1. Obtain the source package.
      wget "https://thunder-pro-mainland-1258348367.cos.ap-guangzhou.myqcloud.com/gaap-toa.rar"
      
    1. Install the build environment.
      yum install gcc 
      yum install make
      yum install kernel-headers kernel-devel –y
      
    1. Decompress the source package.
      tar zxf gaap-toa.rar
      
    1. Enter the TOA directory.
      cd toa
      
    1. Compile make.
      make
      
    1. Move and load the module.
      mv toa.ko /lib/modules/`uname -r`/kernel/net/netfilter/ipvs/toa.ko
      insmod /lib/modules/`uname 
      ¬-r`/kernel/net/netfilter/ipvs/toa.ko
      
    1. Check whether the module is loaded successfully.
      lsmod | grep toa
      
    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원