How To Access Virtual Console in RHEL4/RHEL5?
How To Access Virtual Console in RHEL4/RHEL5?
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.
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.
$modprobe usb-uhci
$modprobe usb-ohci
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.
RHCE RHCT Exam: How to mount USB drive on Redhat
enterprise Linux server (RHEL4) :
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" :
[root@ice ~]# tail -f /var/log/messages
Apr 27 21:52:30 ice kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Apr 27 21:52:30 ice kernel: usbcore: registered new driver usb-storage
Apr 27 21:52:30 ice kernel: sdb: assuming drive cache: write through
Apr 27 21:52:30 ice kernel: sdb: sdb1
#df -h
/dev/sdb1 124M 101M 24M 82% /media/usbdisk
How can you Check availale Memory on RHEL4 (Redhat Enterprise Linux
servers) :
Finally type partprobe to make parition change available to Redhat enterprise Linux
(RHEL4) without reboot :
For RHCT and RHCE exam questions, you should know How to
check installed packages :
For example to check whether you have firefox installed you can use rpm utility available on RedHat
enterprise Linux :
[root@ice ~]# rpm -qa |grep firefox
firefox-1.0.7-1.4.3
How to enable telnet services on Redhat enterprise Linux :
where 3 and 5 are run levels , so telnet will run when Linux is running in runlevel 3 and 5
only.
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.
For RHCE and RHCT exam you should know RHEL4 boot sequence as follows:
Bios Initialization
Loading Boot Loader phase
Kernel initialization
init startup which is first process to run in Linux during startup
Launching X or GUI if enabled
To create new Virtual machine for installing linux using VMware workstation:
Click Ctrl+N or select create new Virtual machine from File menu
Select Typical in Vmware Wizard
Under new machine virtual wizard select LINUX as guest operating system and version as
redhat enterprise Linux 4 or 1,2,3.
For Fedora select other as an option in VMWARE wizard:
You can choose location for to save configuration for virtual location , i used my documents:
Select "use bridged networking" in VMWARE wizard to provide guest os direct access to an
external network: