opensearch install setup upgrade
dashboard install setup upgrade
tested on debian12
see osearch-install
#ln -s /etc/opensearch-dashboards /usr/share/opensearch-dashboards/config cd /etc/opensearch-dashboards/ mv -i opensearch_dashboards.yml opensearch_dashboards.yml.dist grep -vE '^#|^$' opensearch_dashboards.yml.dist > opensearch_dashboards.yml.clean grep -vE '^#|^$' opensearch_dashboards.yml.dist > opensearch_dashboards.yml vi opensearch_dashboards.yml
opensearch.hosts: [https://opensearch0:9200] opensearch.ssl.verificationMode: none opensearch.username: admin opensearch.password: PASSWORD-HERE opensearch.requestHeadersWhitelist: [authorization] opensearch_security.readonly_mode.roles: [kibana_read_only] opensearch_security.multitenancy.enabled: false # https://opensearch.org/docs/latest/install-and-configure/install-dashboards/tls/ # true when there is ssl opensearch_security.cookie.secure: true server.host: 0.0.0.0
and make sure you clean-up all the default kibana users and roles once daemon is started
switch on
chsh -s /bin/bash opensearch-dashboards su - opensearch-dashboards
those are already installed
cd /usr/share/opensearch-dashboards/ bin/opensearch-dashboards-plugin list # --allow-root
if you need more
bin/opensearch-dashboards-plugin install ...
switch off
chsh -s /sbin/nologin opensearch-dashboards
nmap -p 9200 localhost curl https://localhost:9200/ -k -u kibanaserver:kibanaserver curl https://localhost:9200/ -k -u admin:PASSWORD systemctl restart opensearch-dashboards systemctl status opensearch-dashboards systemctl enable opensearch-dashboards ps auxww | grep dashboard netstat -lntup
reach the service
ssh opensearch3 -L 5601:localhost:5601 https://localhost:5601/
not sure why no logs show up there
ls -lF /var/log/opensearch-dashboards/ #tail -F /var/log/opensearch-dashboards/*log
https://opensearch.org/docs/latest/install-and-configure/install-dashboards/debian/