(24)
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/
sudo apt-get update && sudo apt-get -y install lsb-release ca-certificates curl gnupg2
curl -o- https://artifacts.opensearch.org/publickeys/opensearch.pgp | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/opensearch-keyring
echo "deb [signed-by=/usr/share/keyrings/opensearch-keyring] https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main" | sudo tee /etc/apt/sources.list.d/opensearch-2.x.list
sudo apt-get update
sudo apt list -a opensearch
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD='passwordpassword' apt-get install opensearch
sudo systemctl enable opensearch
sudo systemctl start opensearch
sudo systemctl status opensearch
curl -X GET https://localhost:9200 -u 'admin:passwordpassword' --insecure
curl -X GET https://localhost:9200/_cat/plugins?v -u 'admin:passwordpassword' --insecure
(12)
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/
sudo apt-get update && sudo apt-get -y install lsb-release ca-certificates curl gnupg2
curl -o- https://artifacts.opensearch.org/publickeys/opensearch.pgp | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/opensearch-keyring
echo "deb [signed-by=/usr/share/keyrings/opensearch-keyring] https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main" | sudo tee /etc/apt/sources.list.d/opensearch-2.x.list
sudo apt-get update
sudo apt list -a opensearch
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD='passwordpassword' apt-get install opensearch
sudo systemctl enable opensearch
sudo systemctl start opensearch
sudo systemctl status opensearch
curl -X GET https://localhost:9200 -u 'admin:passwordpassword' --insecure
curl -X GET https://localhost:9200/_cat/plugins?v -u 'admin:passwordpassword' --insecure
(RL9)
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/rpm/
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -o /etc/yum.repos.d/opensearch-2.x.repo
sudo yum clean all
sudo yum repolist
sudo yum list opensearch --showduplicates
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD='passwordpassword' yum install opensearch
sudo systemctl enable opensearch
sudo systemctl start opensearch
sudo systemctl status opensearch
curl -X GET https://localhost:9200 -u 'admin:passwordpassword' --insecure
curl -X GET https://localhost:9200/_cat/plugins?v -u 'admin:passwordpassword' --insecure
- Windows Server
(2022)
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/windows/
cd C:\Users\Administrator\Downloads\opensearch-2.17.1-windows-x64\opensearch-2.17.1
set OPENSEARCH_INITIAL_ADMIN_PASSWORD=passwordpassword
.\opensearch-windows-install.bat
curl.exe -X GET https://localhost:9200 -u "admin:passwordpassword" --insecure
curl.exe -X GET https://localhost:9200/_cat/plugins?v -u "admin:passwordpassword" --insecure