الفلاتر
طريقة البحث
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • "كلمتان" تجد العبارة بالضبط.
  • --name أو -x تجد خيارًا.
  • #كلمة تبحث داخل الأوامر فقط.
  • @grep تجد الدروس والمعامل التي تستخدم grep.
  • الفلاتر: cat:network · in:labs · level:rhcsa · ch:8 · root:yes. ضع ! قبل كلمة لاستبعادها. OR بين الكلمات تعني إحداها.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث

معمل 1.1RHCSA 10, الفصل 1

Build your two practice servers

المستوى
سهل
60 دقيقة
الأجهزة
server1, server2
الحالة
لم يبدأ

هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.

الهدف

Install the two machines you use in all the other labs. When you are done, both machines run RHEL 10, have the right names, an admin user, and can reach each other.

قبل أن تبدأ

  • A computer with at least 8 GB RAM and 60 GB free disk space.
  • A hypervisor (KVM, VirtualBox, VMware or Hyper-V) and the RHEL 10 DVD image (or CentOS Stream 10 / AlmaLinux 10).

المهام

  1. Create the virtual machine server1: 2 CPUs, 4 GB RAM, a 20 GB system disk and a second empty 10 GB disk.
  2. Install server1 with Server with GUI. Use automatic partitioning on the 20 GB disk only. Set the hostname server1.example.com.
  3. Create the user student and make it an administrator. Set a root password.
  4. Create server2: 1 CPU, 2 GB RAM, a 20 GB disk. Install it with Minimal Install and the hostname server2.example.com, the same user and root password.
  5. Make sure both network cards are on and start at boot.
  6. Take a snapshot of both machines called clean-install.

تحقّق من عملك

Run on each machine:

cat /etc/redhat-release
hostnamectl --static
id student
lsblk
ip -br a
ping -c 2 <address of the other machine>
  • The hostname is server1.example.com or server2.example.com.
  • id student shows the group wheel.
  • On server1, lsblk shows the second disk (often vdb or sdb) without partitions.
  • Each machine can ping the other one.

تلميحات

اعرض التلميحات

الحل

اعرض الحل
  1. Create the machines in your hypervisor as in tasks 1 and 4. Attach the RHEL DVD image as the boot device.
  2. In the installer: Software Selection → Server with GUI (server1) or Minimal Install (server2). Installation Destination → only the 20 GB disk, Automatic. Network & Host Name → switch the card On, type the hostname, click Apply.
  3. Root Password → set it. User Creation → student, tick Make this user administrator.
  4. Begin Installation, then Reboot System. Log in and check:
    hostnamectl --static
    id student
  5. If the card is not up:
    nmcli con up enp1s0
    nmcli con mod enp1s0 connection.autoconnect yes
  6. Shut down both machines and take the snapshot in your hypervisor.

ملاحظاتي

لا توجد ملاحظات بعد.

دروس هذا المعمل

الأوامر في هذا المعمل