> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/installation-setup/installation/microsoft-iis.md).

# Microsoft IIS

## المتطلبات

1. **IIS 7 أو أعلى** مع .**NET 10 hosting bundle** مثبتة

{% hint style="danger" %}
نوصي بشدة باستخدام SSL لمواقع الويب غير المحلية المعتمدة على النطاق
{% endhint %}

{% hint style="warning" %}
إذا كنت تشغّل IIS كعقدة في عنقود، فتأكد من قراءة [قسم إعداد العنقود / التوسّع الأفقي](/ar/installation-setup/installation/cluster-scale-out-configuration.md).
{% endhint %}

## التنزيلات المطلوبة

لإعداد ngSurvey على IIS، ستحتاج أولاً إلى تنزيل وتثبيت أحدث [Microsoft .NET 10 IIS Hosting Bundle](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-10.0.5-windows-hosting-bundle-installer) الحزمة.\
[ ](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-8.0.0-windows-hosting-bundle-installer) \
بعد التثبيت، يمكنك تنزيل أرشيف ngSurvey من الموقع التالي باستخدام مفتاح الإنتاج أو النسخة التجريبية:  <https://www.ngsurvey.com/on-premise-download>

## خطوات التثبيت

1. أنشئ مجلدًا لـ ngSurvey على الجهاز الذي يستضيف خادم IIS
2. قم بفك ضغط محتوى حزمة ngSurvey المضغوطة إلى ذلك المجلد
3. في Windows، افتح IIS Manager
4. في شجرة Sites ضمن IIS Manager، انقر بزر الماوس الأيمن على Sites ثم اختر Add website
5. اضبط مجلد المسار الفعلي على المجلد الذي قمت بفك ضغط محتوى حزمة التثبيت المضغوطة ngSurvey فيه
6. بعد إنشاء الموقع، انتقل إلى Application Pools في IIS Manager وافتح خصائص application pool الخاص بالموقع، والاسم الافتراضي هو اسم الموقع الذي أنشأته للتو
7. اضبط إصدار .NET CLR على V4
8. في الإعدادات المتقدمة الخاصة بـ application pool، اضبط خيار Start Mode على "AlwaysRunning" وخيار "Idle Time-out (minutes)" على 0 &#x20;
9. افتح ملف web.config باستخدام محرر نصوص.
10. أزِل التعليق من سطر متغير البيئة واضبط [سلسلة الاتصال](https://www.connectionstrings.com/sql-server/) على الخادم الذي يستضيف قاعدة بيانات ngSurvey. إذا كنت تستخدم MySQL كقاعدة البيانات الخلفية، فيرجى اتباع [البرنامج التعليمي لتكوين MySQL](/ar/installation-setup/installation/alwajhh-alkhlfyh-lqaadh-albyanat/oracle-mysql.md).
    * ConnectionStrings:NGSurveyDB سلسلة الاتصال بالخادم الذي يستضيف قاعدة بيانات ngSurvey
11. افتح متصفحك وانتقل إلى جذر موقعك
12. استخدم بيانات الاعتماد الافتراضية التالية لـ ngSurvey\
    \
    البريد الإلكتروني : ngsadmin\
    كلمة المرور : admin<br>
13. بعد تسجيل الدخول، تأكد من تغيير كلمة مرور المسؤول الافتراضية إلى كلمة مرور من اختيارك من [إدارة المستخدمين ](/ar/multi-user-management/users.md)الشاشة.&#x20;
14. يمكنك أيضًا إعداد إعدادات إضافية مثل خوادم البريد وcaptcha وخدمات الترجمة من [إعدادات النظام](/ar/installation-setup/system-settings.md) الصفحة.
15. استمتع بأداة استبيان رائعة!

{% hint style="info" %}
يمكنك التحقق من حالة الصحة / التشغيل لتثبيت ngSurvey لديك على <https://yourrootsite/api/system/status>
{% endhint %}

## إعداد قاعدة البيانات

افتراضيًا، سيقوم ngSurvey تلقائيًا بتكوين / إنشاء / تحديث قاعدة البيانات المحددة في connectionstring الخاص بك.&#x20;

يمكنك أيضًا استخدام [http://yourngsurveysite/ngs/setup](http://localhost:8081/ngs/setup) الرابط لإعداد قاعدة البيانات الخاصة بك باستخدام واجهة المستخدم المتاحة.&#x20;

يرجى ملاحظة أنه إذا شغّلت الحاوية لديك على AWS فسيقوم ngSurvey تلقائيًا باكتشاف جميع خصائص اتصال RDS.\
\
تتطلب قاعدة البيانات SQL Server 2016 أو أحدث أو MySQL 8 أو أحدث


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ngsurvey.com/ar/installation-setup/installation/microsoft-iis.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
