You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/26 02:16:49 UTC

[GitHub] [apisix] HuangDCat opened a new issue #2324: request help: install apisix without network

HuangDCat opened a new issue #2324:
URL: https://github.com/apache/apisix/issues/2324


   ### Issue description
   Is everyone have any experience in installing apisix offline? I want to install apisix on a server that has no external network at all, but there is no description of this part in the current document. There may be many related dependencies. If you have relevant installation experience, could you provide a document for offline installation, thank you!
   
   ### Environment
   dev
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: RedHat
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moorefu commented on issue #2324: request help: install apisix without network

Posted by GitBox <gi...@apache.org>.
moorefu commented on issue #2324:
URL: https://github.com/apache/apisix/issues/2324#issuecomment-699278724


   We do this like this.
   Prepare a mirror environment of the off-line target environment, but the mirror environment is on-line. 
   in the on-line environment execute the shell like this
   ```bash
   #!/bin/sh
   APISIX_VERSION=1.5
   apisix_version="${APISIX_VERSION}"
   yum install -y yum-plugin-downloadonly && \
   yum install -y yum-utils && \
   yum-config-manager --add-repo  https://openresty.org/package/centos/openresty.repo && \
   yum install -y --downloadonly --downloaddir=./rpms/ etcd openresty curl git gcc libaio libpng-devel && \
   yum install -y --downloadonly --downloaddir=./rpms/ https://github.com/apache/apisix/releases/download/$APISIX_VERSION/apisix-$APISIX_VERSION-0.el7.noarch.rpm
   ```
   and the the copy the rpms dir to the target environment, execute some shell like this
   ```bash
   #!/bin/sh
   
   ls -l rpms|grep rpm|awk '{print "rpms/"$9}'|tr '\n' ' ' | yum localinstall -y --nogpgcheck
   ```
   enjoy!


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming closed issue #2324: request help: install apisix without network

Posted by GitBox <gi...@apache.org>.
moonming closed issue #2324:
URL: https://github.com/apache/apisix/issues/2324


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moorefu edited a comment on issue #2324: request help: install apisix without network

Posted by GitBox <gi...@apache.org>.
moorefu edited a comment on issue #2324:
URL: https://github.com/apache/apisix/issues/2324#issuecomment-699278724


   We do it like that.
   Prepare a mirror environment of the off-line target environment, but the mirror environment is on-line. 
   in the on-line environment execute the shell like this
   ```bash
   #!/bin/sh
   APISIX_VERSION=1.5
   apisix_version="${APISIX_VERSION}"
   yum install -y yum-plugin-downloadonly && \
   yum install -y yum-utils && \
   yum-config-manager --add-repo  https://openresty.org/package/centos/openresty.repo && \
   yum install -y --downloadonly --downloaddir=./rpms/ etcd openresty curl git gcc libaio libpng-devel && \
   yum install -y --downloadonly --downloaddir=./rpms/ https://github.com/apache/apisix/releases/download/$APISIX_VERSION/apisix-$APISIX_VERSION-0.el7.noarch.rpm
   ```
   and the the copy the rpms dir to the target environment, execute some shell like this
   ```bash
   #!/bin/sh
   
   ls -l rpms|grep rpm|awk '{print "rpms/"$9}'|tr '\n' ' ' | yum localinstall -y --nogpgcheck
   ```
   enjoy!


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org