显示标签为“RedHat”的博文。显示所有博文
显示标签为“RedHat”的博文。显示所有博文

2014年1月1日星期三

Dernières RedHat RH302 de la pratique de l'examen questions et réponses téléchargement gratuit

Vous avez aussi la possibilité à réussir le test RedHat RH302. Pass4Test offre la service de la mise à jour gratuite pendant un an. Si vous échouez le test, votre argent sera tout rendu. Maintenant, vous pouvez télécharger la partie gratuite prendre examinser la qualité des produits de Pass4Test.

On peut voir que beaucoup de candidats ratent le test RedHat RH302 quand même avec l'effort et beaucoup de temps dépensés. Cest une bonne preuve que le test RedHat RH302 est difficile à réussir. Pass4Test offre le guide d'étude bien fiable. Sauf le test RedHat RH302, Pass4Test peut offrir les Q&As des autres test Certification IT.

Vous aurez une assurance 100% à réussir le test RedHat RH302 si vous choisissez le produit de Pass4Test. Si malheuresement, vous ne passerez pas le test, votre argent seront tout rendu.

Si vous travaillez quand même très dur et dépensez beaucoup de temps pour préparer le test RedHat RH302, mais ne se savez pas du tout c'est où le raccourci pour passer le test certification, Pass4Test peut vous donner une solution efficace. Vous vous sentirez magiquement jouer un effet multiplicateur.

Pass4Test est un site particulier d'offrir la formation à propos de test Certification IT. C'est un bon choix pour vous aider à réussir le test RedHat RH302. Pass4Test offre toutes les informations et les documentations plus nouvelles qui peut vous donner plus de chances à réussir le test.

Code d'Examen: RH302
Nom d'Examen: RedHat (Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs))
Questions et réponses: 330 Q&As

Si vous êtes intéressé par l'outil formation RedHat RH302 étudié par Pass4Test, vous pouvez télécharger tout d'abord le démo. Le service de la mise à jour gratuite pendant un an est aussi offert pour vous.

RH302 Démo gratuit à télécharger: http://www.pass4test.fr/RH302.html

NO.1 CORRECT TEXT
Successfully resolv to server1.example.com where your DNS server is 172.24.254.254
Answer and Explanation:
1. vi /etc/resolv.conf
nameserver 172.24.254.254
2. host server1.example.com

certification RedHat   RH302   certification RH302

NO.2 vi /etc/fstab

certification RedHat   RH302   certification RH302

NO.3 CORRECT TEXT
Create the partition having 100MB size and mount it on /mnt/neo
Answer and Explanation:
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.

certification RedHat   RH302   certification RH302

NO.4 Write:

certification RedHat   RH302   certification RH302

NO.5 Or

certification RedHat   RH302   certification RH302

NO.6 CORRECT TEXT
Change the root Password to redtophat
Answer and Explanation:Boot the system in Single user modeUse the passwd command

certification RedHat   RH302   certification RH302

NO.7 CORRECT TEXT
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your
FTP server is 192.168.0.254. Install the package zsh.
Answer and Explanation:
1. rpm -ivh ftp://server1/example.com/pub/updates/zsh-*
or
1. Login to ftp server : ftp ftp://server1.example.com using anonymous user.
2. Change the directory: cd pub and cd updates
3. Download the package: mget zsh-*
4. Quit from the ftp prompt : bye
5. Install the package
6. rpm -ivh zsh-*
7. Verify either package is installed or not : rpm -q zsh

certification RedHat   RH302   certification RH302

NO.8 CORRECT TEXT
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging
192.168.1.0/24 Network's Host.
Answer and Explanation:
1. vi /etc/sysconfing/network
NETWORKING=yes
HOSTNAME=station?.example.com
GATEWAY=192.168.0.254
2. service network restart
Or
1. vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=X.X.X.X
NETMASK=X.X.X.X
GATEWAY=192.168.0.254
2. ifdown eth0
3. ifup eth0

certification RedHat   RH302   certification RH302

NO.9 It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.

certification RedHat   RH302   certification RH302

NO.10 Type the Size: +100M ¨¤ You can Specify either Last cylinder of Size here.

certification RedHat   RH302   certification RH302

NO.11 Verify by mounting on current Sessions also:

certification RedHat   RH302   certification RH302

NO.12 CORRECT TEXT
Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is
172.24.254.254
Answer and Explanation:
#vi /etc/resolv.conf
nameserver 172.24.254.254
# dig server1.example.com
#host server1.example.com
DNS is the Domain Name System, which maintains a database that can help your computer
translate domain names such as www.redhat.com to IP addresses such as 216.148.218.197. As
no individual DNS server is large enough to keep a database for the entire Internet, they can refer
requests to other DNS servers.
DNS is based on the named daemon, which is built on the BIND (Berkeley Internet Name Domain)
package developed through the Internet Software Consortium
Users wants to access by name so DNS will interpret the name into ip address. You need to specify the
Address if DNS server in each and every client machine. In Redhat Enterprise Linux, you need to specify
the DNS server into /etc/resolv.conf file.
After Specifying the DNS server address, you can verify using host, dig and nslookup commands.

certification RedHat   RH302   certification RH302

NO.13 Use mkfs -t ext3 /dev/hda? Where ? is your partition number

certification RedHat   RH302   certification RH302

NO.14 Press P to verify the partitions lists and remember the partitions name.

certification RedHat   RH302   certification RH302

NO.15 mount /dev/hda? /mnt/neo
4 CORRECT TEXT
Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP
Forwarding.
Answer and Explanation:
1. echo "1" >/proc/sys/net/ipv4/ip_forward
2. vi /etc/sysctl.conf
net.ipv4.ip_forward=1
/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.
5.CORRECT TEXT
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.
Answer and Explanation:
1. Verify the File whether Shared or not ? : cat /etc/exports
2. Start the nfs service: service nfs start
3. Start the portmap service: service portmap start
4. Make automatically start the nfs service on next reboot: chkconfig nfs on
5. Make automatically start the portmap service on next reboot: chkconfig portmap on
6. Verify either sharing or not: showmount -e localhost
7. Check that default firewall is running on system ? if running flush the iptables using iptables -F and stop
the iptables service.
6.CORRECT TEXT
neo user tried by:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
files created successfully. Again neo tried to create file having 70K using following command:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
But he is unable to create the file. Make the user can create the file less then 70K.
Answer and Explanation:
Very Tricky question from redhat. Actually question is giving scenario to you to implement quota toneo
user. You should apply the quota to neo user on /home that neo user shouldn't occupied space more than
70K.
1. vi /etc/fstab
LABEL=/home /home ext3 defaults,usrquota 0 0 ¨¤ To enable th
quota on filesystem you should mount
the filesystem with usrquota for user quota and grpquota for group quota.
2. touch /home/aquota.user ¨¤Creating blank quota database file.
3. mount -o remount /home ¨¤ Remounting the /home with updated mount options. ou can verify that
/home is mounted with usrquota options or not using mount command.
4. quotacheck -u /home ¨¤ Initialization the quota on /home
5. edquota -u neo /home ¨¤ Quota Policy editor
See the snapshot
Disk quotas for user neo (uid 500):
Filesystem blocks soft hard inodes soft hard
/dev/mapper/vo-myvol 2 30 70 1 0 0
Can you set the hard limit 70 and soft limit as you think like 30.
Verify using the repquota /home command.
7.CORRECT TEXT
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.
Answer and Explanation:
1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol
3. Make Available the size on online: resize2fs /dev/vo/myvol
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. 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.
8.CORRECT TEXT
Quota is implemented on /data but not working properly. Find out the
Problem and implement the quota to user1 to have a soft limit 60 inodes
(files) and hard limit of 70 inodes (files).
Answer and Explanation:
Quotas are used to limit a user's or a group of users' ability to consume disk space. This prevents a small
group of users from monopolizing disk capacity and potentially interfering with other users or the entire
system. Disk quotas are commonly used by ISPs, by Web hosting companies, on FTP sites, and on
corporate file servers to ensure continued availability of their systems.
Without quotas, one or more users can upload files on an FTP server to the point of filling a filesystem.
Once the affected partition is full, other users are effectively denied upload access to the disk. This is also
a reason to mount different filesystem directories on different partitions. For example, if you only had
partitions for your root (/) directory and swap space, someone uploading to your computer could fill up all
of the space in your root directory (/). Without at least a little free space in the root directory (/), your
system could become unstable or even crash.
You have two ways to set quotas for users. You can limit users by inodes or by kilobyte-sized disk blocks.
Every Linux file requires an inode. Therefore, you can limit users by the number of files or by absolute
space. You can set up different quotas for different filesystems. For example, you can set different quotas
for users on the /home and /tmp directories if they are mounted on their own partitions.
Limits on disk blocks restrict the amount of disk space available to a user on your system. Older versions
of Red Hat Linux included LinuxConf, which included a graphical tool to configure quotas.
As of this writing, Red Hat no longer has a graphical quota configuration tool. Today, you can configure
quotas on RHEL only through the command line interface.
1. vi /etc/fstab
/dev/hda11 /data ext3 defaults,usrquota 1 2
2. Either Reboot the System or remount the partition.
Mount -o remount /dev/hda11 /data
3. touch /data/aquota.user
4. quotacheck -ufm /data
5. quotaon -u /data
6. edquota -u user1 /data
and Specified the Soft limit and hard limit on opened file.
To verify either quota is working or not:
Soft limit specify the limit to generate warnings to users and hard limit can't cross by the user. Use the
quota command or repquota command to monitor the quota information.
9.CORRECT TEXT
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.
Answer and Explanation:
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 equal-sized 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.
1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
2. Verify the Size on mounted directory: df -h or df -h mounted directory name
3. Use : lvextend -L+400M /dev/vg0/lv1
4. resize2fs /dev/vg0/lv1 ¨¤ to bring extended size online.
5. Again Verify using lvdisplay and df -h command.
10.CORRECT TEXT
Create one partitions having size 100MB and mount it on /data.
Answer and Explanation:
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
10. vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
11. Verify by mounting on current Sessions also:
mount /dev/hda? /data
11 CORRECT TEXT
You are new System Administrator and from now you are going to handle the system and your
main task is Network monitoring, Backup and Restore. But you don't know the root password.
Change the root password to redhat and login in default Runlevel.
Answer and Explanation:
When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't know the
root's password. To change the root password you need to boot the system into single user mode.
You can pass the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode
ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d
12 CORRECT TEXT
There are more then 400 Computers in your Office. You are appointed as a System Administrator.
But you don't have Router. So, you are going to use your One Linux Server as a Router. How will you
enable IP packets forward?
Answer and Explanation:
1. /proc is the virtual filesystem, we use /proc to modify the kernel parameters at running time.
# echo "1" >/proc/sys/net/ipv4/ip_forward
2. /etc/sysctl.conf ¨¤ when System Reboot on next time, etc/rc.d/rc.sysinit scripts reads the file
/etc/sysctl.conf. To enable the IP forwarding on next reboot also you need to set the parameter.
net.ipv4.ip_forward=1
Here 0 means disable, 1 means enable.
13.CORRECT TEXT
You Completely Install the Redhat Enterprise Linux 5 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.
Answer and Explanation:
Think while Problems occurred on booting System on Runlevel 5 (X Window)./tmp is full ornotQuota is
already reachedVideo 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 filequota username ¨¤ if quota is alread
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.
14 CORRECT TEXT
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in
192.168.0.0/24 Network. One RHEL 5 Installed System is going to use as a Router. All required
configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP
Address are assigned on that Server. How will make successfully ping to 192.168.1.0/24
Network's Host?
Answer and Explanation:
1. vi /etc/sysconfig/network
GATEWAY=192.168.0.254
OR
vi /etc/sysconf/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.?
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
2. service network restart
15 CORRECT TEXT
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Answer and Explanation:
1. Use fdisk /dev/hda ¨¤ To create new partition.
2. Type n ¨¤ For New partition
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. Default System ID is 83
that means Linux Native.
7. Type t to change the System ID of partition.
8. Type Partition Number
9. Type 82 that means Linux Swap.
10. Press w to write on partitions table.
11. Either Reboot or use partprobe command.
12. mkswap /dev/hda?¨¤ To create Swap File system on partition.
13. swapon /dev/hda?¨¤ To enable the Swap space from partition.
14. free -m ¨¤ Verify Either Swap is enabled or not.
15. vi /etc/fstab
/dev/hda? swap swap defaults 0 0
16. Reboot the System and verify that swap is automatically enabled or not.
16.CORRECT TEXT
You are a System administrator. Using Log files very easy to monitor the system. Now there are 50
servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from allservers
into on LOG Server. How will you configure the LOG Server to accept logs from remote host ?
Answer and Explanation:
By Default system accept the logs only generated from local host. To accept the Log from otherhost
configure:
1. vi /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-m 0 -r"
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages recieved with -r
2. service syslog restart
17 CORRECT TEXT
You are giving the debug RHCT exam. The examiner told you that the password of root is redhat.
When you tried to login displays the error message and redisplayed the login screen. You
changed the root password, again unable to login as a root. How will you make Successfully Login as a
root.
Answer and Explanation:
When root unable to login into the system think:
1. Is password correct?
2. Is account expired?
3. Is terminal Blocked?
Do these Steps:Boot the System on Single user mode.Change the passwordCheck the account expire
date by using chage -l root command.
If account is expired, set net expire date: chage -E "NEVER" root
1. Check the file /etc/securetty ¨¤ Which file blocked to root login from certain terminal
2. If terminal is deleted or commented write new or uncomment.
3. Reboot the system and login as a root.

certification RedHat   RH302   certification RH302

NO.16 Press w to write on partitions table.

certification RedHat   RH302   certification RH302

NO.17 CORRECT TEXT
Set the Hostname station?.example.com where ? is your Host IP Address.
Answer and Explanation:
1. hostname station?.example.com ¨¤ This will set the host name only for current session. To set
hostname permanently.
2. vi /etc/sysconfig/network
HOSTNAME=station?.example.com
3. service network restart

certification RedHat   RH302   certification RH302

NO.18 CORRECT TEXT
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to
192.168.0.254.
Answer and Explanation:
In Network problem thinks to check:
1. IP Configuration: use ifconfig command either IP is assigned to interface or not?
2. Default Gateway is set or not?
3. Hostname is set or not?
4. Routing problem is there?
5. Device Driver Module is loaded or not?
6. Device is activated or not?
Check In this way:
1. use ifconfig command and identify which IP is assigned or not.
2. cat /etc/sysconfig/network ¨¤ What, What is written here. Actually here are these parameters
NETWORKING=yes or no
GATEWAY=x.x.x.x
HOSTNAME=?
NISDOMAIN=?
-Correct the file
3. Use vi /etc/sysconfig/network-scirpts/ifcfg-eth0 and check the proper options
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=x.x.x.x
NETMAKS=x.x.x.x
GATEWAY=x.x.x.x
4. Use service network restart or start command

certification RedHat   RH302   certification RH302

NO.19 CORRECT TEXT
There is one partition /dev/hda14 mounted on /data. The owner of /data is root user and root group. And
Permission is full to owner user, read and execute to group member and no permission to others. Now
you should give the full permission to user user1 without changing pervious permission.
Answer and Explanation:
We know that every files/directories are owned by certain user and group. And Permissions are defines to
owner user, owner group and other.
-rwxr-x--- ¨¤Full permission to owner user, read and write to owner group and no permission to
others.
According to question: We should give the full permission to user user1 without changing the previous
permission.
ACL (Access Control List), in ext3 file system we can give permission to certain user and certain group
without changing previous permission. But that partition should mount using acl option.
Follow the stepsvi /etc/fstab
/dev/hda14 /data ext3 defaults,acl 0 1Either Reboot or use: mount -o remount /datasetfacl -m
u:user1:rwx /dataVerify using: getfacl /data

certification RedHat   RH302   certification RH302

NO.20 CORRECT TEXT
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size
of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing
any data. The size of logical volume 200MB to 210MB will be acceptable.
Answer and Explanation:
1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Make sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
3. Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
4. It is now possible to reduce the logical volume.
#lvreduce /dev/vo/myvol -L 200M
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. Verify that the size comes in online or not: df -h

certification RedHat   RH302   certification RH302

NO.21 CORRECT TEXT
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.
Answer and Explanation:
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:
1. chkconfig servicename on or off
eg: chkconfig nfs on
chkconfig portmap on
or
ntsysv
Select the nfs and portmap services.
2. Reboot the system and identify whether services are running or not.

certification RedHat   RH302   certification RH302

NO.22 /dev/hda? /mnt/neo ext3 defaults 1 2

certification RedHat   RH302   certification RH302

NO.23 CORRECT TEXT
Add a new logical partition having size 100MB and create the /data which will be the mount point for the
new partition.
Answer and Explanation:Use fdisk /dev/hda ¨¤ To create new parition.Type n ¨¤ For New
partitionsIt will ask for Logical or Primary Partitions. Press l for logical.It will ask for the Starting Cylinder:
Use the Default by pressing Enter Key.Type the Size: +100M ¨¤ You can Specify either Last cylinder of
Size here.Press P to verify the partitions lists and remember the partitions name.Press w to write on
partitions table.Either Reboot or use partprobe command.Use mkfs -t
ext3 /dev/hda?Ormke2fs -j /dev/hda? ¨¤ To create ext3 filesystem.vi /etc/fstabWrite:/dev/hda? /data
ext3 defaults 0 0Verify by mounting on current Sessions also:mount /dev/hda? /data

certification RedHat   RH302   certification RH302

NO.24 CORRECT TEXT
Your system is giving error while booting on Runlevel 5 . Make successfully boot your system in
runlevel 5.
Answer and Explanation:
While you load the X Window System, you will get the problem. To troubleshoot follow the
following steps:
1. Check the /tmp is full ?
2. Check your quota, hard limit is already crossed ?
3. Check xfs service is running ?
4. Boot the system on runlevel 3 and execute the system-config-display command
5. Edit the /etc/inittab to set default runlevel 5.
id:5:initdefault:

certification RedHat   RH302   certification RH302

NO.25 Either Reboot or use partprobe command.

certification RedHat   RH302   certification RH302

NO.26 CORRECT TEXT
Make Successfully Resolve to server1.example.com where DNS Server is 192.168.0.254.
Answer and Explanation: 1. vi /etc/resolv.conf
Write : nameserver 192.168.0.254

certification RedHat   RH302   certification RH302

NO.27 CORRECT TEXT
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16.
Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x Where x is your station
number.
Answer and Explanation:
1. vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=x.x.x.x
NETMASK=x.x.x.x
2. Enter the IP Address as given station number by your examiner: example: 172.24.0.1
3. Enter Subnet Mask
4. Enter Default Gateway and primary name server
5. press on ok
6. ifdown eth0
7. ifup eth0
8. verify using ifconfig
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway,
you can ping to 172.25.254.254.

certification RedHat   RH302   certification RH302

NO.28 CORRECT TEXT
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.
Answer and Explanation:
Very Easy question, nameserver is specified in question,
1. vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com

certification RedHat   RH302   certification RH302

NO.29 mkdir /mnt/neo

certification RedHat   RH302   certification RH302

NO.30 mke2fs -j /dev/hda? ¨¤ To create ext3 filesystem.

certification RedHat   RH302   certification RH302

C'est pas facile à passer le test Certification RedHat RH302, choisir une bonne formation est le premier bas de réussir, donc choisir une bonne resource des informations de test RedHat RH302 est l'assurance du succès. Pass4Test est une assurance comme ça. Une fois que vous choisissez le test RedHat RH302, vous allez passer le test RedHat RH302 avec succès, de plus, un an de service en ligne après vendre est gratuit pour vous.

Le matériel de formation de l'examen de meilleur RedHat RH033

Aujoud'hui, dans cette indutrie IT de plus en plus concurrentiel, le Certificat de RedHat RH033 peut bien prouver que vous avez une bonne concurrence et une space professionnelle plus grande à atteindre. Dans le site Pass4Test, vous pouvez trouver un outil de se former très pratique. Nos IT experts vous offrent les Q&As précises et détaillées pour faciliter votre cours de préparer le test RedHat RH033 qui vous amenera le succès du test RedHat RH033, au lieu de traivailler avec peine et sans résultat.

Vous choisissez l'aide de Pass4Test, Pass4Test fait tous effort à vous aider à réussir le test. De plus, la mise à jour de Q&A pendant un an est gratuite pour vous. Vous n'avez plus raison à hésiter. Pass4Test est une meilleure assurance pour le succès de test RedHat RH033. Ajoutez la Q&A au panier.

Dans cette société, il y a plein de gens talentueux, surtout les professionnels de l'informatique. Beaucoup de gens IT se battent dans ce domaine pour améliorer l'état de la carrière. Le test RH033 est lequel très important dans les tests de Certification RedHat. Pour être qualifié de RedHat, on doit obtenir le passport de test RedHat RH033.

Vous pouvez télécharger tout d'abord une partie de Q&A Certification RedHat RH033 pour tester si Pass4Test est vraiment professionnel. Nous pouvons vous aider à réussir 100% le test RedHat RH033. Si malheureusement, vous ratez le test, votre argent sera 100% rendu.

Code d'Examen: RH033
Nom d'Examen: RedHat (Red Hat Linux Essentials)
Questions et réponses: 153 Q&As

L'équipe de Pass4Test autorisée offre sans arrêt les bonnes resources aux candidats de test Certification RedHat RH033. Les documentations particulièrement visée au test RedHat RH033 aide beaucoup de candidats. La Q&A de la version plus nouvelle est lancée maintenant. Vous pouvez télécharger le démo gratuit en Internet. Généralement, vous pouvez réussir le test 100% avec l'aide de Pass4Test, c'est un fait preuvé par les professionnels réputés IT. Ajoutez le produit au panier, vous êtes l'ensuite à réussir le test RedHat RH033.

Les experts de Pass4Test ont fait sortir un nouveau guide d'étude de Certification RedHat RH033, avec ce guide d'étude, réussir ce test a devenu une chose pas difficile. Pass4Test vous permet à réussir 100% le test RedHat RH033 à la première fois. Les questions et réponses vont apparaître dans le test réel. Pass4Test peut vous donner une Q&A plus complète une fois que vous choisissez nous. D'ailleurs, la mise à jour gratuite pendant un an est aussi disponible pour vous.

RH033 Démo gratuit à télécharger: http://www.pass4test.fr/RH033.html

NO.1 Which of the following commands will you run to do case-sensitive search for files named foobar.png?
A. locate -name foobar.png
B. find -iname foobar.png
C. grep-name foobar.png
D. find -name foobar.png
Answer: D

certification RedHat   RH033 examen   RH033   RH033

NO.2 You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. A printer
is configured on the network. You want to remove a file from a print queue. Which of the following
commands will you use to accomplish this?
A. LPR
B. LPQDEL
C. LPRM
D. LPQ
Answer: C

RedHat   RH033   RH033 examen   RH033 examen   RH033   RH033 examen

NO.3 You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.You
are working as a root user on Red Hat operating system. You are currently running a programnamed
My_program. You are getting some error messages while executing the program. Youwant to redirect
these error messages to a file named file2 rather than being displayed on the
screen.Which of the following tools should you use to accomplish the task?
A. My_program >> file2
B. My_program 2> file2
C. My_program 2>> file2
D. My_program > file2
Answer: B

RedHat   certification RH033   RH033   RH033   RH033

NO.4 You work as the Network Administrator for Perfect solutions Inc. The company has a Linux-based
Network. You are working as a root user. You want to know what the day will be on 20 July 2010. Which of
the following commands should you use to accomplish this task?
A. cal
B. cal 20 July
C. cal 7 2010
D. date
Answer: C

certification RedHat   certification RH033   RH033 examen

NO.5 Fill in the blank with the appropriate tool. __________ is a public domain collection of tools to allow
Unix systems to manipulate MS-DOS files: read, write, and move around files on an MSDOS file system.
A. mtools
Answer: A

RedHat examen   certification RH033   RH033   RH033

NO.6 You want to temporarily change your primary group to another group of which you are a member. In this
process, a new shell will be created, and when you exit the shell, your previous group will be reinstated.
Which of the following commands will you use to accomplish this task?
A. chmod
B. newgrp
C. chgrp
D. chown
Answer: B

RedHat   RH033   RH033   RH033 examen

NO.7 Mark is a newly appointed Network Technician for McNeil Inc. The company has a Linux-based
network. He is working on the Red Hat operating system. He wants to sort a file named marketing.txt in
the reverse alphabetical order. Which of the following commands should Mark use to accomplish this
task?
A. sort -u marketing.txt
B. sort marketing.txt
C. sort -n marketing.txt
D. sort -r marketing.txt
Answer: D

RedHat examen   RH033   RH033

NO.8 Which of the following options is used with aspell to specify the location of the main word list?
A. d,--master=string
B. -p,--personal=file
C. --jargon=string
D. --dict-dir=dir
Answer: D

RedHat   RH033   RH033 examen   RH033   RH033

NO.9 Which of the following commands is used to access Windows resources from Linux workstation?
A. rsync
B. mutt
C. scp
D. smbclient
Answer: D

certification RedHat   certification RH033   RH033 examen

NO.10 Which of the following key-combinations is used to redo a change undone by a u command in vim?
A. Ctrl-w, Arrow
B. Ctrl-w, s
C. Ctrl-r
D. Ctrl-w, v
Answer: C

RedHat   certification RH033   RH033   certification RH033   RH033 examen   RH033

NO.11 You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. David, a
Sales Manager, wants to know the name of the shell that he is currently using. Which of the following
commands will he use to accomplish the task?
A. ECHO $shell
B. RM $shell
C. MV $shell
D. LS $shell
Answer: A

certification RedHat   RH033   RH033   RH033 examen   RH033 examen

NO.12 Which of the following commands will you use to list all local and remote printers attached to your
computer?
A. lpq
B. lpstat -d
C. lpstat -t
D. lpr
Answer: C

RedHat   certification RH033   RH033   RH033   certification RH033

NO.13 You are a newly appointed Red Hat Technician for company Inc. The company has a Linux-based
network. You want to install a package named httpd on your Linux system. Before installing the package,
you want to get the list of those packages that httpd depends on. Which of the following commands will
you use to accomplish the task?
A. rpm deplist httpd
B. yum deplist httpd
C. yum list httpd
D. rpm -qR httpd
Answer: B

RedHat examen   RH033   RH033 examen   certification RH033   certification RH033   RH033

NO.14 Which of the following commands copies files between hosts on a network and uses the same
authentication as ssh, and will ask for passwords or passphrases if they are needed for authentication?
A. scp
B. rcp
C. cp
D. mv
Answer: A

RedHat   RH033   RH033 examen   RH033   RH033

NO.15 Which ftp client command allows you to upload multiple files simultaneously using the "*" wildcard?
A. mput
B. mget
C. put
D. get
Answer: A

RedHat   certification RH033   certification RH033   RH033 examen   RH033   RH033 examen

NO.16 Which of the following commands is used to securely copy files from one host to another over the
network?
A. ls
B. cat
C. mutt
D. scp
Answer: D

RedHat   RH033   RH033   RH033 examen

NO.17 John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based
network. John is working as a root user on the Linux operating system. He wants to break a dat a.txt file,
200MB in size, into two files in which the size of the first file named data.txt.aa should be150MB and that
of the second file named data.txt.ab should be 50MB. To accomplish his task and to further delete the
data.txt file, he enters the following command: split --verbose -b 150m data.txt data.txt. ; rm -vf data.txt
Which of the following commands can John use to join the splitted files into a new data.txt file?
A. vi data.txt.*
B. less data.txt.* > data.txt
C. cat data.txt.* > data.txt
D. vi data.txt.* > data.txt
Answer: C

RedHat   RH033   RH033 examen

NO.18 You work as the Network technician for McNeil Inc. The company has a Linux-based Network. You are
working on the Red Hat operating system. You want to remove some write protected files and directories.
Which of the following commands should you use to accomplish this task?
A. rm -rf
B. rm -f
C. rmdir
D. rm
Answer: A

RedHat   RH033   RH033   RH033

NO.19 Fill in the blank with the required permission to complete the statement below. In order to make a script
executable in a Linux computer, you must assign the___________ permission to the script file.
A. execute
Answer: A

RedHat   RH033   RH033

NO.20 Which of the following text editing tools can be used to edit text files without having to open them?
A. less
B. sed
C. vi
D. more
Answer: B

RedHat   certification RH033   RH033

Pass4Test est un site d'offrir l'outil de formation convenable pour les candidats de test Certification IT. Le produit de Pass4Test peut aider les candidats à économiser les temps et les efforts. L'outil de formation est bien proche que test réel. Vous allez réussir le test 100% avec l'aide de test simulation de Pass4Test. C'est une bonne affaire à prendre le Certificat IT en coûtant un peu d'argent. N'hésitez plus d'ajouter l'outil de formation au panier.

2013年12月3日星期二

RedHat EX200 examen pratique questions et réponses

Pass4Test est un fournisseur de formation pour une courte terme, et Pass4Test peut vous assurer le succès de test RedHat EX200. Si malheureusement, vous échouez le test, votre argent sera tout rendu. Vous pouvez télécharger le démo gratuit avant de choisir Pass4Test. Au moment là, vous serez confiant sur Pass4Test.

C'est sûr que le Certificat RedHat EX200 puisse améliorer le lendemain de votre carrière. Parce que si vous pouvez passer le test RedHat EX200, c'est une meilleure preuve de vos connaissances professionnelles et de votre bonne capacité à être qualifié d'un bon boulot. Le Certificat RedHat EX200 peut bien tester la professionnalité de IT.

Code d'Examen: EX200
Nom d'Examen: RedHat (Red Hat Certified System Administrator - RHCSA)
Questions et réponses: 24 Q&As

Aujoud'hui, dans cette indutrie IT de plus en plus concurrentiel, le Certificat de RedHat EX200 peut bien prouver que vous avez une bonne concurrence et une space professionnelle plus grande à atteindre. Dans le site Pass4Test, vous pouvez trouver un outil de se former très pratique. Nos IT experts vous offrent les Q&As précises et détaillées pour faciliter votre cours de préparer le test RedHat EX200 qui vous amenera le succès du test RedHat EX200, au lieu de traivailler avec peine et sans résultat.

Le produit de Pass4Test que vous choisissez vous met le pied sur la première marche du pic de l'Industrie IT, et vous serez plus proche de votre rêve. Les matériaux offerts par Pass4Test peut non seulement vous aider à réussir le test RedHat EX200, mais encore vous aider à se renforcer les connaissances professionnelles. Le service de la mise à jour pendant un an est aussi gratuit pour vous.

Est-ce que vous vous souciez encore pour passer le test RedHat EX200? Pourquoi pas choisir la formation en Internet dans une société de l'informatique. Un bon choix de l'outil formation peut résoudre le problème de prendre grande quantité de connaissances demandées par le test RedHat EX200, et vous permet de préparer mieux avant le test. Les experts de Pass4Test travaillent avec tous efforts à produire une bonne Q&A ciblée au test RedHat EX200. La Q&A est un bon choix pour vous. Vous pouvez télécharger le démo grantuit tout d'abord en Internet.

Passer le test RedHat EX200, obtenir le Passport peut améliorer la perspective de votre carrière et vous apporter plus de chances à développer votre boulot. Pass4Test est un site très convenable pour les candidats de test Certification RedHat EX200. Ce site peut offrir les informations plus nouvelles et aussi provider les bonnes chances à se former davantage. Ce sont les points essentiels pour votre succès de test Certification RedHat EX200.

EX200 Démo gratuit à télécharger: http://www.pass4test.fr/EX200.html

NO.1 Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1
Answer:
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40
GATEWAY=172.24.40.1
DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
/etc/sysconfig/network
(Configure Host Name)

RedHat   EX200   certification EX200   EX200 examen

NO.2 Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user:
tom's login shell should be non-interactive.
Answer:
# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd
(Show the login shell)
OR
# system-config-users

RedHat   EX200   certification EX200   EX200 examen

Pass4Test vous permet à réussir le test Certification sans beaucoup d'argents et de temps dépensés. La Q&A RedHat EX200 est recherchée par Pass4Test selon les résumés de test réel auparavant, laquelle est bien liée avec le test réel.

2013年10月12日星期六

Dernières RedHat RH-302 de la pratique de l'examen questions et réponses téléchargement gratuit

Peut-être vous voyez les guides d'études similaires pour le test RedHat RH-302, mais nous avons la confiance que vous allez nous choisir finalement grâce à notre gravité d'état dans cette industrie et notre profession. Pass4Test se contribue à amérioler votre carrière. Vous saurez que vous êtes bien préparé à passer le test RedHat RH-302 lorsque vous choisissez la Q&A de Pass4Test. De plus, un an de service gratuit en ligne après vendre est aussi disponible pour vous.

But que Pass4Test n'offre que les produits de qualité est pour vous aider à réussir le test RedHat RH-302 100%. Le test simulation offert par Pass4Test est bien proche de test réel. Si vous ne pouvez pas passer le test RedHat RH-302, votre argent sera tout rendu.

Les produits de Pass4Test sont recherchés par les experts de Pass4Test qui se profitent de leurs connaissances et leurs expériences dans l'Idustrie IT. Si vous allez participer le test RedHat RH-302, vous devez choisir Pass4Test. La Q&A de Pass4Test peut vous aider à préparer mieux le test RedHat RH-302 avec sa grande couiverture des questions. En face d'un test très difficile, vous pouvez obtenir le Certificat RedHat RH-302 sans aucune doute.

Il demande les connaissances professionnelles pour passer le test RedHat RH-302. Si vous manquez encore ces connaissances, vous avez besoin de Pass4Test comme une resourece de ces connaissances essentielles pour le test. Pass4Test et ses experts peuvent vous aider à renfocer ces connaissances et vous offrir les Q&As. Pass4Test fais tous efforts à vous aider à se renforcer les connaissances professionnelles et à passer le test. Choisir le Pass4Test peut non seulement à obtenir le Certificat RedHat RH-302, et aussi vous offrir le service de la mise à jour gratuite pendant un an. Si malheureusement, vous ratez le test, votre argent sera 100% rendu.

Vous choisissez l'aide de Pass4Test, Pass4Test fait tous effort à vous aider à réussir le test. De plus, la mise à jour de Q&A pendant un an est gratuite pour vous. Vous n'avez plus raison à hésiter. Pass4Test est une meilleure assurance pour le succès de test RedHat RH-302. Ajoutez la Q&A au panier.

Vous aurez le service de la mise à jour gratuite pendant un an une fois que vous achetez le produit de Pass4Test. Vous pouvez recevoir les notes immédiatement à propos de aucun changement dans le test ou la nouvelle Q&A sortie. Pass4Test permet tous les clients à réussir le test RedHat RH-302 à la première fois.

Code d'Examen: RH-302
Nom d'Examen: RedHat (Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs))
Questions et réponses: 330 Q&As

Choisissez le Pass4Test, choisissez le succès. Le produit offert par Pass4Test vous permet à réussir le test RedHat RH-302. C'est necessaire de prendre un test simulation avant participer le test réel. C'est une façon bien effective. Choisir Pass4Test vous permet à réussir 100% le test.

RH-302 Démo gratuit à télécharger: http://www.pass4test.fr/RH-302.html

NO.1 Type the Size: +100M-> You can Specify either Last cylinder of Size here.

RedHat   RH-302 examen   RH-302

NO.2 Create the partition having 100MB size and mount it on /mnt/neo
Answer and Explanation:
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.

RedHat   RH-302 examen   RH-302

NO.3 Change the root Password to redtophat
Answer and Explanation:
1. Boot the system in Single user mode

RedHat   RH-302 examen   RH-302

NO.4 Use mkfs -t ext3 /dev/hda? Where ? is your partition number

RedHat   RH-302 examen   RH-302

NO.5 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.
Answer and Explanation:
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:
1. chkconfig servicename on or off
eg: chkconfig nfs on
chkconfig portmap on
or
ntsysv
Select the nfs and portmap services.
2. Reboot the system and identify whether services are running or not.

RedHat   RH-302 examen   RH-302

NO.6 Verify by mounting on current Sessions also:

RedHat   RH-302 examen   RH-302

NO.7 mkdir /mnt/neo

RedHat   RH-302 examen   RH-302

NO.8 Use the passwd command
2. Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is 172.24.254.254
Answer and Explanation:
#vi /etc/resolv.conf
nameserver 172.24.254.254
#dig server1.example.com
#host server1.example.com
DNS is the Domain Name System, which maintains a database that can help your computer translate
domain names such as www.Redhat.com to IP addresses such as 216.148.218.197. As no individual
DNS server is large enough to keep a database for the entire Internet, they can refer requests to other
DNS servers.
DNS is based on the named daemon, which is built on the BIND (Berkeley Internet Name Domain)
package developed through the Internet Software Consortium Users wants to access by name so DNS
will interpret the name into ip address. You need to specify the Address if DNS server in each and every
client machine. In Redhat Enterprise Linux, you need to specify the DNS server into /etc/resolv.conf file.
After Specifying the DNS server address, you can verify using host, dig and nslookup commands.

RedHat   RH-302 examen   RH-302

NO.9 /dev/hda? /mnt/neo ext3 defaults 1 2

RedHat   RH-302 examen   RH-302

NO.10 Set the Hostname station?.example.com where ? is your Host IP Address.
Answer and Explanation:
1. hostname station?.example.com This will set the host name only for current session. To set hostname
permanently.
2. vi /etc/sysconfig/network
HOSTNAME=station?.example.com
3. service network restart

RedHat   RH-302 examen   RH-302

NO.11 Press P to verify the partitions lists and remember the partitions name.

RedHat   RH-302 examen   RH-302

NO.12 mke2fs -j /dev/hda? To create ext3 filesystem.

RedHat   RH-302 examen   RH-302

NO.13 You are giving RHCT Exam and in your Exam paper there is a written, make successfully ping to
192.168.0.254.
Answer and Explanation:
In Network problem thinks to check:
1. IP Configuration: use ifconfig command either IP is assigned to interface or not?
2. Default Gateway is set or not?
3. Hostname is set or not?
4. Routing problem is there?
5. Device Driver Module is loaded or not?
6. Device is activated or not?
Check In this way:
1. use ifconfig command and identify which IP is assigned or not.
2. cat /etc/sysconfig/network What, What is written here. Actually here are these parameters.
NETWORKING=yes or no
GATEWAY=x.x.x.x
HOSTNAME=?
NISDOMAIN=?
- Correct the file
3. Use vi /etc/sysconfig/network-scirpts/ifcfg-eth0 and check the proper options
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=x.x.x.x
NETMAKS=x.x.x.x
GATEWAY=x.x.x.x
4. Use service network restart or start command

RedHat   RH-302 examen   RH-302

NO.14 Either Reboot or use partprobe command.

RedHat   RH-302 examen   RH-302

NO.15 Write:

RedHat   RH-302 examen   RH-302

NO.16 Press w to write on partitions table.

RedHat   RH-302 examen   RH-302

NO.17 Or

RedHat   RH-302 examen   RH-302

NO.18 mount /dev/hda? /mnt/neo
4. Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the
IP Forwarding.
Answer and Explanation:
1. echo "1" >/proc/sys/net/ipv4/ip_forward
2. vi /etc/sysctl.conf
net.ipv4.ip_forward=1
/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.
5. 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.
Answer and Explanation:
1. Verify the File whether Shared or not ? : cat /etc/exports
2. Start the nfs service: service nfs start
3. Start the portmap service: service portmap start
4. Make automatically start the nfs service on next reboot: chkconfig nfs on
5. Make automatically start the portmap service on next reboot: chkconfig portmap on
6. Verify either sharing or not: showmount -e localhost
7. Check that default firewall is running on system ? if running flush the iptables using iptables -F and stop
the iptables service.
6. neo user tried by:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
files created successfully. Again neo tried to create file having 70K using following command:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
But he is unable to create the file. Make the user can create the file less then 70K.
Answer and Explanation:
Very Tricky from redhat. Actually is giving scenario to you to implement quota to neo user. You should
apply the quota to neo user on /home that neo user shouldn't occupied space more than 70K.
1. vi /etc/fstab
LABEL=/home /home ext3 defaults,usrquota 0 0
To enable the quota on filesystem you should mount the filesystem with usrquota for user quota and
grpquota for group quota.
2. touch /home/aquota.user ->Creating blank quota database file.
3. mount -o remount /home-> Remounting the /home with updated mount options.
You can verify that /home is mounted with usrquota options or not using mount command.
4. quotacheck -u /home ->Initialization the quota on /home
5. edquota -u neo /home-> Quota Policy editor
See the snapshot
Disk quotas for user neo (uid 500):
Filesystem blocks soft hard inodes soft hard
/dev/mapper/vo-myvol 2 30 70 1 0 0
Can you set the hard limit 70 and soft limit as you think like 30.
Verify using the repquota /home command.
7. 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.
Answer and Explanation:
1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol
3. Make Available the size on online: resize2fs /dev/vo/myvol
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. 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.
8. Quota is implemented on /data but not working properly. Find out the Problem and implement the quota
to user1 to have a soft limit 60 inodes (files) and hard limit of 70 inodes (files).
Answer and Explanation:
Quotas are used to limit a user's or a group of users' ability to consume disk space. This prevents a small
group of users from monopolizing disk capacity and potentially interfering with other users or the entire
system. Disk quotas are commonly used by ISPs, by Web hosting companies, on FTP sites, and on
corporate file servers to ensure continued availability of their systems.
Without quotas, one or more users can upload files on an FTP server to the point of filling a filesystem.
Once the affected partition is full, other users are effectively denied upload access to the disk. This is also
a reason to mount different filesystem directories on different partitions. For example, if you only had
partitions for your root (/) directory and swap space, someone uploading to your computer could fill up all
of the space in your root directory (/). Without at least a little free space in the root directory (/), your
system could become unstable or even crash.
You have two ways to set quotas for users. You can limit users by inodes or by kilobytesized disk blocks.
Every Linux file requires an inode. Therefore, you can limit users by the number of files or by absolute
space. You can set up different quotas for different filesystems. For example, you can set different quotas
for users on the /home and /tmp directories if they are mounted on their own partitions.
Limits on disk blocks restrict the amount of disk space available to a user on your system.
Older versions of Red Hat Linux included LinuxConf, which included a graphical tool to configure quotas.
As of this writing, Red Hat no longer has a graphical quota configuration tool. Today, you can configure
quotas on RHEL only through the command line interface.
1. vi /etc/fstab /dev/hda11 /data ext3 defaults,usrquota 1 2
2. Either Reboot the System or remount the partition.
Mount -o remount /dev/hda11 /data
3. touch /data/aquota.user
4. quotacheck -ufm /data
5. quotaon -u /data
6. edquota -u user1 /data and Specified the Soft limit and hard limit on opened file.
To verify either quota is working or not:
Soft limit specify the limit to generate warnings to users and hard limit can't cross by the user. Use the
quota command or repquota command to monitor the quota information.
9. 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.
Answer and Explanation:
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 equalRH302 sized 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.
1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
2. Verify the Size on mounted directory: df -h or df -h mounted directory name
3. Use : lvextend -L+400M /dev/vg0/lv1
4. resize2fs /dev/vg0/lv1 to bring extended size online.
5. Again Verify using lvdisplay and df -h command.
10. Create one partitions having size 100MB and mount it on /data.
Answer and Explanation:
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.
10. vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
11. Verify by mounting on current Sessions also:
mount /dev/hda? /data
11. You are new System Administrator and from now you are going to handle the system and your main
task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root
password to redhat and login in default Runlevel.
Answer and Explanation:
When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't know the root's
password. To change the root password you need to boot the system into single user mode. You can pass
the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode
ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d
12. There are more then 400 Computers in your Office. You are appointed as a System Administrator. But
you don't have Router. So, you are going to use your One Linux Server as a Router. How will you enable
IP packets forward?
Answer and Explanation:
1. /proc is the virtual filesystem, we use /proc to modify the kernel parameters at running time.
# echo "1" >/proc/sys/net/ipv4/ip_forward
2. /etc/sysctl.conf when System Reboot on next time, /etc/rc.d/rc.sysinit scripts reads the file
/etc/sysctl.conf.-> To enable the IP forwarding on next reboot also you need to set the parameter.
net.ipv4.ip_forward=1
Here 0 means disable, 1 means enable.
13. You Completely Install the Redhat Enterprise Linux 5 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.
Answer and Explanation:
Think while Problems occurred on booting System on Runlevel 5 (X Window)
1. /tmp is full or not
2. Quota is already reached
3. Video card or resolution or monitor is misconfigured.
4. xfs service is running or not.
Do These:
1. df -h /tmp /tmp is full remove the unnecessary file
2. quota username if quota is already reached remove unnecessary file from home directory.
3. Boot the System in runlevel 3. you can pass the Kernel Argument from boot loader.
4. Use command: system-config-display It will display a dialog to configure the monitor, Video card,
resolution etc.
5. Set the Default Runlevel 5 in /etc/inittab
id:5:initdefault:
6. Reboot the System you will get the GUI login Screen.
14. There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in
192.168.0.0/24 Network. One RHEL 5 Installed System is going to use as a Router. All required
configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address
are assigned on that Server. How will make successfully ping to 192.168.1.0/24 Network's Host?
Answer and Explanation:
1. vi /etc/sysconfig/network
GATEWAY=192.168.0.254
OR
vi /etc/sysconf/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.?
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
2. service network restart
Explanation: Gateway defines the way to exit the packets. According to System working as a router for
two networks have IP Address 192.168.0.254 and 192.168.1.254.
To get the hosts on 192.168.1.0/24 should go through 192.168.0.254.
15. Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Answer and Explanation:
1. Use fdisk /dev/hda ->To create new partition.
2. Type n-> For New partition
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. Default System ID is 83 that
means Linux Native.
7. Type t to change the System ID of partition.
8. Type Partition Number
9. Type 82 that means Linux Swap.
10. Press w to write on partitions table.
11. Either Reboot or use partprobe command.
12. mkswap /dev/hda? ->To create Swap File system on partition.
13. swapon /dev/hda? ->To enable the Swap space from partition.
14. free -m ->Verify Either Swap is enabled or not.
15. vi /etc/fstab
/dev/hda? swap swap defaults 0 0
16. Reboot the System and verify that swap is automatically enabled or not.
16. You are a System administrator. Using Log files very easy to monitor the system.
Now there are 50 servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs
from all servers into on LOG Server. How will you configure the LOG Server to accept logs from remote
host ?
Answer and Explanation:
By Default system accept the logs only generated from local host. To accept the Log from other host
configure:
1. vi /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-m 0 -r"
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages recieved with -r
2. service syslog restart
17. You are giving the debug RHCT exam. The examiner told you that the password of root is redhat.
When you tried to login displays the error message and redisplayed the login screen. You changed the
root password, again unable to login as a root.
How will you make Successfully Login as a root.
Answer and Explanation:
When root unable to login into the system think:
1. Is password correct?
2. Is account expired?
3. Is terminal Blocked?
Do these Steps:
. Boot the System on Single user mode.
. Change the password
. Check the account expire date by using chage -l root command.
If account is expired, set net expire date: chage -E "NEVER" root
1. Check the file /etc/securetty Which file blocked to root login from certain terminal.
2. If terminal is deleted or commented write new or uncomment.
3. Reboot the system and login as a root.

RedHat   RH-302 examen   RH-302

NO.19 vi /etc/fstab

RedHat   RH-302 examen   RH-302

NO.20 It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.

RedHat   RH-302 examen   RH-302

L'équipe de Pass4Test autorisée offre sans arrêt les bonnes resources aux candidats de test Certification RedHat RH-302. Les documentations particulièrement visée au test RedHat RH-302 aide beaucoup de candidats. La Q&A de la version plus nouvelle est lancée maintenant. Vous pouvez télécharger le démo gratuit en Internet. Généralement, vous pouvez réussir le test 100% avec l'aide de Pass4Test, c'est un fait preuvé par les professionnels réputés IT. Ajoutez le produit au panier, vous êtes l'ensuite à réussir le test RedHat RH-302.

2013年9月11日星期三

Pass4Test offre une formation sur RedHat RH302 matériaux examen

C'est sûr que le Certificat RedHat RH302 puisse améliorer le lendemain de votre carrière. Parce que si vous pouvez passer le test RedHat RH302, c'est une meilleure preuve de vos connaissances professionnelles et de votre bonne capacité à être qualifié d'un bon boulot. Le Certificat RedHat RH302 peut bien tester la professionnalité de IT.

L'équipe de Pass4Test rehcerche la Q&A de test certification RedHat RH302 en visant le test RedHat RH302. Cet outil de formation peut vous aider à se préparer bien dans une courte terme. Vous vous renforcerez les connaissances de base et même prendrez tous essences de test Certification. Pass4Test vous assure à réussir le test RedHat RH302 sans aucune doute.

Pass4Test a capacité d'économiser vos temps et de vous faire plus confiant à réussir le test. Vous pouvez télécharger le démo RedHat RH302 gratuit à connaître mieux la bonne fiabilité de Pass4Test. Nous nous font toujours confiant sur nos produits, et vous aussi dans un temps proche. La réussite de test RedHat RH302 n'est pas loin de vous une fois que vous choisissez le produit de Pass4Test. C'est un choix élégant pour vous faciliter à réussir le test RedHat RH302.

Pass4Test est un site web qui vous donne plus de chances à passer le test de Certification RedHat RH302. Le résultat de recherche sortis par les experts de Pass4Test peut assurer que ce sera vous ensuite qui réussirez le test RedHat RH302. Choisissez Pass4Test, choisissez le succès. L'outil de se former de Pass4Test est bien efficace. Parmi les gens qui ont déjà passé le test, la majorité a préparé le test avec la Q&A de Pass4Test.

Code d'Examen: RH302
Nom d'Examen: RedHat (Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs))
Questions et réponses: 330 Q&As

Dans cette société de l'information technologies, c'est bien populaire que l'on prenne la formation en Internet, Pass4Test est l'un des sites d'offrir la formation particulère pour le test RedHat RH302. Pass4Test a une expérience riche pour répondre les demandes des candidats.

Pass4Test vous offre un choix meilleur pour faire votre préparation de test RedHat RH302 plus éfficace. Si vous voulez réussir le test plus tôt, il ne faut que ajouter la Q&A de RedHat RH302 à votre cahier. Pass4Test serait votre guide pendant la préparation et vous permet à réussir le test RedHat RH302 sans aucun doute. Vous pouvez obtenir le Certificat comme vous voulez.

RH302 Démo gratuit à télécharger: http://www.pass4test.fr/RH302.html

NO.1 mkdir /mnt/neo

RedHat   RH302   certification RH302   RH302   certification RH302

NO.2 CORRECT TEXT
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size
of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing
any data. The size of logical volume 200MB to 210MB will be acceptable.
Answer and Explanation:
1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Make sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
3. Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
4. It is now possible to reduce the logical volume.
#lvreduce /dev/vo/myvol -L 200M
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. Verify that the size comes in online or not: df -h

RedHat   RH302   certification RH302   RH302   certification RH302

NO.3 It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.4 CORRECT TEXT
Make Successfully Resolve to server1.example.com where DNS Server is 192.168.0.254.
Answer and Explanation: 1. vi /etc/resolv.conf
Write : nameserver 192.168.0.254

RedHat   RH302   certification RH302   RH302   certification RH302

NO.5 mount /dev/hda? /mnt/neo
4 CORRECT TEXT
Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP
Forwarding.
Answer and Explanation:
1. echo "1" >/proc/sys/net/ipv4/ip_forward
2. vi /etc/sysctl.conf
net.ipv4.ip_forward=1
/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.
5.CORRECT TEXT
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.
Answer and Explanation:
1. Verify the File whether Shared or not ? : cat /etc/exports
2. Start the nfs service: service nfs start
3. Start the portmap service: service portmap start
4. Make automatically start the nfs service on next reboot: chkconfig nfs on
5. Make automatically start the portmap service on next reboot: chkconfig portmap on
6. Verify either sharing or not: showmount -e localhost
7. Check that default firewall is running on system ? if running flush the iptables using iptables -F and stop
the iptables service.
6.CORRECT TEXT
neo user tried by:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
files created successfully. Again neo tried to create file having 70K using following command:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
But he is unable to create the file. Make the user can create the file less then 70K.
Answer and Explanation:
Very Tricky question from redhat. Actually question is giving scenario to you to implement quota toneo
user. You should apply the quota to neo user on /home that neo user shouldn't occupied space more than
70K.
1. vi /etc/fstab
LABEL=/home /home ext3 defaults,usrquota 0 0 ¨¤ To enable th
quota on filesystem you should mount
the filesystem with usrquota for user quota and grpquota for group quota.
2. touch /home/aquota.user ¨¤Creating blank quota database file.
3. mount -o remount /home ¨¤ Remounting the /home with updated mount options. ou can verify that
/home is mounted with usrquota options or not using mount command.
4. quotacheck -u /home ¨¤ Initialization the quota on /home
5. edquota -u neo /home ¨¤ Quota Policy editor
See the snapshot
Disk quotas for user neo (uid 500):
Filesystem blocks soft hard inodes soft hard
/dev/mapper/vo-myvol 2 30 70 1 0 0
Can you set the hard limit 70 and soft limit as you think like 30.
Verify using the repquota /home command.
7.CORRECT TEXT
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.
Answer and Explanation:
1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol
3. Make Available the size on online: resize2fs /dev/vo/myvol
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. 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.
8.CORRECT TEXT
Quota is implemented on /data but not working properly. Find out the
Problem and implement the quota to user1 to have a soft limit 60 inodes
(files) and hard limit of 70 inodes (files).
Answer and Explanation:
Quotas are used to limit a user's or a group of users' ability to consume disk space. This prevents a small
group of users from monopolizing disk capacity and potentially interfering with other users or the entire
system. Disk quotas are commonly used by ISPs, by Web hosting companies, on FTP sites, and on
corporate file servers to ensure continued availability of their systems.
Without quotas, one or more users can upload files on an FTP server to the point of filling a filesystem.
Once the affected partition is full, other users are effectively denied upload access to the disk. This is also
a reason to mount different filesystem directories on different partitions. For example, if you only had
partitions for your root (/) directory and swap space, someone uploading to your computer could fill up all
of the space in your root directory (/). Without at least a little free space in the root directory (/), your
system could become unstable or even crash.
You have two ways to set quotas for users. You can limit users by inodes or by kilobyte-sized disk blocks.
Every Linux file requires an inode. Therefore, you can limit users by the number of files or by absolute
space. You can set up different quotas for different filesystems. For example, you can set different quotas
for users on the /home and /tmp directories if they are mounted on their own partitions.
Limits on disk blocks restrict the amount of disk space available to a user on your system. Older versions
of Red Hat Linux included LinuxConf, which included a graphical tool to configure quotas.
As of this writing, Red Hat no longer has a graphical quota configuration tool. Today, you can configure
quotas on RHEL only through the command line interface.
1. vi /etc/fstab
/dev/hda11 /data ext3 defaults,usrquota 1 2
2. Either Reboot the System or remount the partition.
Mount -o remount /dev/hda11 /data
3. touch /data/aquota.user
4. quotacheck -ufm /data
5. quotaon -u /data
6. edquota -u user1 /data
and Specified the Soft limit and hard limit on opened file.
To verify either quota is working or not:
Soft limit specify the limit to generate warnings to users and hard limit can't cross by the user. Use the
quota command or repquota command to monitor the quota information.
9.CORRECT TEXT
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.
Answer and Explanation:
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 equal-sized 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.
1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
2. Verify the Size on mounted directory: df -h or df -h mounted directory name
3. Use : lvextend -L+400M /dev/vg0/lv1
4. resize2fs /dev/vg0/lv1 ¨¤ to bring extended size online.
5. Again Verify using lvdisplay and df -h command.
10.CORRECT TEXT
Create one partitions having size 100MB and mount it on /data.
Answer and Explanation:
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
10. vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
11. Verify by mounting on current Sessions also:
mount /dev/hda? /data
11 CORRECT TEXT
You are new System Administrator and from now you are going to handle the system and your
main task is Network monitoring, Backup and Restore. But you don't know the root password.
Change the root password to redhat and login in default Runlevel.
Answer and Explanation:
When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't know the
root's password. To change the root password you need to boot the system into single user mode.
You can pass the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode
ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d
12 CORRECT TEXT
There are more then 400 Computers in your Office. You are appointed as a System Administrator.
But you don't have Router. So, you are going to use your One Linux Server as a Router. How will you
enable IP packets forward?
Answer and Explanation:
1. /proc is the virtual filesystem, we use /proc to modify the kernel parameters at running time.
# echo "1" >/proc/sys/net/ipv4/ip_forward
2. /etc/sysctl.conf ¨¤ when System Reboot on next time, etc/rc.d/rc.sysinit scripts reads the file
/etc/sysctl.conf. To enable the IP forwarding on next reboot also you need to set the parameter.
net.ipv4.ip_forward=1
Here 0 means disable, 1 means enable.
13.CORRECT TEXT
You Completely Install the Redhat Enterprise Linux 5 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.
Answer and Explanation:
Think while Problems occurred on booting System on Runlevel 5 (X Window)./tmp is full ornotQuota is
already reachedVideo 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 filequota username ¨¤ if quota is alread
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.
14 CORRECT TEXT
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in
192.168.0.0/24 Network. One RHEL 5 Installed System is going to use as a Router. All required
configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP
Address are assigned on that Server. How will make successfully ping to 192.168.1.0/24
Network's Host?
Answer and Explanation:
1. vi /etc/sysconfig/network
GATEWAY=192.168.0.254
OR
vi /etc/sysconf/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.?
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
2. service network restart
15 CORRECT TEXT
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Answer and Explanation:
1. Use fdisk /dev/hda ¨¤ To create new partition.
2. Type n ¨¤ For New partition
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. Default System ID is 83
that means Linux Native.
7. Type t to change the System ID of partition.
8. Type Partition Number
9. Type 82 that means Linux Swap.
10. Press w to write on partitions table.
11. Either Reboot or use partprobe command.
12. mkswap /dev/hda?¨¤ To create Swap File system on partition.
13. swapon /dev/hda?¨¤ To enable the Swap space from partition.
14. free -m ¨¤ Verify Either Swap is enabled or not.
15. vi /etc/fstab
/dev/hda? swap swap defaults 0 0
16. Reboot the System and verify that swap is automatically enabled or not.
16.CORRECT TEXT
You are a System administrator. Using Log files very easy to monitor the system. Now there are 50
servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from allservers
into on LOG Server. How will you configure the LOG Server to accept logs from remote host ?
Answer and Explanation:
By Default system accept the logs only generated from local host. To accept the Log from otherhost
configure:
1. vi /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-m 0 -r"
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages recieved with -r
2. service syslog restart
17 CORRECT TEXT
You are giving the debug RHCT exam. The examiner told you that the password of root is redhat.
When you tried to login displays the error message and redisplayed the login screen. You
changed the root password, again unable to login as a root. How will you make Successfully Login as a
root.
Answer and Explanation:
When root unable to login into the system think:
1. Is password correct?
2. Is account expired?
3. Is terminal Blocked?
Do these Steps:Boot the System on Single user mode.Change the passwordCheck the account expire
date by using chage -l root command.
If account is expired, set net expire date: chage -E "NEVER" root
1. Check the file /etc/securetty ¨¤ Which file blocked to root login from certain terminal
2. If terminal is deleted or commented write new or uncomment.
3. Reboot the system and login as a root.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.6 CORRECT TEXT
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to
192.168.0.254.
Answer and Explanation:
In Network problem thinks to check:
1. IP Configuration: use ifconfig command either IP is assigned to interface or not?
2. Default Gateway is set or not?
3. Hostname is set or not?
4. Routing problem is there?
5. Device Driver Module is loaded or not?
6. Device is activated or not?
Check In this way:
1. use ifconfig command and identify which IP is assigned or not.
2. cat /etc/sysconfig/network ¨¤ What, What is written here. Actually here are these parameters
NETWORKING=yes or no
GATEWAY=x.x.x.x
HOSTNAME=?
NISDOMAIN=?
-Correct the file
3. Use vi /etc/sysconfig/network-scirpts/ifcfg-eth0 and check the proper options
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=x.x.x.x
NETMAKS=x.x.x.x
GATEWAY=x.x.x.x
4. Use service network restart or start command

RedHat   RH302   certification RH302   RH302   certification RH302

NO.7 Type the Size: +100M ¨¤ You can Specify either Last cylinder of Size here.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.8 CORRECT TEXT
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16.
Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x Where x is your station
number.
Answer and Explanation:
1. vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=x.x.x.x
NETMASK=x.x.x.x
2. Enter the IP Address as given station number by your examiner: example: 172.24.0.1
3. Enter Subnet Mask
4. Enter Default Gateway and primary name server
5. press on ok
6. ifdown eth0
7. ifup eth0
8. verify using ifconfig
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway,
you can ping to 172.25.254.254.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.9 Either Reboot or use partprobe command.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.10 CORRECT TEXT
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging
192.168.1.0/24 Network's Host.
Answer and Explanation:
1. vi /etc/sysconfing/network
NETWORKING=yes
HOSTNAME=station?.example.com
GATEWAY=192.168.0.254
2. service network restart
Or
1. vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=X.X.X.X
NETMASK=X.X.X.X
GATEWAY=192.168.0.254
2. ifdown eth0
3. ifup eth0

RedHat   RH302   certification RH302   RH302   certification RH302

NO.11 CORRECT TEXT
Successfully resolv to server1.example.com where your DNS server is 172.24.254.254
Answer and Explanation:
1. vi /etc/resolv.conf
nameserver 172.24.254.254
2. host server1.example.com

RedHat   RH302   certification RH302   RH302   certification RH302

NO.12 CORRECT TEXT
Add a new logical partition having size 100MB and create the /data which will be the mount point for the
new partition.
Answer and Explanation:Use fdisk /dev/hda ¨¤ To create new parition.Type n ¨¤ For New
partitionsIt will ask for Logical or Primary Partitions. Press l for logical.It will ask for the Starting Cylinder:
Use the Default by pressing Enter Key.Type the Size: +100M ¨¤ You can Specify either Last cylinder of
Size here.Press P to verify the partitions lists and remember the partitions name.Press w to write on
partitions table.Either Reboot or use partprobe command.Use mkfs -t
ext3 /dev/hda?Ormke2fs -j /dev/hda? ¨¤ To create ext3 filesystem.vi /etc/fstabWrite:/dev/hda? /data
ext3 defaults 0 0Verify by mounting on current Sessions also:mount /dev/hda? /data

RedHat   RH302   certification RH302   RH302   certification RH302

NO.13 Verify by mounting on current Sessions also:

RedHat   RH302   certification RH302   RH302   certification RH302

NO.14 mke2fs -j /dev/hda? ¨¤ To create ext3 filesystem.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.15 /dev/hda? /mnt/neo ext3 defaults 1 2

RedHat   RH302   certification RH302   RH302   certification RH302

NO.16 CORRECT TEXT
Create the partition having 100MB size and mount it on /mnt/neo
Answer and Explanation:
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.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.17 Use mkfs -t ext3 /dev/hda? Where ? is your partition number

RedHat   RH302   certification RH302   RH302   certification RH302

NO.18 CORRECT TEXT
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.
Answer and Explanation:
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:
1. chkconfig servicename on or off
eg: chkconfig nfs on
chkconfig portmap on
or
ntsysv
Select the nfs and portmap services.
2. Reboot the system and identify whether services are running or not.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.19 Write:

RedHat   RH302   certification RH302   RH302   certification RH302

NO.20 CORRECT TEXT
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.
Answer and Explanation:
Very Easy question, nameserver is specified in question,
1. vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com

RedHat   RH302   certification RH302   RH302   certification RH302

NO.21 CORRECT TEXT
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your
FTP server is 192.168.0.254. Install the package zsh.
Answer and Explanation:
1. rpm -ivh ftp://server1/example.com/pub/updates/zsh-*
or
1. Login to ftp server : ftp ftp://server1.example.com using anonymous user.
2. Change the directory: cd pub and cd updates
3. Download the package: mget zsh-*
4. Quit from the ftp prompt : bye
5. Install the package
6. rpm -ivh zsh-*
7. Verify either package is installed or not : rpm -q zsh

RedHat   RH302   certification RH302   RH302   certification RH302

NO.22 vi /etc/fstab

RedHat   RH302   certification RH302   RH302   certification RH302

NO.23 CORRECT TEXT
Change the root Password to redtophat
Answer and Explanation:Boot the system in Single user modeUse the passwd command

RedHat   RH302   certification RH302   RH302   certification RH302

NO.24 CORRECT TEXT
Your system is giving error while booting on Runlevel 5 . Make successfully boot your system in
runlevel 5.
Answer and Explanation:
While you load the X Window System, you will get the problem. To troubleshoot follow the
following steps:
1. Check the /tmp is full ?
2. Check your quota, hard limit is already crossed ?
3. Check xfs service is running ?
4. Boot the system on runlevel 3 and execute the system-config-display command
5. Edit the /etc/inittab to set default runlevel 5.
id:5:initdefault:

RedHat   RH302   certification RH302   RH302   certification RH302

NO.25 Or

RedHat   RH302   certification RH302   RH302   certification RH302

NO.26 CORRECT TEXT
There is one partition /dev/hda14 mounted on /data. The owner of /data is root user and root group. And
Permission is full to owner user, read and execute to group member and no permission to others. Now
you should give the full permission to user user1 without changing pervious permission.
Answer and Explanation:
We know that every files/directories are owned by certain user and group. And Permissions are defines to
owner user, owner group and other.
-rwxr-x--- ¨¤Full permission to owner user, read and write to owner group and no permission to
others.
According to question: We should give the full permission to user user1 without changing the previous
permission.
ACL (Access Control List), in ext3 file system we can give permission to certain user and certain group
without changing previous permission. But that partition should mount using acl option.
Follow the stepsvi /etc/fstab
/dev/hda14 /data ext3 defaults,acl 0 1Either Reboot or use: mount -o remount /datasetfacl -m
u:user1:rwx /dataVerify using: getfacl /data

RedHat   RH302   certification RH302   RH302   certification RH302

NO.27 Press w to write on partitions table.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.28 Press P to verify the partitions lists and remember the partitions name.

RedHat   RH302   certification RH302   RH302   certification RH302

NO.29 CORRECT TEXT
Set the Hostname station?.example.com where ? is your Host IP Address.
Answer and Explanation:
1. hostname station?.example.com ¨¤ This will set the host name only for current session. To set
hostname permanently.
2. vi /etc/sysconfig/network
HOSTNAME=station?.example.com
3. service network restart

RedHat   RH302   certification RH302   RH302   certification RH302

NO.30 CORRECT TEXT
Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is
172.24.254.254
Answer and Explanation:
#vi /etc/resolv.conf
nameserver 172.24.254.254
# dig server1.example.com
#host server1.example.com
DNS is the Domain Name System, which maintains a database that can help your computer
translate domain names such as www.redhat.com to IP addresses such as 216.148.218.197. As
no individual DNS server is large enough to keep a database for the entire Internet, they can refer
requests to other DNS servers.
DNS is based on the named daemon, which is built on the BIND (Berkeley Internet Name Domain)
package developed through the Internet Software Consortium
Users wants to access by name so DNS will interpret the name into ip address. You need to specify the
Address if DNS server in each and every client machine. In Redhat Enterprise Linux, you need to specify
the DNS server into /etc/resolv.conf file.
After Specifying the DNS server address, you can verify using host, dig and nslookup commands.

RedHat   RH302   certification RH302   RH302   certification RH302

Vous pouvez comparer un peu les Q&As dans les autres sites web que lesquelles de Pass4Test, c'est pas difficile à trouver que la Q&A RedHat RH302 est plus complète. Vous pouvez télécharger le démo gratuit à prendre un essai de la qualité de Pass4Test. La raison de la grande couverture des questions et la haute qualité des réponses vient de l'expérience riche et la connaissances professionnelles des experts de Pass4Test. La nouvelle Q&A de RedHat RH302 lancée par l'équipe de Pass4Test sont bien populaire par les candidats.