Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP Forwarding.
i. echo "1" >/proc/sys/net/ipv4/ip_forward
ii. vi /etc/sysctl.conf
net.ipv4.ip_forward=1
A. /proc is the virtual filesystem, containing the information about the running kernel. To change the parameter of running kernel you should modify on /proc.
B. /proc is the virtual filesystem, containing the information about the running kernel. To change the parameter of running kernel you should modify on /proc. From Next reboot the system, kernel will take the value from /etc/sysctl.conf.
正解:B
質問 2:
Your system is giving error while booting on Runlevel 5 . Make successfully boot your system in runlevel 5.
A. While you load the X Window System, you will get the problem. To troubleshoot follow the following steps:
Check the /tmp is full ?
Check your quota, hard limit is already crossed ?
Edit the /etc/inittab to set default runlevel 5. i d:5:initdefault:
B. While you load the X Window System, you will get the problem. To troubleshoot follow the following steps:
Check the /tmp is full ?
Check your quota, hard limit is already crossed ?
Check xfs service is running ?
Boot the system on runlevel 3 and execute the system-config-display command
Edit the /etc/inittab to set default runlevel 5. i d:5:initdefault:
正解:B
質問 3:
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 124MB. Make successfully that the size of Logical Volume 245MB without losing any data. The size of logical volume 240MB to 255MB will be acceptable.
A. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
Increase the Size of Logical Volume: lvextend -L+124M /dev/vo/myvol
Make Available the size on online: ext4online /dev/vo/myvol
Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
Verify that the size comes in online or not: df -h We can extend the size of logical Volume using the lvextend command. As well as to decrease the size of Logical Volume, use the lvresize command. In LVM v3 we can extend the size of Logical Volume without unmount as well as we can bring the actual size of Logical Volume on online using ext2online command.
B. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol
Make Available the size on online: ext2online /dev/vo/myvol
Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
Verify that the size comes in online or not: df -h We can extend the size of logical Volume using the lvextend command. As well as to decrease the size of Logical Volume, use the lvresize command. In LVM v2 we can extend the size of Logical Volume without unmount as well as we can bring the actual size of Logical Volume on online using ext2online command.
正解:B
質問 4:
Who ever creates the files/directories on /storage group owner should be automatically should be the same group owner of /storage.
A. chmod g+s /storage
Verify using: ls -ld /storage Permission should be like: drwxrws--- 2 root sysusers 4096 Mar 16 18:08 /storage If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory. To set the SGID bit: chmod g+s directory To Remove the SGID bit: chmod g-s directory
B. chmod g+s /storage
Verify using: ls -ld /storage Permission should be like: drwxrws--- 2 root sysusers 4096 Mar 16 19:08 /storage If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
正解:A
質問 5:
Create the directory /data and group owner should be the sysadmin group.
A. chgrp sysadmin /data
Verify using ls -ld /data command. You should get like drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /data chgrp command is used to change the group ownership of particular files or directory. Another way you can use the chown command. chown root:sysadmin /data
B. chgrp sysadmin /data
Verify using ls -ld /data command. You should get like drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /data chgrp command is used to change the group ownership of particular files or directory.
正解:A
質問 6:
One New Kernel is released named kernel-hugemem. Kernel is available on ftp://server1.example.com under pub directory for anonymous. Install the Kernel and make previous new kernel is default to boot System.
A. rpm -ivh ftp://server1.example.com/pub/kernel-hugemem-*
vi /etc/grub.conf Set the default to new kernel default=0 Example of /etc/grub.conf default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux ES (2.6.9-5.ELhugemem)
root (hd0,0) kernel /vmlinuz-2.6.9-5.ELhugemem ro root=LABEL=/1 rhgb quiet initrd /initrd-2.6.9-5.ELhugemem.img
title Red Hat Enterprise Linux ES (2.6.9-5.EL) root (hd0,0) kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/1 rhgb quiet initrd /initrd-2.6.9-5.EL.img
rpm command is used to install, update and remove the rpm package. -ivh option is install, verbose, and display the hash mark.
B. rpm -ivh ftp://server1.example.com/pub/kernel-hugemem-*
vi /etc/grub.conf Set the default to new kernel default=0 Example of /etc/grub.conf default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux ES (2.6.9-5.ELhugemem)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/1 rhgb quiet initrd /initrd-2.6.9-5.EL.img
rpm command is used to install, update and remove the rpm package. -ivh option is install, verbose, and display the hash mark.
正解:A
質問 7:
The System you are using is for NFS (Network File Services). Some important data are shared from your system. Make automatically start the nfs and portmap services at boot time.
A. We can control the services for current session and for next boot time also. For current Session, we use service servicename start or restart or stop or status. For automatically on next reboot time:
3. chkconfig servicename on or off eg: chkconfig nfs on chkconfig portmap on
or
ntsysv
Select the nfs and portmap services.
Reboot the system and identify whether services are running or not.
B. We can control the services for current session and for next boot time also. For current Session, we use service servicename start or restart or stop or status.
Select the nfs and portmap services.
Reboot the system and identify whether services are running or not.
正解:A
質問 8:
Make Secondary belongs the both users on sysadmin group.
A. usermod -G sysadmin john
usermod -G sysadmin jane
Verify by reading /etc/group file Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary.
B. usermod -G sysadmin john
usermod -G sysadmin jane
Verify by reading /etc/group file Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary. usermod -g groupname username To change the primary group of the user usermod -G groupname username To make user belongs to secondary group.
正解:B
質問 9:
You Completely Install the Redhat Enterprise Linux ES 4 on your System. While start the system, it's giving error to load X window System. How will you fix that problem and make boot successfully run X Window System.
A. Think while Problems occurred on booting System on Runlevel 5 (X Window).
/tmp is full or not
Quota is already reached
Video card or resolution or monitor is misconfigured.
xfs service is running or not. Do These:
1. df -h /tmp /tmp is full remove the unnecessary file
quota username if quota is already reached remove unnecessary file from home directory.
Boot the System in runlevel 3. you can pass the Kernel Argument from boot loader.
Use command: system-config-display It will display a dialog to configure the monitor, Video card, resolution etc.
Set the Default Runlevel 5 in /etc/inittab id:5:initdefault:
6. Reboot the System you will get the GUI login Screen.
B. Think while Problems occurred on booting System on Runlevel 5 (X Window).
/tmp is full or not
Quota is already reached
Video card or resolution or monitor is misconfigured.
xfs service is running or not. Do These:
1. df -h /tmp /tmp is full remove the unnecessary file
quota username if quota is already reached remove unnecessary file from home directory.
Boot the System in runlevel 4. you can pass the Kernel Argument from boot loader.
Use command: system-config-display It will display a dialog to configure the monitor, Video card, resolution etc.
Set the Default Runlevel 8 in /etc/inittab id:5:initdefault:
6. Reboot the System you will get the GUI login Screen.
正解:A
Sakaki -
学習教材は有効です。そして、合格率は高いです。やはり高い的中率がありますよね。