# Linux (Ubuntu / CentOS)

إذا كنت ترغب في نشر واستخدام ngSurvey على نظام Linux، يمكنك استخدام البرامج النصية الجاهزة التالية التي ستقوم بإعداد ngSurvey على مضيفك في غضون بضع دقائق فقط:

## Ubuntu

يمكنك استخدام برنامج shell النصي التالي من صدفة Ubuntu الخاصة بك.

`curl -o ngs-ubuntu-docker.sh https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-ubuntu-docker.sh` \
`sudo chmod +x ./ngs-ubuntu-docker.sh` \
`sudo ./ngs-ubuntu-docker.sh`  &#x20;

## CentOS

يمكنك استخدام برنامج shell النصي التالي من صدفة CentOS الخاصة بك.&#x20;

curl -o ngs-centos-docker.sh <https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-centos-docker.sh> sudo chmod +x ./ngs-centos-docker.sh \
sudo sed -i 's/\r$//' ngs-centos-docker.sh \
sudo ./ngs-centos-docker.sh<br>

{% hint style="danger" %}
نوصي بشدة أيضًا بإعداد nginx كوكيل عكسي لمضيفك لتمرير الطلبات إلى المضيف من أجل زيادة الأمان والأداء.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/ar/installation-setup/installation/linux-ubuntu-centos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
