Video coming soon…
🗄️ Setup OpenSearch + Dashboards — Search & Log Analytics
Deploy OpenSearch and OpenSearch Dashboards on Ubuntu with Docker — the Apache-licensed Elasticsearch and Kibana fork, with the API on port 9202 and Dashboards on 5601.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/databases/opensearch/opensearch-ubuntu.sh
chmod +x opensearch-ubuntu.sh
sudo bash opensearch-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/databases/opensearch/opensearch-ubuntu.sh
2 Make it Executable
chmod +x opensearch-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts two containers: opensearch in single-node mode with a 1GB JVM heap and memlock unlimited, plus opensearch-dashboards pointed at it. Both have the security plugin disabled.
sudo bash opensearch-ubuntu.sh
4 Open Dashboards
Dashboards takes a minute or two to become ready on first boot. Once up, browse to it — no login is required, because security is disabled:
http://<your-server-ip>:5601
Ports Used
| Port | Purpose |
|---|---|
| 9202 | OpenSearch REST API (host → container 9200) — ⚠️ security plugin disabled |
| 5601 | OpenSearch Dashboards — ⚠️ no authentication |
| heap | OPENSEARCH_JAVA_OPTS fixed at -Xms1g -Xmx1g; memlock unlimited |