Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 3.22 KB

INSTALLING.md

File metadata and controls

65 lines (47 loc) · 3.22 KB

Installing Plugins

Installing OpenSearch Plugins

Assemble, extract and run OpenSearch 1.0.0 using Building OpenSearch package.

Example: For Linux platform.

~/ > git clone https://github.com/opensearch-project/OpenSearch.git
~/OpenSearch (main)> git checkout 1.0.0
~/OpenSearch (main)> ./gradlew :distribution:archives:linux-tar:assemble -Dbuild.version_qualifier=beta1 -Dbuild.snapshot=false
~/OpenSearch (main)> tar vfxz distribution/archives/linux-tar/build/distributions/opensearch-1.0.0-linux-x64.tar.gz
~/OpenSearch (main)> cd opensearch-1.0.0
~/OpenSearch/opensearch-1.0.0 (main)> ./bin/opensearch

Checkout, build and install the plugin.

Example: Install Anomaly Detection and Job Scheduler plugins.

To build the plugins with OpenSearch, plugins may require building all their dependencies and publishing them to Maven local along with OpenSearch using Building Plugins with OpenSearch.

~/OpenSearch (main)> git clone https://github.com/opensearch-project/job-scheduler.git
~/OpenSearch/job-scheduler (main)> ./gradlew assemble -Dopensearch.version=1.0.0 -Dbuild.snapshot=false
~/OpenSearch/job-scheduler (main)> cd build/distributions && cp opensearch-job-scheduler-1.0.0.0.zip ~/
~/OpenSearch/opensearch-1.0.0 (main)> ./bin/opensearch-plugin install file:///opensearch-job-scheduler-1.0.0.0.zip
~/OpenSearch (main)> git clone https://github.com/opensearch-project/anomaly-detection.git
~/OpenSearch/anomaly-detection (main)> ./gradlew assemble -Dopensearch.version=1.0.0 -Dbuild.snapshot=false
~/OpenSearch/anomaly-detection (main)> cd build/distributions && cp opensearch-anomaly-detection-1.0.0.0.zip ~/
~/OpenSearch/opensearch-1.0.0 (main)> ./bin/opensearch-plugin install file:///opensearch-anomaly-detection-1.0.0.0.zip

Install the plugins in order if they are dependent on other plugins.

Installing OpenSearch Dashboards Plugins

Build and run OpenSearch Dashboards 1.0.0. For setting up yarn and nvm follow instructions Getting Started.

Example: For Linux platform.

~/ > git clone https://github.com/opensearch-project/OpenSearch-Dashboards.git
~/OpenSearch-Dashboards (main)> git checkout 1.0.0
~/OpenSearch-Dashboards (main)> yarn build --release --version-qualifier beta1
~/OpenSearch-Dashboards (main)> cd build/opensearch-dashboards-1.0.0-linux-x64
~/OpenSearch-Dashboards/build/opensearch-dashboards-1.0.0-linux-x64 (main)> ./bin/opensearch-dashboards

Checkout, boostrap and run OpenSearch Dashboards with the plugin.

Example: Install Anomaly Detection Dashboards.

~/OpenSearch-Dashboards (main)> cd plugins
~/OpenSearch-Dashboards/plugins (main)> git clone https://github.com/opensearch-project/anomaly-detection-dashboards-plugin.git
~/OpenSearch-Dashboards/plugins (main)> cd ../ && yarn osd bootstrap
~/OpenSearch-Dashboards (main)> yarn start