mirror of
https://gitee.com/iresty/apisix.git
synced 2024-11-30 02:57:49 +08:00
chore: improve installation experience (#5859)
This commit is contained in:
parent
41b55a9970
commit
a102407510
@ -26,7 +26,7 @@ function detect_aur_helper() {
|
||||
AUR_HELPER=pacaur
|
||||
else
|
||||
echo No available AUR helpers found. Please specify your AUR helper by AUR_HELPER.
|
||||
exit -1
|
||||
exit 255
|
||||
fi
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ function install_dependencies_with_yum() {
|
||||
local common_dep="curl git gcc openresty-openssl111-devel unzip pcre pcre-devel openldap-devel"
|
||||
if [ "${1}" == "centos" ]; then
|
||||
# add APISIX source
|
||||
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
|
||||
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
|
||||
|
||||
# install apisix-base and some compilation tools
|
||||
# shellcheck disable=SC2086
|
||||
|
Loading…
Reference in New Issue
Block a user