Install Dependencies

    • Now by default Apache APISIX uses HTTP protocol to talk with etcd cluster, which is insecure. Please configure certificate and corresponding private key for your etcd cluster, and use “https” scheme explicitly in the etcd endpoints list in your Apache APISIX configuration, if you want to keep the data secure and integral. See the etcd section in for more details.

    • If it is OpenResty 1.19, APISIX will use OpenResty’s built-in LuaJIT to run bin/apisix; otherwise it will use Lua 5.1. If you encounter , this is a problem with the low version of OpenResty’s built-in LuaJIT under certain compilation conditions.

    • OpenResty is a dependency of APISIX. If it is your first time to deploy APISIX and you don’t need to use OpenResty to deploy other services, you can stop and disable OpenResty after installation since it will not affect the normal work of APISIX. Please operate carefully according to your service. For example in Ubuntu: systemctl stop openresty && systemctl disable openresty.

    Install

    Run the following command to install Apache APISIX’s dependencies on a supported operating system.

    Note that in the case of Arch Linux, we use from the AUR, thus requiring a AUR helper. For now yay and are supported.

    If you have cloned the Apache APISIX project, execute in the Apache APISIX root directory:

    1. bash utils/install-dependencies.sh