Installation Guide (العربيّة)

From ParabolaWiki
Jump to: navigation, search

i18n


Dansk – Deutsch – English – Esperanto – Español – Euskera – Français – Galego – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – العربيّة – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

إنّ دليل التّثبيت لصورة الـCD المباشر لـParabola MATE desktop ISO تهدف إلى مساعدة مستخدمي GNU/Linux ذوي الخبرة في تثبيت Parabola من النظام المشغّل مباشرة بالصورة التثبيتيّة الرسميّة. (بإمكانك أيضاً أن تشغّلها من USB إقلاعيّة). تفترض هذه الصّفحة خبرة عالية من قبل المستخدم في التّعامل مع أنظمة GNU/Linux وأدواته, وخصوصا ال command-line. في حال كنت ترغب بدليل مفصّل أكثر, ويتضّمن شرح خطوات العمل خطوة تتلو الخطوة, انظر لـBeginners' guide. قبل البدء, ننصحك برؤية Arch Linux FAQ واستخدام man command لقراءة الـman page ﻷيّ تعليمة غير مألوفة بالنّسبة إليك. الويكي الخاصّة بـParabola و ويكي توزيعة Arch GNU/Linux هما المصدر الرّئيسيّ للمعلومات ومرجعك الأوّل عند البحث عن الخلل في النّظام.

1 التّحميل

قم بتحميل الـISO الجديد ل Parabola GNU/Linux-libre من download page.

  • عوضا عن تقديم ستّة صور, فإنّنا نقدّم صورة واحدة للتّثبيت ويمكن تشغيلها على الأجهزة ذات معالجات i686 و x86_64 لتثبيت Parabola GNU/Linux-libre عبر الشّبكة. لم نعد نقدّم وسيطاً للتّثبيت حاوياً على مستودعات [libre] , [core].
  • صور التّثبيت يتّم توقيعها وينصحّ وبشدّة التّحقّق من التّوقيع قبل الاستخدام. يمكنك القيام بذلك على نظام Parabola GNU/Linux-libre, باستخدام pacman-key -v <iso-file>.sig.
  • يمكن حرق الصّورة إلى CD , أو تركيبها كملف ISO, أو كتابتها مباشرة على الـUSB باستخدام أداة مثل dd. هذه الصّورة مخصّصة فقط للتّثبيتات الجديدة ; ﻷنّ أنظمة Parabola GNU/Linux-libre المتوفّرة يمكن تحديثها (دون إعادة تثبيتها) باستخدام pacman -Syu.

2 للمستخدمين المكفوفين

تتوفر نسخة ISO تدعى بـTalkingParabola (CD مبنيّة على النّسخة النّاطقة لـArch) وهي نسخة معدّلة من الـISO الافتراضيّ ل Parabola تحتوي دعم النّطق وبريل.

3 كتابة صورة ISO لـParabola على الـUSB

# dd if=[iso file] of=[usb device file] bs=1M && sync

[iso file] مسار ملف الـISO الّذي قمت بتحميله.

[usb device file] مسار الـUSB ويمكنك معرفته باستخدام dmesg أو lsblk -fs وهو مشابه بشكل كبير للأسماء الملفيّة ﻷجهزة وسائط التّخزين مثل الـHDD والـSSD (على سبيل المثال /dev/sdb). إنّه لمن المهمّ جداً استخدام المسار الصحيح لتجنّب الكتابة على أوساط التّخزين الأخرى.

4 التّثبيت

4.1 نسق الكبيورد

تتوفّر مسبقاً العديد من keymaps المختلفة الأنواع ولعدّة بلدان, وتعليمة مثل loadkeys uk قد تقوم بكلّ ما تريده. يمكنك العثور على المزيد من ملفّات الـkeymaps في /usr/share/kbd/keymaps/ (لا تنسَ أنّ باستطاعتك تجاهل المسار الكامل لملفّ الـkeymap المرغوبة عند استخدام loadkeys.

4.1.1 دعم بريل

يحتوي TalkingParabola brltty, لمن يملك شاشة بدعم بريل. إنّ رزمة brltty على الـCD الخاصّ بـ TalkingParabola تمّ بناؤها بأقل عدد ممكن من الملفّات المعتمدة. إن كنت ترغب باستخدام بريل, عليك أن تقوم بإضافة متغيّر brltty إلى الـboot prompt. يمكنك أيضاً أن تشغلّ بريل من الـshell بعد إقلاع النّظام. يحتوي متغيّر brltty عند الـboot-time على 3 ثلاثة حقول مفصولة عن بعضها بفواصل"," : الأوّل درايفر خاص بشاشتك ,والثّاني اسم ملفّ الجهاز, والثّالث هو مسار نسبيّ إلى جدول التّرجمة. بإمكانك استخدام "auto" لتجعل تحديد درايفر الشّاشة تلقائيّا. أنصحك بقراءة الوثائق المرفقة مع brltty للحصول على شرح كامل عن البرنامج. على سبيل المثال, للمستخدمين الّذين يملكون جهازاً متّصلاً بمأخذ الserial الأول. فمثلاً إن ترغب باستخدام جدول التّرجمة للـUS و /dev/ttyS0 و درايفر الشّاشة يُحدّد تلقائيّاً عليك بكتابة ما يلي في ال boot prompt:

arch32 brltty=auto,ttyS0,en_US

بعد أن يبدأ brltty بالعمل, قد ترغب في تعطيل خاصيّة النّطق. يمكنك القيام بذلك بالضغط على مفتاح "print screen" المعروف أيضاً بـsysrq. يقع هذا المفتاح على كيبورد من نمط qwerty مباشرة فوق مفتاح الـinsert بين الـF12 والـscroll lock.

4.2 تقطيع الأقراص

انظر لـ partitioning لمزيد من التّفاصيل.

تذكر عند إنشاء عدة وحدات تخزين منضّدة فوق بعضها(stacked block devices) أن تستخدم LVM أو RAID أو LUKS.

4.3 تهيئة الوحدات المقطّعة

انظر لـFile systems لمزيد من التّفاصيل.

في حال كنت تستخدم (U)EFI ستحتاج غالباً إلى وحدة مقطّعة لتحمل نظام الـUEFI. قم بقراءة Create an UEFI System Partition in GNU/Linux.

4.4 تركيب الوحدات المقطّعة

علينا أن نقوم بتركيب قطعة We now must mount the root partition on /mnt. You should also create directories for and mount any other partitions (/mnt/boot,

/mnt/home, ...) and mount your swap partition if you 

want them to be detected by genfstab.

4.5 الاتّصال بالانترنت

A DHCP service is already enabled for all available devices. If you need

to setup a static IP or use management tools such as 

Netcfg, you should stop this service first: systemctl stop dhcpcd.service. For more information read Network configuration.

4.5.1 وايرلس

Run wifi-menu to set up your wireless network. For details, see Wireless Setup and Netcfg.

4.6 التّحقّق من تواقيع الرّزم

New packager keys are necessary by default to install Parabola from current ISOs. Because changes in existing keys might happen since the ISO release, it is recommended, if not mandatory, to update the keys before attempting an install. To upgrade the package parabola-keyring:

# pacman -Sy parabola-keyring

If you face GPG errors updating this package, it's likely because the key that signed it has expired. To fix this, run:

# pacman-key --populate archlinux
# pacman-key --populate parabola
# pacman-key --refresh-keys

After that, if no errors happen, running pacman -Sy parabola-keyring again should work.

If you get an error related to dirmngr, you can get rid of it with:

# mkdir /root/.gnupg && chmod go-rx /root/.gnupg && 

touch /root/.gnupg/dirmngr_ldapservers.conf

For the time being, running the previous command might also be needed in

the newly installed system.

It may be also possible that the system clock is behind and the keys are

incorrectly marked invalid.  To solve this, manually set the correct 

time.

# date MMDDhhmm[[CC]YY][.ss]

where MM is the month, DD the day, hh the hour, mm the minutes, CC the century, YY the year and .SS the seconds of current time, the seconds can be omitted (and then also the dot before them should be omitted), the year can also be submitted or just the century. for instance if the current time is 32 seconds and 44 minutes past 18 (6 pm) on the 13th November 2013. Then the command would be:

# date 111318442013.32

4.7 تثبيت النّظام الأساسيّ

Before installing, you may want to edit /etc/pacman.d/mirrorlist such that your preferred mirror is first. This copy of the mirrorlist will be installed on your new system by pacstrap as well, so it's

worth getting it right.

Install the base system using pacstrap:

# pacstrap /mnt

You can install additional packages passing base and the names of

these packages as arguments after the root directory of the new 

installation (all packages from the base group are installed if no package is specified).

If you have a btrfs root, you probably want to install also btrfs-progs.

Note:

If you face GPG errors when running # pacstrap /mnt, you can try to fix them with:

# pacman -Sfy archlinux-keyring

4.8 تثبيت bootloader

4.8.1 GRUB 0.97

  • Install the grub-legacy package.
  • Install GRUB 0.97 after chrooting (refer to the [[#Configure the

system]] section).

4.8.2 GRUB 2

  • For BIOS and EFI:
# pacstrap /mnt grub
section).

4.8.3 Syslinux

# pacstrap /mnt syslinux

4.9 تثبيت أدوات الوايرلس

If your wireless network is WPA protected, you'll need wpa_supplicant to connect to it:

# pacstrap /mnt wpa_supplicant

If you're using wifi-menu to connect, you'll also need the dialog package:

# pacstrap /mnt dialog

4.10 ضبط النّظام

Generate an fstab with the following command (if you prefer to use UUIDs or labels, add the -U or -L option, respectively):

# genfstab -p /mnt >> /mnt/etc/fstab

Next we chroot into our newly installed system:

# arch-chroot /mnt
  • Write your hostname to /etc/hostname
  • Symlink /etc/localtime to

/usr/share/zoneinfo/Zone/SubZone. Replace Zone and Subzone to your liking. For example:

# ln -s /usr/share/zoneinfo/Europe/Athens /etc/localtime

/etc/locale.conf

/etc/vconsole.conf

  • Uncomment the selected locale in /etc/locale.gen and generate

it with locale-gen

  • Configure /etc/mkinitcpio.conf as needed (see mkinitcpio)

and create an initial RAM disk with:

# mkinitcpio -p linux-libre
  • If you want to install GRUB for the (U)EFI mode, you will need to make
sure that:
    • The computer booted in (U)EFI mode (if /sys/firmware/efi

exist, then it booted in (U)EFI mode)

    • The efivars module is loaded. (modprobe efivars will load it)
  • To configure the bootloader, you have to install it and generate the

file grub.cfg:

# grub-install /dev/sdX
# grub-mkconfig -o /boot/grub/grub.cfg
  • Set a root password with passwd
  • Configure the network again for newly installed environment. See

a:Network Configuration and Wireless Setup.


Add your user to the relevant group such as:

# gpasswd -a YourActualUserName video

4.11 ضبط دعم النّطق للمكفوفين

If you are using TalkingParabola and need start speech support when you boot the system, you will need to

do:
# systemctl enable espeakup.service
  • Save the state of the sound card, so that it will be retrieved on

reboot:

# alsactl store

4.12 إزالة التّركيب وإعادة التّشغيل

If you are still in the chroot environment type exit or press Ctrl+D in order to exit. Earlier we mounted the partitions under /mnt. In this step we will unmount them:

# umount /mnt/{boot,home,}

Now reboot and then login into the new system with the root account.

4.13 ضبط pacman

عدّل /etc/pacman.conf واضبط خياراته, واختر المستودعات التّي تريد تفعيلها.

انظر لـ Pacman و Official Repositories لمزيد من التّفاصيل.

يمكنك أيضاً أن تستخدم Pacman2pacman, وهو نظام إدارة ملفات نظير-إلى-نظير, وذلك لتخفيف الحمل على سيرفرات Parabola الرّسميّة.

4.14 تحديث النّظام

الآن وبوصولك لهذه الخطوة, يتوجب عليك تحديث نظامك.

انظر لـUpgrading packages لمزيد من التّعليمات.

4.15 إضافة مستخدم

أخيراً, بإمكانك إضافة مستخدم عاديّ كما هو مشروح في User management.

5 إدارة الخدمات

Parabola GNU/Linux-libre uses a:systemd as init, which is a system and service manager for Linux. For maintaining your Parabola GNU/Linux-libre installation, it is a good idea to learn the basics about it. Interaction with systemd is done through the systemctl command. Read a:systemd#Basic systemctl usage for more information.

6 الخلاصة

أصبح لديك الآن نظّام أساسيّ جديد لـParabola GNU/Linux-libre جاهز كبيئة GNU/Linux عمليّة. بإمكانك الآن أن تكمل مع Parabola_MATE_desktop_ISO#Steps_after_basic_installation.

7 إفادة

This wiki article is based on ArchWiki. We may have removed non-FSDG bits from it.

8 انظر أيضا