17 03 2014
Free Download Latest 2014 Pass4sure&Lead2pass Red Hat RHCE EX300 Exam Questions (26-30)
mavis | Redhat Dumps, RHCE EX300 Dumps
Question 26
Configure the kernel parameters: rhelblq=1, and it is requested that your kernel parameters can be verified through /proc/cmdline.
Answer:
# vim /boot/grub/grub.conf
rhelblq=1 (Add to end of the line “kernel….)
Restart
# cat /proc/cimline
Question 27
Configure cron and don’t allow the user tom to use.
Answer:
# useradd tom
# vim /etc/cron.deny
tom
Question 28
Write a script /root/program. The request is when input the kernel parameters for script, the script should return to user. When input the user parameters, the script should return to kernel. And when the script has no parameters or the parameters are wrong, the standard error output should be “usage:/root/program kernel|user”.
Answer:
# vim /root/program
# !/bin/bash
if [ $# -ne 1 ];then
echo “usage:/root/program kernel|user”
else
if [ “$1” -eq “kernel”];then
echo “user”
elif [“$1” -eq “user”];then
echo “kernel”
else
echo “usage:/root/program kernel|user”
fi
fi
Test:
# chmod a+x /root/program
.root/program kernel
./root/program user
./root/program lll
Question 29
You access the iscsi shared storage. The storage server ip is 172.24.30.100. Separate of 1500M space, format as ext3 file system, mount under /mnt/data, and make sure the root-start automatically mount.
Answer:
# yum install -y iscsi*
# chkconfig iscsid on
# iscsiadm -m discovery -t st -p 172.24.30.100
# iscsiadm -m node -T iqn.2011 -p 172.24.30.100 -l
# dmesg|tail
# fdisk /dev/sdb9
……
# mkfs.ext3 /dev/sdb9
# cd /mnt
# mkdir data
# blkid /dev/sdb1 (Check UUID number)
# vim /etc/fstab
UUID=xxxxxxxxxxxxxxxxxxxx /mnt/data ext3 _netdev,defaults 0 0
# mount -a
# mount
OR
# vim /dev/fstab
UUID=xxxxxxxxxxxxxxxxxxxx /mnt/data ext3 defaults 0 0
# chkconfig netfs2 on
Part 3
Question 30
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:
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
If you want to pass the Red Hat RHCE EX300 exam sucessfully, recommend to read latest Red Hat RHCE EX300 Dumps full version.
EX300 Download, EX300 Dumps, EX300 Exam Questions, EX300 PDF, EX300 Practice Exams, EX300 Practice Tests, EX300 VCE, Free EX300, Pass4sure EX300, Red Hat RHCE EX300