Rat's

A new method for OpenVZ to install BBR: LKL one click installation package (simpler than UML)
The preface simply says that LKL has many advantages compared with uml. Only the forwarding port is needed. No matter 55r is installed on the hen, it is as good as you usually use it. However, UML
Scan the QR code on the right to read the full text
05
2017/04

A new method for OpenVZ to install BBR: LKL one click installation package (simpler than UML)

preface

Simply put LKL comparison uml There are still many benefits. Only the forwarding port is needed, whether it is 55r They are all installed on hens, which is no worse than your usual use UML Need to be in UML Installed in the system. LKL Is also less resource intensive. But it is said that LKL Has no acceleration effect UML OK.

LKL uses pre demand

1. LKL requires that the version of ldd be at least two point one four At present, I have tested it. If you don't want to bother, I suggest you install it directly CentOS7 Debian8 and Ubuntu16
2. The installation package only uses 64bit System.
3. The default port forwarding only forwards 9000-9999 If you don't want to bother to modify the port of 55r The ports of other applications are set in this range.
4. Applicable only openvz , the background needs to be turned on TUN/TAP

Installing LKL

1. LKL One Key Package Command

 wget --no-check-certificate  https://github.com/91yun/uml/raw/master/lkl/install.sh  && bash install.sh

2. How to determine whether the installation is successful

 ping 10.0.0.2

If 10.0.0.2 is able to ping, it means success. If it is unable to ping, it means failure

3. If you modify the forwarding port
1. Modify /root/lkl/run.sh , Find 9000-9999 , change to the port segment you want
2. Modify /root/lkl/haproxy.cfg lookup 9000-9999 , change to the port segment you want
3. Restart vps

Original address: https://www.91yun.co/archives/6281

Vultr New user registration send one hundred USD/ sixteen Each computer room is charged by hour, and Alipay is supported【 Click to view 】。
Last modification: 06:47 PM, March 22, 2018

Comment

4 comments

  1. Thousand illusions

    ioctl(TUNSETIFF): Device or resource busy
    RTNETLINK answers: File exists
    net.ipv4.ip_forward = 1
    nohup: appending output to 'nohup.out'
    All three cannot be installed online, including Nanqinlang and Kuoruan. All of them failed to install. The strange thing is that I have successfully installed them before, but they cannot be installed after reinstalling the system a while ago. It is useless to communicate with the third server countless times.

    1. Rat's
      @Thousand illusions

      They won't all roll over, will they? I haven't played OVZ for a long time, and it's hard to test.

      1. Thousand illusions
        @Rat's

        No, I haven't tested on other machines. I didn't think it might be a problem with the script itself. Am I wrong

        1. Rat's
          @Thousand illusions

          This is not clear. I have no OVZ test.