如何设置命令的路径
how to set the path of a command
我正在尝试从 couchbase 安装 elasticsearch 插件,正如官方 installation guide 中所写,我必须这样做:
bin/plugin -install transport-couchbase -url \
http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.0.0/elasticsearch-transport-couchbase-2.0.0.zip
但是,我不断收到此错误:
the system can't find the specified path
我认为您需要下载插件并从您的位置安装它。
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-plugins.html
如果你使用 --url 它会在 download.elastic.co
上下载它
"The plugins will be automatically downloaded in this case from download.elastic.co, and in case they don’t exist there, from maven (central and sonatype)."
我自己发现了错误,是我将 bin 放在 java 主路径中。当我把 java 主路径放在没有 bin 的地方时,它起作用了
我正在尝试从 couchbase 安装 elasticsearch 插件,正如官方 installation guide 中所写,我必须这样做:
bin/plugin -install transport-couchbase -url \
http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.0.0/elasticsearch-transport-couchbase-2.0.0.zip
但是,我不断收到此错误:
the system can't find the specified path
我认为您需要下载插件并从您的位置安装它。
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-plugins.html
如果你使用 --url 它会在 download.elastic.co
上下载它"The plugins will be automatically downloaded in this case from download.elastic.co, and in case they don’t exist there, from maven (central and sonatype)."
我自己发现了错误,是我将 bin 放在 java 主路径中。当我把 java 主路径放在没有 bin 的地方时,它起作用了