One NIS Domain named rhce.com is configured in your lab, server is 192.168.0.254. rhce100, rhce200,rhce300 user are created on domain server. Make your system as a member of rhce.com domain. Make sure that when nis user login in your system home directory should get by them. Home directory is separately shared on server eg /home/stationx/ where x is you station number.
A. 1. Use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> -- update Example: authconfig --nisserver=192.168.0.254 -nisdomain=rhce.com --update
or system-config-authentication
Click on Enable NIS
Type the NIS Domain: rhce.com
Type Server 192.168.0.254 then click on next and ok
You will get a ok message.
vi /etc/auto.master and write at the end of file /home/stationx /etc/auto.home --timeout=60
vi /etc/auto.home and write * -rw,soft,intr 192.168.0.254:/home/stationx/& Note: please specify your station number in the place of x.
Service autofs restart
Login as the rhce1 or rhce2 or rhce3 on another terminal will be Success. According to QUESTION, rhce.com domain is already configured. We have to make a client of rhce.com domain and automatically mount the home directory on every client. To make a member of domain, we use the autheconfig with options or system-configauthentication command. There a are lots of authentication server i.e NIS, LDAB, SMB etc. NIS is a RPC related Services, no need to configure the DNS, we should specify the NIS server address. Here Automount feature is available. When user tried to login, home directory will automatically mount. The automount service reads the configuration from /etc/auto.master file. On /etc/auto.master file we specified the mount point the configuration file for mount point.
B. 1. Use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> -- update Example: authconfig --nisserver=192.168.0.254 -nisdomain=rhce.com --update
or system-config-authentication
Click on Enable NIS
Type the NIS Domain: rhce.com
Type Server 192.167.0.253 then click on next and ok
You will get a ok message.
vi /etc/auto.master and write at the end of file /home/stationx /etc/auto.home --timeout=60
vi /etc/auto.home and write * -rw,soft,intr 192.168.0.254:/home/stationx/& Note: please specify your station number in the place of x.
Service autofs restart
Login as the rhce1 or rhce2 or rhce3 on another terminal will be Success. According to QUESTION, rhce.com domain is already configured. There a are lots of authentication server i.e NIS, LDAB, SMB etc. NIS is a RPC related Services, no need to configure the DNS, we should specify the NIS server address. Here Automount feature is available. When user tried to login, home directory will automatically mount. The automount service reads the configuration from /etc/auto.master file. On /etc/auto.master file we specified the mount point the configuration file for mount point.
正解:A
質問 2:
There is a FTP server 192.168.0.254 and all required packages are dumped in /var/ftp/pub of that server and anonymous login is enabled. Install the Redhat
Enterprise Linux 5 as an anonymous by creating following partitions: / 1000 /boot 200 /home 1000 /var 1000 /usr 4000 swap 2X256 (RAM SIZE)
A. Note: Examiner will provide you the Installation startup CD . And here mentioned size may vary see on the exam paper.
Insert the CD on CD-ROM and start the system.
In Boot: Prompt type linux askmethod
It will display the Language, keyboard selection.
It will ask you for the installation method.
Select the FTP from the list
It will ask the IP Address, Net mask, Gateway and Name Server. Select Use Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
It will ask for the FTP site name and Redhat Enterprise Linux Directory. Specify the FTP Server: 192.167.0.254 Directory: pub Because anonymous login on /var/ftp.
After Connecting to the FTP Server Installation will start. Go up to the partition screen
by selecting the different Options.
Create the partition According to the QUESTION because Size and what-what partitionshould you
you should be care about the installation packages. At Exam time you these packages are enough. X- System Tools Windows File Server FTP Servers Mail Servers Web Servers Network Servers Editors Text Based Internet Server Configuration Tools Printing Supports When installation will complete, your system will reboot. Jump for another QUESTION.
B. Note: Examiner will provide you the Installation startup CD . And here mentioned size may vary see on the exam paper.
Insert the CD on CD-ROM and start the system.
In Boot: Prompt type linux askmethod
It will display the Language, keyboard selection.
It will ask you for the installation method.
Select the FTP from the list
It will ask the IP Address, Net mask, Gateway and Name Server. Select Use Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
It will ask for the FTP site name and Redhat Enterprise Linux Directory. Specify the FTP Server: 192.168.0.254 Directory: pub Because anonymous login on /var/ftp.
After Connecting to the FTP Server Installation will start. Go up to the partition screen
by selecting the different Options.
Create the partition According to the QUESTION because Size and what-what partitionshould you create at installation time is specified in your QUESTION
Then select the MBR Options, time zone and go upto package selections. It is another Most Important Time of installation. Due to the time limit, you should be care about the installation packages. At Exam time you these packages are enough. X-Window SystemGNOME Desktop (these two packages are generally not required) Administration Tools. System Tools Windows File Server FTP Servers Mail Servers Web Servers Network Servers Editors Text Based Internet Server Configuration Tools Printing Supports When installation will complete, your system will reboot. Jump for another QUESTION.
正解:B
質問 3:
One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical Volume, size should be increase on online.
A. lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1)
ext2online -d /dev/test0/testvolume1 lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize. And to bring increased size on online we use the ext2online command.
B. lvextend -L+200M /dev/test0/testvolume2 Use lvdisplay /dev/test0/testvolume2)
ext2online -d /dev/test0/testvolume1 lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize.
正解:A
質問 4:
Install the Redhat Linux RHEL 5 through NFS. Where your Server is server1.example.com having IP 192.168.0.254 and shared /var/ftp/pub. The size of the partitions are listed below: / -> 1048 /home -> 1028 /boot -> 512 /var -> 1028 /usr -> 2048 Swap -> 1.5 of RAM Size /data configure the RAID Level 0 of remaining all free space. After completing the installation through NFS solve the following QUESTIONs. There are two networks 192.168.0.0/24 and 192.168.1.0/24. As well as there are two domains example.com on 192.168.0.0/24 network and cracker.org on 192.168.1.0/24 network. Your system is based on example.com domain.
A. Insert the CD on CD-ROM and start the system.
In Boot: Prompt type linux askmethod
It will display the language, keyboard selection.
It will ask you for the installation method.
Select the NFS Image from the list
It will ask the IP Address, Net mask, Gateway and Name Server. Select Use Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
It will ask for the NFS Server Name and Redhat Enterprise Linux Directory. Specify the NFS Server: 192.168.0.254 Directory: /var/ftp/pub
After Connecting to the NFS Server Installation start in GUI. Go up to the partition screen by selecting the different Options.
Click on RAID button
Type mount point /data
Select RAID Level 0
Click on ok
Then select the MBR Options, time zone and go upto package selections. It is another Most Important Time of installation. Due to the time limit, you should care about the installation packages. At Exam time you these packages are enough. X-Window System GNOME Desktop (these two packages are generally not required) Administration Tools. System Tools Windows File Server
FTP Servers Mail Servers Web Servers Network Servers Editors Text Based Internet Server Configuration Tools Printing Supports When installation will complete, your system will reboot. Jump for another QUESTION.
B. Insert the CD on CD-ROM and start the system.
In Boot: Prompt type linux askmethod
It will display the language, keyboard selection.
It will ask you for the installation method.
Select the NFS Image from the list
It will ask the IP Address, Net mask, Gateway and Name Server. Select Use Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
It will ask for the NFS Server Name and Redhat Enterprise Linux Directory. Specify the NFS Server: 192.168.0.254 Directory: /var/ftp/pub
After Connecting to the NFS Server Installation start in GUI. Go up to the partition screen by selecting the different Options.
Create the partition According to the QUESTION because Size and what-what partition should you create at installation time is specified in your QUESTION
Create the two RAID partitions having equal size of remaining all free space.
Click on RAID button
Type mount point /data
Select RAID Level 0
Click on ok
Then select the MBR Options, time zone and go upto package selections. It is another Most Important Time of installation. Due to the time limit, you should care about the installation packages. At Exam time you these packages are enough. X-Window System GNOME Desktop (these two packages are generally not required) Administration Tools. System Tools Windows File Server
FTP Servers Mail Servers Web Servers Network Servers Editors Text Based Internet Server Configuration Tools Printing Supports When installation will complete, your system will reboot. Jump for another QUESTION.
正解:B
質問 5:
Give Full Permission to owner user and owner group member but no permission to others on /data.
A. We can change the permission of file/directory either character symbol method or numeric method. Permission:
r-Read w-Write x-Execute Permission Category u- Owner User
g- Owner Group
o- Others
Operators + ->Add the Permissions --> Remove the Permissions = ->Assigns the Permissions
Numeric Method: 4-> Read 2 ->Write 1 ->Execute Total: 6, total for owner user, owner group member and for others : 666
chmod u+rwx /data
chmod g+rwx /data
chmod o-rwx /data or chmod 880 /data
Verify the /data : ls -ld /data
You will get drwxrwx---
B. We can change the permission of file/directory either character symbol method or numeric method. Permission:
r-Read w-Write x-Execute Permission Category u- Owner User
g- Owner Group
o- Others
Operators + ->Add the Permissions --> Remove the Permissions = ->Assigns the Permissions
Numeric Method: 4-> Read 2 ->Write 1 ->Execute Total: 7, total for owner user, owner group member and for others : 777
chmod u+rwx /data
chmod g+rwx /data
chmod o-rwx /data or chmod 770 /data
Verify the /data : ls -ld /data
You will get drwxrwx---
正解:B
質問 6:
One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.
A. The LVM system organizes hard disks into Logical Volume (LV) groups. Essentially, physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equalsized chunks known as Physical Extents (PE). As there are several other concepts associated with the LVM system, let's start with some basic definitions:
* Physical Volume (PV) is the standard partition that you add to the LVM mix.
Normally, a physical volume is a standard primary or logical partition. It can also be a RAID array.
* Physical Extent (PE) is a chunk of disk space. Every PV is divided into a number
of equal sized PEs. Every PE in a LV group is the same size. Different LV groups can have different sized PEs.
Logical Extent (LE) is also a chunk of disk space. Every LE is mapped to a specific PE .
Logical Volume (LV) is composed of a group of LEs. You can mount a filesystem such as /home and /var on an LV.
Volume Group (VG) is composed of a group of LVs. It is the organizational group for LVM. Most of the commands that you'll use apply to a specific VG.
Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
Verify the Size on mounted directory: df -h or df -h mounted directory name
Use : lvextend -L+400M /dev/vg0/lv1
ext2online -d /dev/vg0/lv1 to bring extended size online.
Again Verify using lvdisplay and df -h command.
B. The LVM system organizes hard disks into Logical Volume (LV) groups. Essentially, physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equalsized chunks known as Physical Extents (PE). As there are several other concepts associated with the LVM system, let's start with some basic definitions:
* Physical Volume (PV) is the standard partition that you add to the LVM mix.
Normally, a physical volume is a standard primary or logical partition. It can also be a RAID array.
* Physical Extent (PE) is a chunk of disk space. Every PV is divided into a number
of equal sized PEs. Every PE in a LV group is the same size. Different LV groups can have different sized PEs.
Logical Extent (LE) is also a chunk of disk space. Every LE is mapped to a specific PE .
Logical Volume (LV) is composed of a group of LEs. You can mount a filesystem such as /home and /var on an LV.
ext2online -d /dev/vg0/lv1 to bring extended size online.
Again Verify using lvdisplay and df -h command.
正解:A
質問 7:
Some users home directory is shared from your system. Using showmount -e localhost command, the shared directory is not shown. Make access the shared users home directory.
A. Verify the File whether Shared or not ? : cat /etc/exports
Start the nfs service: service nfs start
Start the portmap service: service portmap start
Make automatically start the nfs service on next reboot: chkconfig nfs on
Make automatically start the portmap service on next reboot: chkconfig portmap on
Verify either sharing or not: showmount -e localhost
Check that default firewall is running on system ? if running flush the iptables using iptables -F and stop the iptables service.
B. Verify the File whether Shared or not ? : cat /etc/exports
Start the nfs service: service nfs start
Start the portmap service: service portmap start
Make automatically start the nfs service on next reboot: chkconfig nfs on
Check that default firewall is running on system ? if running flush the iptables using iptables -F and stop the iptables service.
C. Verify the File whether Shared or not ? : cat /etc/exports
Start the nfs service: service nfs start
Make automatically start the portmap service on next reboot: chkconfig portmap on
Verify either sharing or not: showmount -e localhost
Check that default firewall is running on system ? if running flush the iptables using iptables -F and stop the iptables service.
正解:A
質問 8:
Your System is configured in 192.168.0.0/24 Network and your nameserver is
192.168.0.254. Make successfully resolve to server1.example.com.
A. Very Easy QUESTION, nameserver is specified in QUESTION,
1. vi /etc/resolv.conf
nameserver 192.169.0.255
host server1.example.com
B. Very Easy QUESTION, nameserver is specified in QUESTION,
1. vi /etc/resolv.conf
nameserver 192.168.0.254
host server1.example.com
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 9:
Create the user named eric and deny to interactive login.
A. useradd eric
passwd eric
vi /etc/passwd
eric:x:505:505::/home/eric:/sbin/nologin Which shell or program should start at login time is specified in /etc/passwd file. By default Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write /sbin/nologin or /bin/false instead of login shell.
B. useradd eric
passwd eric
vi /etc/passwd
eric:x:507:606::/home/eric:/sbin/nologin Which shell or program should start at login time is specified in /etc/passwd file. By default Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write /sbin/nologin or /bin/false instead of login shell
正解:A
Takahashi -
他社と比べると、たいへんよくなった受験対策問題集です。
他の方のレビューにもありますが、非常によくなっています。
この本でほぼ確実にRH202試験に合格できると思います。