Product SiteDocumentation Site

فصل 4. التثبيت

4.1. طرائق التثبيت
4.1.1. التثبيت من CD-ROM/DVD-ROM
4.1.2. الإقلاع من مفتاح USB
4.1.3. التثبيت من خلال الإقلاع الشّبكي (Network Booting)
4.1.4. طرائق تثبيت أخرى
4.2. التثبيت خطوة بخطوة
4.2.1. الإقلاع ثم تشغيل المُثبّت
4.2.2. اختيار اللغة
4.2.3. اختيار البلد
4.2.4. اختيار تخطيط لوحة المفاتيح
4.2.5. اكتشاف العتاد
4.2.6. تحميل المكوّنات
4.2.7. كشف العتاد الشّبكي
4.2.8. ضبط الشبكة
4.2.9. كلمة سرّ المدير
4.2.10. إنشاء المستخدم الأول
4.2.11. ضبط الساعة
4.2.12. اكتشاف الأقراص والأجهزة الأخرى
4.2.13. بدء أداة التجزيء
4.2.14. تثبيت أساس النظام
4.2.15. ضبط مدير الحزم (apt)
4.2.16. مسابقة شعبية حزم دبيان
4.2.17. اختيار الحزم التي ستُثبَّت
4.2.18. تثبيت مُحمّل الإقلاع GRUB
4.2.19. إنهاء التثبيت وإعادة الإقلاع
4.3. بعد الإقلاع الأول
4.3.1. تثبيت البرمجيات الإضافية
4.3.2. تحديث النظام
لاستخدام دبيان عليك تثبيته على حاسوبك؛ يتكفل برنامج debian-installer (مُثبّت-دبيان) بهذه المهمة. يحتاج التثبيت الجيد عمليات عديدة، سوف نعرضها في هذا الفصل حسب ترتيبها الزمني. تنبيه: اعتمدنا في هذا الفصل على نفس المصطلحات المستخدمة في المُثبّت قدر الإمكان لكي لا نربك القارئ. ترجمة المُثبّت ليست مثالية لذا سنحاول مستقبلاً التنسيق مع فريق تعريبه إن شاء الله.
The installer for Stretch is based on debian-installer. Its modular design enables it to work in various scenarios and allows it to evolve and adapt to changes. Despite the limitations implied by the need to support a large number of architectures, this installer is very accessible to beginners, since it assists users at each stage of the process. Automatic hardware detection, guided partitioning, and graphical user interfaces have solved most of the problems that newbies used to face in the early years of Debian.
Installation requires 128 MB of RAM (Random Access Memory) and at least 2 GB of hard drive space. All Falcot computers meet these criteria. Note, however, that these figures apply to the installation of a very limited system without a graphical desktop. A minimum of 512 MB of RAM and 10 GB of hard drive space are really recommended for a basic office desktop workstation.

4.1. طرائق التثبيت

يمكن تثبيت نظام دبيان بواسطة عدة وسائط، طالما أن البيوس يسمح بذلك. يمكن مثلاً الإقلاع بواسطة قرص CD-ROM أو مفتاح USB أو حتى من خلال الشّبكة.

4.1.1. التثبيت من CD-ROM/DVD-ROM

طريقة التثبيت الأكثر شيوعًا هي من خلال قرص CD-ROM (أو قرص DVD-ROM، الذي يعمل بنفس الطريقة تمامًا): يُقلع الحاسوب من خلال هذا الأخير ثم يتولى المُثبّت باقي المراحل.
Various CD-ROM families have different purposes: netinst (network installation) contains the installer and the base Debian system; all other programs are then downloaded. Its “image”, that is the ISO-9660 filesystem that contains the exact contents of the disk, only takes up about 150 to 280 MB (depending on architecture). On the other hand, the complete set offers all packages and allows for installation on a computer that has no Internet access; it requires around 14 DVD-ROMs (or 3 Blu-ray disks). There is no more official CD-ROMs set as they were really huge, rarely used and now most of the computers use DVD-ROMs as well as CD-ROMs. But the programs are divided among the disks according to their popularity and importance; the first disk will be sufficient for most installations, since it contains the most used softwares.
هناك نوع أخير من الصور، هو mini.iso، المتوفر كمنتج من منتجات المُثبّت. تحوي الصورة أقل ما يمكن لإعداد الشبكة وكل ما تبقى سوف ينزل من الإنترنت (بما في ذلك أجزاء من المُثبّت نفسه، ولهذا السبب تتعطل هذه الصور غالباً بعد إطلاق نسخة جديدة من المُثبّت). يمكنك العثور على هذه الصور على مرايا دبيان في المجلد dists/release/main/installer-arch/current/images/netboot/.
To acquire Debian CD-ROM images, you may of course download them and burn them to disk. You may also purchase them, and, thus, provide the project with a little financial support. Check the website to see the list of DVD-ROM image vendors and download sites.

4.1.2. الإقلاع من مفتاح USB

بما أن معظم الحواسيب تقدر على الإقلاع من أجهزة USB، فيمكنك تثبيت دبيان من مفتاح USB أيضاً (وهي الذواكر الومضية الصغيرة).
يشرح دليل التثبيت طريقة إنشاء مفتاح USB يحتوي على debian-installer. إجراءات هذه العملية بسيطة جداً لأن صور ISO للمعماريتين i386 وamd64 هجينة (hybrid) ويمكن الإقلاع بها سواء من CD-ROM أو مفتاح USB.
You must first identify the device name of the USB key (ex: /dev/sdb); the simplest means to do this is to check the messages issued by the kernel using the dmesg command. Then you must copy the previously downloaded ISO image (for example debian-9.0.0-amd64-netinst.iso) with the command cat debian-9.0.0-amd64-netinst.iso >/dev/sdb; sync. This command requires administrator rights, since it accesses the USB key directly and blindly erases its content.
المزيد من التفاصيل متوفرة في دليل التثبيت الذي يعرض أيضًا بدائل أخرى معقدة لإعداد مفتاح USB لكنها تسمح بتخصيص خيارات المُثبّت الافتراضية (التي تُحدَّد في سطر أوامر النواة).

4.1.3. التثبيت من خلال الإقلاع الشّبكي (Network Booting)

العديد من نُسخ البيوس تسمح بالإقلاع مباشرة من الشبكة عبر تنزيل النواة وصورة قياسية لنظام الملفات. يمكن لهذه الطريقة (نجدها تحت عدة مسميات، مثل PXE أو إقلاع TFTP) إنقاذ الحاسوب إن لم يكن يحوي سواقة CD-ROM، أو كان البيوس لا يستطيع الإقلاع من وسيط كهذا.
تعمل هذه الطريقة على مرحلتين. أولاً يُرسل البيوس (أو بطاقة الشبكة) طلب BOOTP/DHCP أثناء إقلاع الحاسوب، للحصول آليًا على عنوان IP. عندما يرد مخدم BOOTP أو DHCP فإنه ردّه يتضمن اسم ملف بالإضافة لإعدادت الشبكة. بعد ضبط الشبكة يرسل الحاسوب العميل طلب TFTP ‏(Trivial File Transfer Protocol) للحصول على الملف الذي أشير لاسمه سابقًا، لينفذه كمحمّل إقلاع بعد الحصول عليه. يعمل هذا الملف عندئذ على تشغيل برنامج تثبيت دبيان كما لو كان يعمل من قرص صلب أو CD-ROM أو مفتاح USB.
جميع تفاصيل هذه الطريقة متوفرة في دليل التثبيت (باب ”إعداد الملفات للإقلاع الشبكي TFTP“).

4.1.4. طرائق تثبيت أخرى

When we have to deploy customized installations for a large number of computers, we generally choose an automated rather than a manual installation method. Depending on the situation and the complexity of the installations to be made, we can use FAI (Fully Automatic Installer, described in قسم 12.3.1, “‏Fully Automatic Installer (FAI)‎”), or even a customized installation DVD with preseeding (see قسم 12.3.2, “تغذية مثبت دبيان”).