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 2021/02/01 02:41:16 UTC
[GitHub] [apisix] Fuchange opened a new issue #3463: feat: Should have a unified installation path
Fuchange opened a new issue #3463:
URL: https://github.com/apache/apisix/issues/3463
We have too many installation paths now.
Like the line 20 to 32 of /bin/apisix :
``` shell script
if [ -s './apisix/cli/apisix.lua' ]; then
# install via source
APISIX_LUA=./apisix/cli/apisix.lua
elif [ -s '/usr/share/lua/5.1/apisix/cli/apisix.lua' ]; then
# install via luarock
APISIX_LUA=/usr/share/lua/5.1/apisix/cli/apisix.lua
elif [ -s '/usr/local/apisix/deps/share/lua/5.1/apisix/cli/apisix.lua' ]; then
# install via shell
APISIX_LUA=/usr/local/apisix/deps/share/lua/5.1/apisix/cli/apisix.lua
else
# install via official rpm or docker
APISIX_LUA=/usr/local/apisix/apisix/cli/apisix.lua
fi
```
Skip of the first one, we have :
- `/usr/share/lua/5.1` : by `luarocks make` or `make install` (at CI)
- `/usr/local/apisix/` : by rpm or docker
- `/usr/local/apisix/deps/share/lua/5.1/` : by `./utils/install-apisix.sh install`
Same problem with the deps :
- `/usr/share/lua/5.1` : by `luarocks install ` (at CI)
- `/usr/local/apisix/deps/share/lua/5.1/` : by rpm or docker
- `./` : by `make deps` (I cant even install deps to my system by `make`)
Should we integrate into `/usr/local/apisix/` or another path ?
----------------------------------------------------------------
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] spacewander commented on issue #3463: [DISCUSS] Should have a unified installation path
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3463:
URL: https://github.com/apache/apisix/issues/3463#issuecomment-770528135
Better also start this discussion on the mail list.
----------------------------------------------------------------
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] spacewander closed issue #3463: [DISCUSS] Should have a unified installation path
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3463:
URL: https://github.com/apache/apisix/issues/3463
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Fuchange commented on issue #3463: [DISCUSS] Should have a unified installation path
Posted by GitBox <gi...@apache.org>.
Fuchange commented on issue #3463:
URL: https://github.com/apache/apisix/issues/3463#issuecomment-770529923
> Better also start this discussion on the mail list.
:ok_hand:
----------------------------------------------------------------
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