최신 EX200日本語 무료덤프 - RedHat Red Hat Certified System Administrator - RHCSA (EX200日本語版)
文字列を検索する
/ usr / share / dict / words内に文字列seismicを含むすべての列を見つけ、元の順序でこれらすべての列を/root/lines.txにコピーします。空白行はありません。すべての列は、元の列。
/ usr / share / dict / words内に文字列seismicを含むすべての列を見つけ、元の順序でこれらすべての列を/root/lines.txにコピーします。空白行はありません。すべての列は、元の列。
정답:
grep seismic /usr/share/dict/words> /root/lines.txt
システムは192.168.0.0/24ネットワークで構成され、ネームサーバーは192.168.0.254です。 server1.example.comに正常に解決します。
정답:
nameserver is specified in question,
1. Vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com
1. Vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com
システムでNTPサービスを構成します。
정답:
system-config-date &


サイズ100MBのパーティションを1つ作成し、データにマウントします。
정답:
1. Use fdisk /dev/hda to create new partition.
2. Type n For New partitions.
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
5. Type the Size: +100M you can specify either Last cylinder of size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
OR
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data
2. Type n For New partitions.
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
5. Type the Size: +100M you can specify either Last cylinder of size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
OR
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data
DNSサーバーが172.24.254.254であるserver1.example.comに正常に解決します。
정답:
vi /etc/resolv.conf
nameserver 172.24.254.254
host server1.example.com
On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server.
nameserver 172.24.254.254
host server1.example.com
On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server.
ユーザーアカウントを構成します。
ユーザーiaruidは3400を作成します。パスワードはredhatです
ユーザーiaruidは3400を作成します。パスワードはredhatです
정답:
useradd -u 3400 iar
passwd iar
passwd iar
iraが所有するすべてのファイルを見つけ、それらを/ root / findresultsディレクトリーにコピーします。
정답:
# find / -user ira > /root/findresults (if /root/findfiles is a file)
# mkdir -p /root/findresults
# find / -user ira -exec cp -a {} /root/findresults\; [ if /root/findfiles is a directory] ls /root/findresults
# mkdir -p /root/findresults
# find / -user ira -exec cp -a {} /root/findresults\; [ if /root/findfiles is a directory] ls /root/findresults
注:
NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
ヤム: http://instructor.example.com/pub/rhel6/dvd
LDAP: http://instructor.example.com/pub/EXAMPLE-CA-CERT
NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
ヤム: http://instructor.example.com/pub/rhel6/dvd
LDAP: http://instructor.example.com/pub/EXAMPLE-CA-CERT
정답:
Install dialog package.
ユーザーアカウントを作成します。
次のユーザー、グループ、およびグループメンバーシップを作成します。
管理者ユーザーグループ
ユーザーnatasha、adminuserをサブグループとして使用
ユーザーHarry、サブグループとしてadminuserも使用
ユーザーsarahは、システムで対話型であり、adminuserのメンバーではないSHELLにアクセスできません。natashaharrysarahパスワードはredhatです。
次のユーザー、グループ、およびグループメンバーシップを作成します。
管理者ユーザーグループ
ユーザーnatasha、adminuserをサブグループとして使用
ユーザーHarry、サブグループとしてadminuserも使用
ユーザーsarahは、システムで対話型であり、adminuserのメンバーではないSHELLにアクセスできません。natashaharrysarahパスワードはredhatです。
정답:
groupadd adminuser
useradd natasha -G adminuser
useradd haryy -G adminuser
useradd sarah -s /sbin/nologin
Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.
useradd natasha -G adminuser
useradd haryy -G adminuser
useradd sarah -s /sbin/nologin
Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.
パート2(Node2サーバー上)
タスク7 [高度なストレージ機能の実装]
デバイスを使用して、プールthink_poolからthink_fsという名前のシンプロビジョニングされたファイルシステムを作成します。
ファイルシステムは/ stravにマウントする必要があり、再起動後も永続的である必要があります
タスク7 [高度なストレージ機能の実装]
デバイスを使用して、プールthink_poolからthink_fsという名前のシンプロビジョニングされたファイルシステムを作成します。
ファイルシステムは/ stravにマウントする必要があり、再起動後も永続的である必要があります
정답:
* [root@node2 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vdd 252:48 0 5G 0 disk
vde 252:64 0 10G 0 disk
└─vdo1 253:4 0 50G 0 vdo /vbread
[root@node2 ~]# yum install stratis* -y
[root@node2 ~]# systemctl enable --now stratisd.service
[root@node2 ~]# systemctl start stratisd.service
[root@node2 ~]# systemctl status stratisd.service
[root@node2 ~]# stratis pool create think_pool /dev/vdd
[root@node2 ~]# stratis pool list
Name Total Physical Properties
think_pool 5 GiB / 37.63 MiB / 4.96 GiB ~Ca,~Cr
* [root@node2 ~]# stratis filesystem create think_pool think_fs
[root@node2 ~]# stratis filesystem list
Pool Name Name Used Created Device UUID
think_pool think_fs 546 MiB Mar 23 2021 08:21 /stratis/think_pool/think_fs ade6fdaab06449109540c2f3fdb9417d
[root@node2 ~]# mkdir /strav
[root@node2 ~]# lsblk
[root@node2 ~]# blkid
/dev/mapper/stratis-1-91ab9faf36a540f49923321ba1c5e40d-thin-fs-ade6fdaab06449109540c2f3fdb9417d: UUID="ade6fdaa-b064-4910-9540-c2f3fdb9417d" BLOCK_SIZE="512" TYPE="xfs"
* [root@node2 ~]# vim /etc/fstab
UUID=ade6fdaa-b064-4910-9540-c2f3fdb9417d /strav xfs defaults,x-systemd.requires=stratisd.service 0 0
[root@node2 ~]# mount /stratis/think_pool/think_fs /strav/
[root@node2 ~]# df -hT
/dev/mapper/stratis-1-91ab9faf36a540f49923321ba1c5e40d-thin-fs-ade6fdaab06449109540c2f3fdb9417d xfs 1.0T 7.2G 1017G 1% /strav
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vdd 252:48 0 5G 0 disk
vde 252:64 0 10G 0 disk
└─vdo1 253:4 0 50G 0 vdo /vbread
[root@node2 ~]# yum install stratis* -y
[root@node2 ~]# systemctl enable --now stratisd.service
[root@node2 ~]# systemctl start stratisd.service
[root@node2 ~]# systemctl status stratisd.service
[root@node2 ~]# stratis pool create think_pool /dev/vdd
[root@node2 ~]# stratis pool list
Name Total Physical Properties
think_pool 5 GiB / 37.63 MiB / 4.96 GiB ~Ca,~Cr
* [root@node2 ~]# stratis filesystem create think_pool think_fs
[root@node2 ~]# stratis filesystem list
Pool Name Name Used Created Device UUID
think_pool think_fs 546 MiB Mar 23 2021 08:21 /stratis/think_pool/think_fs ade6fdaab06449109540c2f3fdb9417d
[root@node2 ~]# mkdir /strav
[root@node2 ~]# lsblk
[root@node2 ~]# blkid
/dev/mapper/stratis-1-91ab9faf36a540f49923321ba1c5e40d-thin-fs-ade6fdaab06449109540c2f3fdb9417d: UUID="ade6fdaa-b064-4910-9540-c2f3fdb9417d" BLOCK_SIZE="512" TYPE="xfs"
* [root@node2 ~]# vim /etc/fstab
UUID=ade6fdaa-b064-4910-9540-c2f3fdb9417d /strav xfs defaults,x-systemd.requires=stratisd.service 0 0
[root@node2 ~]# mount /stratis/think_pool/think_fs /strav/
[root@node2 ~]# df -hT
/dev/mapper/stratis-1-91ab9faf36a540f49923321ba1c5e40d-thin-fs-ade6fdaab06449109540c2f3fdb9417d xfs 1.0T 7.2G 1017G 1% /strav