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 Jessie 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 80 MB of RAM (Random Access Memory) and at least 700 MB 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 5 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 84 CD-ROMs (or 12 DVD-ROMs, or two Blu-ray disks). But the programs are divided among the disks according to their popularity and importance; the first three disks will be sufficient for most installations, since they contain the most used software.
There is a last type of image, known as mini.iso, which is only available as a by-product of the installer. The image only contains the minimum required to configure the network and everything else is downloaded (including parts of the installer itself, which is why those images tend to break when a new version of the installer is released). Those images can be found on the normal Debian mirrors under the dists/release/main/installer-arch/current/images/netboot/ directory.
يمكن الحصول على أقراص دبيان بتنزيل صورها ثم حرقها على أقراص. كما يمكنك شراؤها أيضًا، وبالتالي تساهم في دعم المشروع ماليًا ولو بجزء يسير. راجع الموقع للحصول على قائمة الباعة ومواقع تحميل صور الأقراص.

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

Since most computers are able to boot from USB devices, you can also install Debian from a USB key (this is nothing more than a small flash-memory disk).
The installation manual explains how to create a USB key that contains the debian-installer. The procedure is very simple because ISO images for i386 and amd64 are hybrid images that can boot from a CD-ROM as well as from a USB key.
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-8.0.0-amd64-i386-netinst.iso) with the command cat debian-8.0.0-amd64-i386-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.
All the details of this method are available in the installation guide (“Preparing files for TFTP Net Booting” section).

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

عندما نضطر لتنصيب نسخ مخصصة على عدد كبير من الحواسيب، فنحن نستعمل طريقة تثبيت مؤتمتة بدلاً من الطريقة اليدوية. يمكن استخدام FAI ‏(Fully Automatic Installer، المُفصّل في قسم 12.3.1, “‏Fully Automatic Installer (FAI)‎”)، أو حتى إنشاء CD تثبيت مُخصّص مع تغذية بإعدادات مُسبقة (انظر قسم 12.3.2, “تغذية مثبت دبيان”)، وذلك حسب الحالة وتعقيد المزايا في النسخة التي نريد تثبيتها.