0Pricing
Elasticsearch & Full Text Search Systems · درس

إعداد عنقودك الأول

تعرّف خطوة بخطوة على تثبيت Elasticsearch وإعداد عنقود أساسي أحادي العقدة لبدء رحلتك.

إعداد عنقودك الأول درس مجاني في Elasticsearch & Full Text Search Systems على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Elasticsearch & Full Text Search Systems، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Elasticsearch & Full Text Search Systems 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Your First Elasticsearch Node

Let's get a single-node Elasticsearch cluster running locally — your launchpad for experimenting with indexing and search.

Prerequisite: Java Runtime

Elasticsearch runs on Java, so you'll need a JRE — recent versions want Java 11 or later. The command below checks your version.

java -version

Download Elasticsearch

Grab Elasticsearch from the official Elastic site: a .zip for Windows, a .tar.gz for Linux or macOS. Pick the latest stable release.

Unpack the Archive

Extract the archive to create the Elasticsearch directory. On Linux or macOS the tar command does it — just swap in your version number.

tar -xzf elasticsearch-x.y.z-linux-x86_64.tar.gz

Explore the Directories

Inside the unpacked folder, the key directories are bin/ (executables), config/ (settings), data/ (your index), and logs/.

Basic Configuration

For a single node, defaults are usually fine. The main config file is config/elasticsearch.yml, where cluster.name and node.name live.

Start Elasticsearch

Time to start the node: cd into the directory and run the startup script. Elasticsearch runs in the foreground, so keep this terminal open.

cd elasticsearch-x.y.z
bin/elasticsearch

Verify Startup

Verify it's up by hitting its default port, 9200, from a new terminal with the curl command below.

curl -X GET "localhost:9200/?pretty"

Interpreting the Output

A healthy node returns JSON with cluster_name, node_name, the version, and the tagline You Know, for Search — proof your node is live.

Stopping Elasticsearch

To shut down gracefully, go back to the terminal running Elasticsearch and press Ctrl+C. Closing the window may leave it running in the background.

Quick Check

You've just learned how to set up and verify a basic Elasticsearch node. Let's test your understanding.

Recap & Next Steps

Done! You installed, started, verified, and stopped your first single-node cluster. Next, we'll index and search real documents.

الأسئلة الشائعة

هل درس «إعداد عنقودك الأول» مجاني؟

نعم — نص درس «إعداد عنقودك الأول» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Elasticsearch & Full Text Search Systems، انتقل إلى CoddyKit PRO. تتضمن دورة Elasticsearch & Full Text Search Systems 4 دروس في المجموع.

ماذا ستتعلم في «إعداد عنقودك الأول»؟

تعرّف خطوة بخطوة على تثبيت Elasticsearch وإعداد عنقود أساسي أحادي العقدة لبدء رحلتك. تتمرن على Elasticsearch & Full Text Search Systems مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Elasticsearch & Full Text Search Systems؟

لا تُشترط خبرة سابقة. Elasticsearch & Full Text Search Systems على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.

كم من الوقت يستغرق درس «إعداد عنقودك الأول»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Elasticsearch & Full Text Search Systems هذا؟

نعم. كل درس في Elasticsearch & Full Text Search Systems يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. ما البحث في النص الكامل؟
  2. المفاهيم الأساسية في Elasticsearch
  3. إعداد عنقودك الأول
  4. المحللات والمجزئات والفهرس المعكوس
← العودة إلى Elasticsearch & Full Text Search Systems