RHCE RHCT Exam questions : How to check kernel in RHEL4 ?
[root@ice ~]# file /sbin/init
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
A Blog dedicated to Redhat Exam Certification Preparation,Get answers to your Linux questions. one stop source for people seeking the RHCE Linux Certifications.
Posted by Ipod at 4:20 PM 0 comments
Posted by Ipod at 7:08 PM 0 comments
Create partition on RHEL :Redhat Enterprise Linux without reboot :
[root@ice ~]# fdisk /dev/sda
The number of cylinders for this disk is set to 2610.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1318 10482412+ 8e Linux LVM
/dev/sda3 1319 1579 2096482+ 82 Linux swap
Command (m for help): n
Command action
e extended
p primary partition (1-4)
e
Selected partition 4
First cylinder (1580-2610, default 1580):
Using default value 1580
Last cylinder or +size or +sizeM or +sizeK (1580-2610, default 2610):
Using default value 2610
Command (m for help): p
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1318 10482412+ 8e Linux LVM
/dev/sda3 1319 1579 2096482+ 82 Linux swap
/dev/sda4 1580 2610 8281507+ 5 Extended
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
Finally type partprobe to make parition change available to Redhat enterprise Linux (RHEL4) without reboot :
[root@ice ~]# partprobe /dev/sda
Posted by Ipod at 4:49 PM 0 comments
Posted by Ipod at 4:41 PM 0 comments
Posted by Ipod at 6:37 PM 0 comments
Mounting USB drive/USB floppy drive on RHEL4
USB drive /device on Redhat Enterprise Linux is recognized as scsi device /dev/sdx (where is x is
number of next available scsi disk... example if you have two scsi disk namely sda and sdb then usb floppy drive will be sdc1
#mount /dev/sdc1 /floppy
Posted by Ipod at 6:32 PM 0 comments
Posted by Ipod at 4:36 PM 0 comments
Posted by Ipod at 4:10 PM 0 comments
RHCE RHCT Practice questions of the Day !
Question:How you can check status of network interface ?
Answer : # ifconfig eth0
Posted by Ipod at 4:08 PM 1 comments
In 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 :
[root@firefox] /# ulimit -a
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes unlimited (1)
pipe size (512 bytes) 8
open files 1024
virtual memory (kbytes) 2105343
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) :
#ulimit -n 90000
To make changes permanent add soft and hard limits in /etc/security/limits.conf file :
* soft nofile 90000
* hard nofile 90000
Posted by Ipod at 6:10 PM 0 comments
Posted by Ipod at 3:49 PM 2 comments
For RHCT and RHCE exam questions, you should know about networking as it is required for these exams under Networking configuration :
Posted by Ipod at 4:21 PM 0 comments
Posted by Ipod at 3:40 PM 0 comments
Posted by Ipod at 4:07 PM 1 comments
Posted by Ipod at 3:18 AM 2 comments
Posted by Ipod at 5:57 PM 0 comments
How to enable telnet services on Redhat enterprise Linux :
# chkconfig telnet --list
#chkconfig telnet on
#chkconfig --level 35 telnet on
where 3 and 5 are run levels , so telnet will run when Linux is running in runlevel 3 and 5 only.
Posted by Ipod at 5:53 PM 0 comments
You shoud know how to change Redhat Linux system default run level for RHCE and RHCT exam preparation and questions :
1. edit /etc/inittab file and changerun level from level 5 (which is X or GUI mode ) to run level 3
# vi /etc/inittab
id:3:initdefault:
2. simply reboot the server and your default run level changes to level 3 which is text based linux session.
3.How to dynamically change the runlevel of Linux system without rebooting
Posted by Ipod at 5:42 PM 0 comments
About Passing RHCT and RHCE exam , both exams are Pass or non-Pass. Redhat Send results for pass or did not pass within 3 Business days.
How do you receive your RHCT/RHCE Certificate:
If you pass your RHCT and RHCE exams , you will receive certificate in form of PDF emailed to you.Redhat doesn't mail RHCT and RHCE certificate bia regular mail.
Posted by Ipod at 4:13 PM 0 comments
How to reboot or Shutdown Redhat linux :
REBOOT REDHAT LINUX :
#shutdown -r now
OR
# reboot
OR init 6
OR CTRL+ALT+DEL
Posted by Ipod at 6:02 PM 0 comments
© RedHAT Cert 2006-2007 copyright reserved SYSDigg | Digitalhat | Googlebook