tag:blogger.com,1999:blog-221658372024-03-07T01:08:28.120-08:00RHCE RHCT Linux Certification Exam Guide, sample questions,preparation,Tips and TricksA Blog dedicated to Redhat Exam Certification Preparation,Get answers to your Linux questions. one stop source for people seeking the RHCE Linux Certifications.Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.comBlogger63125tag:blogger.com,1999:blog-22165837.post-68865597444194895052007-12-24T18:46:00.000-08:002007-12-24T18:51:41.267-08:00Redhat Cert site updated with fresh lookDear Readers,<br /><br />Redhat cert site has been updated with new mint look and easier accessibility. Now you can search all posting using search on left side. Like if you are looking for RHCE and RHCT exam questions, just type keyword RHCE exam questions and all related posting will be displayed in results.<br /><br />Enjoy !Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com10tag:blogger.com,1999:blog-22165837.post-43730456714301207842007-12-14T15:20:00.001-08:002007-12-18T18:50:10.836-08:00RHCE fast Track Course with RHEL5 and RHCE Exam:<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN">Redhat has updated RHCE exam and replaced study and course material from RHEL4 with RHEL5. Redhat <a href="http://www.redhat.com/courses/rh300_rhce_rapid_track_course_and_rhce_exam/"><span style="color: blue;">RH300</span></a> rapid course covers study material for RHCT and RHCE exam plus hands on<span style=""> </span>exam on the 5<sup>th</sup> day.RH300 course is designed for experience UNIX and Linux administrators who needs training and want to appear for exam using RHEL5. If you are experienced Linux administrator you can take pre-asessment questionnaires provided by redhat to determine if you are ready to take RHCE exam. Now vmware offers free virtualization to run on windows called <b>vmware server</b> which allows you to run Linux as virtual os on your windows XP to help you preparing for RHCE/RHCT exam. There are some issues with running <a href="http://sysdigg.blogspot.com/2007/12/cannot-uninstall-vmware-workstation-55.html"><span style="color: blue;">vmware</span></a><span style=""> </span>on windows vista Check this out before installing vmware server on your pc running windows vista.<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN">Once you have vmware server (available <a href="http://www.vmware.com/download/server/"><span style="color: blue;">free from vmware</span></a>)<span style=""> </span>installed you can install Fedora or RHEL5 (redhat enterprise 5 ) :<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN"><a href="RH033%20Pre-assessment%20Questionnaire"><span style="color: blue;">RH033 exam pre-assessment for RHCT</span></a><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN"><a href="https://www.redhat.com/apps/training/assess/"><span style="color: blue;">RH133 exam pre-assessment for RHCT</span></a> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN"><a href="https://www.redhat.com/apps/training/assess/"><span style="color: blue;">RH253 exam pre-assessment for RHCE</span></a><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN">If you pass all these pre-assessment then you can directly go for RHCE exam, if you are doing good only for RH033 and RH133 then you should go for RHCT or need more preparation. For tips and tricks and some easy scoring keeping visiting <a href="http://redhatcert.blogspot.com/"><span style="color: blue;">redhat certification</span></a> help site.<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="color: rgb(67, 67, 67);" lang="EN"><o:p></o:p></span></p>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com7tag:blogger.com,1999:blog-22165837.post-3643415444928570752007-12-09T19:54:00.001-08:002007-12-09T19:54:46.094-08:00How to access virtual console in RHEL4/RHEL5?<span xmlns=''><p>RHCE RHCT Exam questions – How to access virtual console in RHEL4/RHEL 5 ?<br /></p><p>Five virtual are provided during installation process in Redhat enterprise Linux servers. Virtual console can't be accessed using ALT-function ket<br /></p><p>Combinations:<br /></p><p>ALT-F1 : to access installer in text mode (RHEL4/RHEL5)<br /></p><p>ALT-F2: to access bash shell (RHEL4/RHEL5)<br /></p><p>ALT-F3 to view log of installer messages (RHEL4/RHEL5)<br /></p><p>ALT-F4: to view log of kernel messages (RHEL4/RHEL5)<br /></p><p>ALT-F5 stdout of mke2fs and grub command (RHEL4/RHEL5)<br /></p><p>ALT-F7 : access installer in Graphical mode. (RHEL4/RHEL5)</p></span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-6637662511648522292007-11-28T15:09:00.000-08:002007-11-28T15:13:43.119-08:00RHCE RHCT Exam questions:Howto configure the network card in redhat enterprise LinuxRHCE RHCT Exam questions:Howto configure the network card in redhat enterprise 5 Linux :<br /><br />Question. I’ve installed Red Hat enterprise Linux 5 and now added one more LAN card (NIC). How do I configure the network card from the command line? I can see 2nd my network card detected while booting the IBM server.<br />Answer . Red hat Linux provides following tools to make changes to Network configuration such as add new card, assign IP address, change DNS server etc.<br /><br />(a) GUI tool (X Windows required) - system-config-network<br />(b) Command line text based GUI tool (No X Windows required) - system-config-network<br />(c)Edit configuration files stored in <strong>/etc/sysconfig/network-scripts/</strong> directory<br /><br />GUI can be launched using <span style="font-weight: bold;">system-config-network </span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com4tag:blogger.com,1999:blog-22165837.post-57702778239027056972007-11-26T13:17:00.001-08:002007-11-28T14:34:01.904-08:00RHCE RHCT Exam questions : How to load USB driver in LinuxQuestion: RHCE RHCT Exam questions : How to load USB driver in Linux ?<br />Answer : in Redhat Enterprise Linux servers (RHEL3/RHEL4/RHEL5) usb drivers can be loaded on fly using modprobe command :<br /><br />$modprobe usb-uhci<br /><br />$modprobe usb-ohci<br /><br />similarly modules can be removed or unloaded using "modprobe -r"<br /><br />also insmod can be used to add moduleIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-22930049776262813522007-11-26T13:10:00.000-08:002007-11-26T13:14:50.282-08:00RHCE RHCT Exam questions :RHCE RHCT Exam questions<br /><br />Question: How would you list loaded modules in Redhat Enterprise 3/4 Linux ?<br />Answer : lsmodIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com1tag:blogger.com,1999:blog-22165837.post-1751450460995776112007-11-22T12:39:00.001-08:002007-11-22T12:42:01.906-08:00RHCE RHCT Linux Certification Exam: How to check memory usagewhile Preparing for RHCE and RHCT exam certification one should know how to check memory utilization in redhat enterprise Linux. one useful command is free , you can get memory usage in megabytes and gigabytes :<br /><br /><p class="MsoNormal"><span style="font-family: "Courier New";">[root@ldev ~]# free -m<br /> total used free shared buffers cached<br />Mem: 992 975 16 0 137 628<br />-/+ buffers/cache: 210 781<br />Swap: 2047 0 2047<br /><o:p></o:p></span></p>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com1tag:blogger.com,1999:blog-22165837.post-1155785562962440292006-08-16T20:31:00.000-07:002006-08-16T20:32:42.990-07:00RHCE RHCT Linux Exam Enable vsftpd on RHEL4<div>Enable VSFTP on Redhat Enterprise Linux 4 update 3</div> <div> </div> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">To lock users in home dir:</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">Touch<span> </span>vsftpd.chroot_list<span> </span>; to create file of users that are allowed to ftp outside their home dirs <span> </span>add root to this file</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;"> </span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">Cd /etc/vsftpd</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">vi vsftpd.conf<span> </span></span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;"># You may specify an explicit list of local users to chroot() to their home</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;"># directory. If chroot_local_user is YES, then this list becomes a list of</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;"># users to NOT chroot().</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">chroot_list_enable=YES</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">chroot_local_user=YES</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;"># (default follows)</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">chroot_list_file=/etc/vsftpd<wbr>.chroot_list<span> </span>;<span> </span>add root to this file </span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">service vsftpd restart</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">To lock users in home dir:</span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family:Times New Roman;">Touch<span> </span>vsftpd.chroot_list<span> </span>; to create file of users that are allowed to ftp outside their home dirs <span> </span>add root to this file</span></p>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1152148848629551912006-07-05T18:13:00.000-07:002006-07-05T18:20:48.630-07:00RHCT RHCE Exam :RHEL4 NFS issues<h3>RHCT RHCE Exam :RHEL4 NFS issues :</h3><br />Many times you have NFS exported directories mounted on Linux server get hanged. Possible sided affects just find out on my test Redhat Linux server running RHEL4 AS update 3 <span style="font-weight: bold;">df</span> start hanging. Pretty annonying . Trouble part is how to get rid off hanging <span style="font-weight: bold;">df</span> issues and find outr why it's happening.<br /><br />NFS mounts are hanging simply because Server exporting NFS mount is offline or not on network. Again let's say you have 50 0r more mount point mounted on your NFS Linux client machine. You have to compare nfs mount showing in df comand output and nfs mount listed in <span style="font-weight: bold;">/etc/fstab. </span>once you find out what NFS mount is hanging you can simply go in <span style="font-weight: bold;">/etc/rmtab </span>file and remove that mount point.... and guess what you just resolved hanging nfs mount issue .Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com1tag:blogger.com,1999:blog-22165837.post-1147545133418439742006-05-13T11:31:00.000-07:002006-05-13T11:36:05.856-07:00RHCE RHCT Exam Question: How to stop/start network interface<h3>RHCE RHCT Exam Question: How to stop/start network ethernet interface:</h3><span style="font-size:85%;"><span style="font-family: trebuchet ms;">[root@ice ~]# ifdown eth0</span><br /> <span style="font-family: trebuchet ms;"></span><span style="font-family: trebuchet ms;"></span><br /><span style="font-family: trebuchet ms;">[root@ice ~]# ifconfig eth0</span><br /> <span style="font-family: trebuchet ms;">eth0 Link encap:Ethernet HWaddr 00:0C:29:2A:47:7F</span><br /> <span style="font-family: trebuchet ms;"> inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0</span><br /> <span style="font-family: trebuchet ms;"> BROADCAST MULTICAST MTU:1500 Metric:1</span><br /> <span style="font-family: trebuchet ms;"> RX packets:1899 errors:0 dropped:0 overruns:0 frame:0</span><br /> <span style="font-family: trebuchet ms;"> TX packets:833 errors:0 dropped:0 overruns:0 carrier:0</span><br /> <span style="font-family: trebuchet ms;"> collisions:0 txqueuelen:1000</span><br /> <span style="font-family: trebuchet ms;"> RX bytes:923925 (902.2 KiB) TX bytes:283867 (277.2 KiB)</span><br /> <span style="font-family: trebuchet ms;"> Interrupt:10 Base address:0x1400</span><br /> <br /> <span style="font-family: trebuchet ms;">[root@ice ~]# ifup eth0</span><br /> <br /> <span style="font-family: trebuchet ms;">Determining IP information for eth0... done.</span><br /> <span style="font-family: trebuchet ms;">[root@ice ~]# ifconfig eth0</span><br /> <span style="font-family: trebuchet ms;">eth0 Link encap:Ethernet HWaddr 00:0C:29:2A:47:7F</span><br /> <span style="font-family: trebuchet ms;"> inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0</span><br /> <span style="font-family: trebuchet ms;"> inet6 addr: fe80::20c:29ff:fe2a:477f/64 Scope:Link</span><br /> <span style="font-family: trebuchet ms;"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</span><br /> <span style="font-family: trebuchet ms;"> RX packets:1900 errors:0 dropped:0 overruns:0 frame:0</span><br /> <span style="font-family: trebuchet ms;"> TX packets:838 errors:0 dropped:0 overruns:0 carrier:0</span><br /> <span style="font-family: trebuchet ms;"> collisions:0 txqueuelen:1000</span><br /> <span style="font-family: trebuchet ms;"> RX bytes:924267 (902.6 KiB) TX bytes:284517 (277.8 KiB)</span><br /> <span style="font-family: trebuchet ms;"> Interrupt:10 Base address:0x1400</span><br /> <span style="font-family: trebuchet ms;"></span><br /></span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com1tag:blogger.com,1999:blog-22165837.post-1147543960363456542006-05-13T10:58:00.000-07:002006-05-13T11:27:43.646-07:00RHCE RHCT Exam:Create and Mount filesystem in redhat enterprise Linux<h3>RHCE RHCT Exam:Create and Mount filesystem in redhat enterprise Linux:</h3> <ul> <li><span style="font-family:verdana;"><span style="font-size:85%;">Redhat Enterprise 4 Linux you can use <span style="font-weight: bold;">fdisk -l </span>to list existing partitions on your system as a part of your Lab in <span style="font-weight: bold;">RH133 Course :</span></span></span></li> </ul> <span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">[root@ice ~]# fdisk -l /dev/sda<br /><br />Disk /dev/sda: 21.4 GB, 21474836480 bytes<br />255 heads, 63 sectors/track, 2610 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br /><br />Device Boot Start End Blocks Id System<br />/dev/sda1 * 1 13 104391 83 Linux<br />/dev/sda2 14 1318 10482412+ 8e Linux LVM<br />/dev/sda3 1319 1579 2096482+ 82 Linux swap<br />/dev/sda4 1580 2610 8281507+ 5 Extended<br /></span></span></span> <ul> <li><span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">Here we have unallocated extended partition . Remember you can have only 3 Primary partitions for a single disk in Redhat in our case we have SCSI disk /dev/sda where we have 3 primary partitions,with remaining unlloacted space you need to create Extended partition if you need to create more than 3 partitions . </span></span></span></li> </ul> <span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">#fdisk /dev/sda<br /></span></span></span> <ul> <li><span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">ON COMMAND TYPE n to create new partition , hit enter for start cylinder number and then on last cyliner i used +1024M you can use +1G as well , because i am going to create 1 GB filesystem :</span></span></span></li> </ul> <span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">Command (m for help): n<br />First cylinder (1580-2610, default 1580):<br />Using default value 1580<br />Last cylinder or +size or +sizeM or +sizeK (1580-2610, default 2610): +1024M<br />Command (m for help): w<br />The partition table has been altered!<br /><br />Calling ioctl() to re-read partition table.<br /><br />WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br />The kernel still uses the old table.<br />The new table will be used at the next reboot.<br />Syncing disks.<br /><br /><blockquote>Here is a catch that would be really stupid idea to reboot your Redhat enterprise Linux server to activate your partition table changes. I am sure Redhat will remove this warning in their upcoming redhat enterprise level 5 Linux version.Also you can save time in your RHCT/RHCE Certification Exam using partprobe. Note this how i am activating new partition table changes using PARTPROBE magic command. </blockquote><br /><br />[root@ice ~]# partprobe<br /><br />[root@ice ~]# fdisk -l /dev/sda<br /><br />Disk /dev/sda: 21.4 GB, 21474836480 bytes<br />255 heads, 63 sectors/track, 2610 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br /><br /> Device Boot Start End Blocks Id System<br />/dev/sda1 * 1 13 104391 83 Linux<br />/dev/sda2 14 1318 10482412+ 8e Linux LVM<br />/dev/sda3 1319 1579 2096482+ 82 Linux swap<br />/dev/sda4 1580 2610 8281507+ 5 Extended<br />/dev/sda5 1580 1704 1004031 83 Linux<br /><br /></span></span></span> <ul> <li><span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">Now I have to create a directory where i need to mount new +1 GB fileystem i am going to make ext3 filesystem .</span></span></span></li> </ul> <span style="font-family:verdana;"><span style="font-size:85%;"><span style="font-weight: bold;">#mkdir /home<br /><br />[root@ice ~]# mkfs -t ext3 /dev/sda5<br />[root@ice ~]# mount /dev/sda5 /home<br />[root@ice ~]# df -h /home<br />Filesystem Size Used Avail Use% Mounted on<br />/dev/sda5 966M 18M 899M 2% /home<br /><br />Here is your +1GB home filesystem (type is ext3) ready to use . you can add this in yout /etc/fstab file to make change permanent where it will mount /home automatically and persistent to server reboots.<br /><br /></span></span></span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1146188538596845012006-04-27T18:36:00.000-07:002006-04-27T18:43:19.353-07:00RHCE RHCT Exam: How to mount USB drive on RHEL4<h2>RHCE RHCT Exam: How to mount USB drive on Redhat enterprise Linux server (RHEL4) :</h2><br />Make Sure USB drive is connnected right to your Linux machine/server , i have plugged in USB thumb drive. Before connecting USB drive do a tail -f /var/log/messages , Redhat Linux sees USB drive as a SCSI device so device will be named as "sdxxx" :<br />[root@ice ~]# tail -f /var/log/messages<br />Apr 27 21:52:30 ice kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0<br />Apr 27 21:52:30 ice kernel: usbcore: registered new driver usb-storage<br />Apr 27 21:52:30 ice kernel: sdb: assuming drive cache: write through<br />Apr 27 21:52:30 ice kernel: sdb: sdb1<br /><br />#df -h<br />/dev/sdb1 124M 101M 24M 82% /media/usbdisk<br /><br />USB is mounted as /dev/sdb1Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1146014555562314802006-04-25T18:11:00.000-07:002006-04-25T18:22:35.573-07:00RHCE and RHCT exam:exporting NFS filesystems in RHEL4<h2>Exporting NFS filesystem in RHEL4 (Redhat enterprise Linux) servers:</h2> To export directory /home/export you need to add an entry in <span style="font-weight: bold;">/etc/exports :<br /><br />/home/export parmount.ice.com(rw,sync)<br /><br /></span>make sure there is space between mount options and hostname otherwise you will get permission error on redhat linux client.<span style="font-weight: bold;"><br /></span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com1tag:blogger.com,1999:blog-22165837.post-1146007267478978682006-04-25T16:16:00.000-07:002006-04-25T16:21:07.496-07:00RHCE and RHCT exam: max telnet session limit reached in RHEL4<h3>maximum telnet session limit reached in( RHEL4)Redhat Enterprise Linux :</h3><br /><span style=";font-family:sans-serif;font-size:85%;" >Quick Fix if you are getting maximum telnet service_limit reached messages in /var/log/secure logs in redhat enterprise Linux servers . Awesome you don't need to reboot your RHEL4 server unlike HP-UX serves :<br /><br />Getting error : xinetd [4092] :FAIL: telnet service_limit </span><br /><br /><span style=";font-family:sans-serif;font-size:85%;" >Just change session limit from 60 for instances to some large number </span><br /><br /><span style=";font-family:sans-serif;font-size:85%;" >#</span><br /><span style=";font-family:sans-serif;font-size:85%;" ># Simple configuration file for xinetd</span><br /><span style=";font-family:sans-serif;font-size:85%;" >#</span><br /><span style=";font-family:sans-serif;font-size:85%;" ># Some defaults, and include /etc/xinetd.d/</span><br /><span style=";font-family:sans-serif;font-size:85%;" >defaults</span><br /><span style=";font-family:sans-serif;font-size:85%;" >{</span><br /><span style=";font-family:sans-serif;font-size:85%;" > instances = 400</span><br /><span style=";font-family:sans-serif;font-size:85%;" > log_type = SYSLOG authpriv</span><br /><span style=";font-family:sans-serif;font-size:85%;" > log_on_success = HOST PID</span><br /><span style=";font-family:sans-serif;font-size:85%;" > log_on_failure = HOST</span><br /><span style=";font-family:sans-serif;font-size:85%;" > cps = 25 30</span><br /><span style=";font-family:sans-serif;font-size:85%;" >}</span><br /><br /><span style=";font-family:sans-serif;font-size:85%;" >service telnet2</span><br /><span style=";font-family:sans-serif;font-size:85%;" >{</span><br /><span style=";font-family:sans-serif;font-size:85%;" > flags = REUSE </span><br /><span style=";font-family:sans-serif;font-size:85%;" > socket_type = stream </span><br /><span style=";font-family:sans-serif;font-size:85%;" > wait = no</span><br /><span style=";font-family:sans-serif;font-size:85%;" > user = root</span><br /><span style=";font-family:sans-serif;font-size:85%;" > server = /usr/sbin/in.telnetd</span><br /><span style=";font-family:sans-serif;font-size:85%;" > log_on_failure += USERID</span><br /><span style=";font-family:sans-serif;font-size:85%;" > disable = no</span><br /><span style=";font-family:sans-serif;font-size:85%;" >}</span><br /><br /><span style=";font-family:sans-serif;font-size:85%;" >#[root@ice]# service xinetd reload </span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1145834484907903882006-04-23T16:20:00.000-07:002006-04-23T16:21:24.940-07:00RHCE RHCT Exam questions : How to check kernel in RHEL4<h3>RHCE RHCT Exam questions : How to check kernel in RHEL4 ?</h3><br /><br />[root@ice ~]# file /sbin/init<br />/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), strippedIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1145758201510935802006-04-22T19:08:00.000-07:002006-04-22T19:10:01.520-07:00RHCE and RHCT exam: Memory available on RHEL4<h3>How can you Check availale Memory on RHEL4 (Redhat Enterprise Linux servers) :</h3><br />[root@ice /]# grep Mem /proc/meminfo<br />MemTotal: 255972 kB<br />MemFree: 5896 kBIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1145750011242676332006-04-22T16:49:00.000-07:002006-04-22T16:53:31.243-07:00RHCE RHCT EXAM :create disk paritions without reboot in RHEL4Create partition on RHEL :Redhat Enterprise Linux without reboot :<br /><br />[root@ice ~]# fdisk /dev/sda<br /><br />The number of cylinders for this disk is set to 2610.<br />There is nothing wrong with that, but this is larger than 1024,<br />and could in certain setups cause problems with:<br />1) software that runs at boot time (e.g., old versions of LILO)<br />2) booting and partitioning software from other OSs<br /> (e.g., DOS FDISK, OS/2 FDISK)<br /><br />Command (m for help): p<br /><br />Disk /dev/sda: 21.4 GB, 21474836480 bytes<br />255 heads, 63 sectors/track, 2610 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br /><br /> Device Boot Start End Blocks Id System<br />/dev/sda1 * 1 13 104391 83 Linux<br />/dev/sda2 14 1318 10482412+ 8e Linux LVM<br />/dev/sda3 1319 1579 2096482+ 82 Linux swap<br /><br />Command (m for help): n<br />Command action<br /> e extended<br /> p primary partition (1-4)<br />e<br />Selected partition 4<br />First cylinder (1580-2610, default 1580):<br />Using default value 1580<br />Last cylinder or +size or +sizeM or +sizeK (1580-2610, default 2610):<br />Using default value 2610<br /><br />Command (m for help): p<br /><br />Disk /dev/sda: 21.4 GB, 21474836480 bytes<br />255 heads, 63 sectors/track, 2610 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br /><br /> Device Boot Start End Blocks Id System<br />/dev/sda1 * 1 13 104391 83 Linux<br />/dev/sda2 14 1318 10482412+ 8e Linux LVM<br />/dev/sda3 1319 1579 2096482+ 82 Linux swap<br />/dev/sda4 1580 2610 8281507+ 5 Extended<br />Command (m for help): w<br />The partition table has been altered!<br /><br />Calling ioctl() to re-read partition table.<br /><br />WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br />The kernel still uses the old table.<br />The new table will be used at the next reboot.<br />Syncing disks.<br /><br />Finally type partprobe to make parition change available to Redhat enterprise Linux (RHEL4) without reboot :<br /><br />[root@ice ~]# partprobe /dev/sdaIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1145749408338833572006-04-22T16:41:00.000-07:002006-04-22T16:43:28.346-07:00RHCE and RHCT exam questions<h2>For RHCT and RHCE exam questions, you should know How to check installed packages :</h2>For example to check whether you have firefox installed you can use rpm utility available on RedHat enterprise Linux :<br />[root@ice ~]# rpm -qa |grep firefox<br />firefox-1.0.7-1.4.3Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1145497241721808752006-04-19T18:37:00.000-07:002006-04-19T18:40:41.723-07:00RHCT RHCE Exam:DNS name resolution in RHEL4<h3>DNS name resolution in RHEL4 :</h3><br /><br />/etc/resolv.conf file is used for Domain name resolution (DNS name resolution) :<br />search rhceexam.linux.com<br />nameserver 192.168.100.1<br />nameserver 192.168.100.2Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1145497045121277902006-04-19T18:32:00.000-07:002006-04-19T18:37:25.133-07:00RHCT RHCE Exam:Mounting USB drive on RHEL 4Mounting USB drive/USB floppy drive on RHEL4<br /><br />USB drive /device on Redhat Enterprise Linux is recognized as scsi device /dev/sdx (where is x is<br />number of next available scsi disk... example if you have two scsi disk namely sda and sdb then usb floppy drive will be sdc1<br /><br />#mount /dev/sdc1 /floppyIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1144453043316733772006-04-07T16:36:00.000-07:002006-04-07T16:37:23.316-07:00RHCT RHCE Exam: practice prepration questions<h3>RHCT RHCE Exam: practice prepration questions :</h3><br />Question: Where do you look for changing boot loader sequence ?<br /><br />Answer: on RHEL4 ( redhat enterprise Linux 4 ) /boot/grub/grub.confIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1144365127759007312006-04-06T16:10:00.000-07:002006-04-07T16:35:56.890-07:00RHCT RHCE Exam: practice prepration questions<h3>RHCT RHCE Exam: practice prepration questions</h3>Question:What file do you edit to set the default runlevel? <br /><br />Answer: /etc/inittabIpodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1144364995663444412006-04-06T16:08:00.000-07:002006-04-06T16:09:55.676-07:00RHCT RHCE Exam: practice questionsRHCE RHCT Practice questions of the Day !<br /><br />Question:How you can check status of network interface ?<br /><br />Answer : # ifconfig eth0Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com1tag:blogger.com,1999:blog-22165837.post-1144199788873044172006-04-04T18:10:00.000-07:002006-05-24T18:36:47.946-07:00Number of open files per process in RHEL4 redhat LinuxIn RHEL4 (redhat hat enterprise Linux 4 AS ) running kernel 2.6 the number of open files per process is still limited to 1024. you can do ulimit -a to see number of open files per user :<br /><br /><span style="font-weight: bold;">[root@firefox] /# ulimit -a</span><br /> <br />core file size (blocks) 1000000<br />data seg size (kbytes) unlimited<br />file size (blocks) unlimited<br />max memory size (kbytes) unlimited<br />stack size (kbytes) 8192<br />cpu time (seconds) unlimited<br />max user processes unlimited (1)<br />pipe size (512 bytes) 8<br />open files 1024<br />virtual memory (kbytes) 2105343<br /><br /><br />To Increases the system limit on open files for instance a process on change the number of open files for Oracle , IB DB2 databases in redhat enterprise Linux (RHEL4) :<br /><br /><span style="font-weight: bold;">#ulimit -n 90000<br /><br /><span style="font-weight: bold;">To make changes permanent add soft and hard limits in /etc/security/limits.conf file :<br /><br />* soft nofile 90000<br />* hard nofile 90000<br /></span><br /></span>Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com0tag:blogger.com,1999:blog-22165837.post-1143935412183927322006-04-01T15:49:00.000-08:002006-04-01T15:50:12.206-08:00RHCE RHCT Exam: RHCE Certification Training<div style="text-align: left;">Red Hat RHCE certification training is experiencing a great demand within the IT industry.<br />In recent years, the RHCE certification has become a global standard for many successful IT companies,increasing the importance of having a RHCE Red Hat certification.If you are interested in passing the RHCE certification exam and the RHCE certification testing requirements to start earning that high paying RHCE certification salary you always wanted. Then you have to read redhatcert.blogspot.com where i am putting tips,quetions training books,site that will ensure you pass your Red Hat RHCE exams on your first try.<br />As i was able to pass my RHCT exam .you can use other free RHCE materials and free RHCE study guide resources,but only Redhatcert Blog delivers you the most accurate, current and updated tips for RHCE certification.<br /></div><br />Looking to become an RHCE Red Hat certified professional? Would you like to reduce or minimize your RHCE certification cost? Do you want to pass all of the RHCE certification tests? If you answered YES, then look no further. Keep reading this Blog and i have added seach on my Blog .I am trying to add best resource for RHCE certification training solutions that cover all core topics and RHCE certification requirements found in the RHCE certification test.Ipodhttp://www.blogger.com/profile/05817688121391777128noreply@blogger.com2