lizj3624 edited a comment on issue #6462:
URL: https://github.com/apache/apisix/issues/6462#issuecomment-1054005444
Manual source installation of apisix in CentOS8
```shell
APISIX_VERSION='2.12.1'
mkdir apisix-${APISIX_VERSION}
wget
https://downloads.apache.org/apisix/${APISIX_VERSION}/apache-apisix-${APISIX_VERSION}-src.tgz
tar zxvf apache-apisix-${APISIX_VERSION}-src.tgz -C apisix-${APISIX_VERSION}
# Switch to the apisix-${APISIX_VERSION} directory
cd apisix-${APISIX_VERSION}
## install apisix luarrocks
wget
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
sh linux-install-luarocks.sh
## install openresty
wget https://openresty.org/package/centos/openresty.repo
sudo mv openresty.repo /etc/yum.repos.d/
sudo yum check-update
sudo yum install -y openresty
sudo yum install -y openresty-openssl111-devel*
## depend OpenLDAP,manual compile and install
./configure --with-cyrus-sasl --with-tls=openssl --enable-overlays=mod
--enable-backends=mod --disable-perl --disable-ndb --enable-crypt
--enable-modules --enable-dynamic --enable-syslog --enable-debug --enable-local
--enable-spasswd --disable-sql --disable-wt --disable-ndb
--prefix=/usr/local/openldap-2.6.1
make depend
make
cd contrib/slapd-modules/passwd/sha2
make
cd ../../../..
install guides:
https://tylersguides.com/guides/install-openldap-from-source-on-centos-8/
# Create dependencies
cd apisix-${APISIX_VERSION}
make deps
# Install apisix command
make install
# test
apisix version
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua version
2.12.1
```
--
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]