imjoey opened a new pull request #4708: URL: https://github.com/apache/apisix/pull/4708
Signed-off-by: imjoey <[email protected]> ### What this PR does / why we need it: <!--- Why is this change required? What problem does it solve? --> For now, the package `luarocks` will be installed at `/usr/local` via `make install` command. If simply running the `curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash -`, we will encounter an error due to privilege errors. For details, please refer to #4703. As discussed with @spacewander, we decide to add the `sudo` back via this PR. This would let users install APISIX without any interruptions. With this patch merged in my environment, I could successfully install luarocks in CentOS 7 as both **non-root** and **root** users. <!--- If it fixes an open issue, please link to the issue here. --> #4703 ### Pre-submission checklist: * [x] Did you explain what problem does this PR solve? Or what new features have been added? * [x] Have you added corresponding test cases? * [x] Have you modified the corresponding document? * [x] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix/tree/master#community) first** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
