Anda di halaman 1dari 13

1.

how to do Linux kickstart install


2. what is LVM in Linux
3. what is the latest version of RHEL
4. how to create filesystem in Linux
5. what is kernel
6. what is grub
7. how to go to Linux single user mode
8. how to mount a linux filesystem
9. how to delete a logical volume
10.
11.
12.
13.
14.
15.
16.
17.

Server build
how to trouble shot login issue.
trouble shoot server boot issue
If server hung at reboot what will you do how will you resolve
rpm install try to learn commands
how to do VTM patching
How to do server decommission
Linux BIOS update

Day to day activity :


1. server build
2. trouble shot login issue
3. trouble shoot server boot issue
4. server hung at reboot
5. rpm install
6. VTM patching
7. server DECOM
8. Linux BIOS updae============
Here is another setup of questions. Try to get all the answers from google
if you have any doubt pls let me know so I will ask for answer.
Please find the Linux interview question we used to ask and the BAU we do
here.
Linux boot up sequence
what is inode and its usage
Knowledge in LVM like increasing/decreasing file system.
Which utility used for log auto rotation Daemon that tracks the events in
linux system Network monitoring tools usages like traceroute, tcpdump
etc how to check the system performance in linux example high cpu, I/O,
memory etc..
Which file used for kernel tuning
different types of process states
How to recover a server which root password lost.
how to kick off the server
how to setup kdump/crash dump

how to check free memory in the linux machine diff between free memory
& freeable memory what are the commands used for file system errors
Raid concepts How to set quota for user/group in a file system.
What is and how yum in used
what umount -l does to a file system
BAU tasks in our team
login management thru KDC/LDAP
file system creation/management
SAN stack upgrade
Kernel patches/upgrades
rpm deployments
scheduling cron jobs
sftp setups

This question was asked me in most of the interview all are basic
questions ?
This question is more useful for freshers ?
if any one wants add question please reply to this mail ???

+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++
Boot Process?
1) Explain Boot Process?
2) what is MBR?
3) What do you mean by Magic Number ?
4) What is use of Magic Number ?
5) when Linux boot what comes into ram vmlinz or initrd?
6) How you will disable ctrl + Alt + Del ?
7) If any one press ctrl + Alt + Del then system get reboot after that any
one can change root password with single user mode
but i want even in single user mode password must be ask what eill step
you will take ?
8)what is diff between LILO and GRUB ?
9) what is Diff between EXT2 and EXT3 ?
10) How many partition are requried to install linux ?
11) How much size you will give to /boot parition ? Why?
12) How you will add swap partition after installation ?
13) How you will Disable all application deamon ?

14) In rc.sysinit how many FOR loops ? what is use of FOR loop ?
15) what is diffance between bashrc and .bashrc?
16) what is diffance between /etc/profile and /etc/profile.d/
17) what do you mean by UMASK ? what is for root and for user ? where it
is
defined ?
18) By defalut root UMASK is 022 can i change it ? if yes then up to what
value can i change ?

+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Useradd ?

19) explain useradd with all files ?


18) what is use of /etc/skel ?
19) How you will change home directory of user and shell of user at user
addition ?
20) can i give same uid for two user ? if yes then explain ?
21) where uid and gid set ?
22) How you can unable and disable password ?
23) I have added user and now i want to change the password of user
when in
giving password as 'x' it showning me warning message as
"password is too short" but when i am given passwd as "P@ssw0rd" it
accepted and not given any warnning then it must somewhere
is all word are stored where is that path ?
24) what is fstab ? how it work ? how many filed it has ?
25) what is diff between fstab and mtab?
26) i have added user now i want to add his cell phone number which
command
you will use? which file it will update?

+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Netwoking
27) How you will configred network card ?
28) How you will bind MAC address?
29) what do you mean by Bonding ? explain if i have two network card
and i

want to do Bonding between them?


30) what do you mean by TLS?
31) how you will define multipal IP to single network card

+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
LVM
32) Explain LVM ?
33) In LVM is it requird to format the patition ?
34) what is id of LVM partition ? what id of swap patition ?
35) if LVM is not ext3 patition is possible to run fask on it ? if yes then
explain the full command?
36) what is diff between LVM and RAID ?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
RAID
37) How many types of RAID ? Explain the concept ?
38) what is diffance between S/w RAID and H/W RAID ?
39) Explain installation Process of S/W and H/W RAID?
40) Is it possibal S/W and H/W RAID at same time ?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Squid
41) what is squid ? exaplain the concept ?
42) what is diff between is squid and DNS in case of cache ?
43) where squid store data ?
44) why in squid catche dir 16 directory ? why not more ttthen that ?
45) I want when accessing internet through proxy must ask authentication
is
it possible ? if yes then how ?
46) In squid how you will block site which contain word microsoft
47) In squid how you will block site which contain word microsoft except
mangagement user ?
48) squid port number ?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++++++
Backup

49) How you will take backup?


50) Explain me parameter of tar command Z,c,v,f,x
51) how can i look file in tar.gz without extacting ?
52) is possible to tar file which is allready tar ? if yes then how much
space it aquired ?
53) how you will take backup on every staturday ?
54) what is sticky bit ?
55) what is block level character ?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Find
56) what is diff between find and locate?
57) how you will find file which having readonly premission?
58) how you will remove file from /tmp on everyday 12 mid-night?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Crontab
59) Exaplain crontab ?
60) how you will deny sachin to set up cron jobs?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Apache
61) what is configration file of complied apache by default?
62) how you will enable ssl module in apache?
63) What is directory index ?
64) how i will allow my apache for authentication ?
65) why userdir module is used for ?
66) why CoreDump directive is used for ?
67) what is user level blocking in apache ? explain directive which is used
for it ?
68) what is url level blocking in apache ? exaplain directive which is used

for it ?
69) what is directory level blocking in apache ? exaplain directive which is
used for it ?
70) what is diff between ProxyPass and Redirect ?
71) how you will do catching in apache?
72) if you are able to do catching in apache then why to use squid ?
73) Explain how web page get resolved ?
74) what is apache benchmarking ?
75) what is MPM ? Explain each one?
76) what is use of MPM?
77) how public key and private key work ?
78) what apache way to start apache
79) apache port number ? uid ? gid? user name ? group name?
80) by default complied apache run in nobody:nodody then what is uid
and
gid of nobody
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Basic
81) what is port number of FTP while reciving data ?
82) how you will disable remote login for root?
83) I want to know which so is working with useradd command how we
come to
know ?
84) when user is login through console it giving error message as system
is
down ? but root is able to login why?
85) what is diff between sudo and su ?
86) what is diff between su and su -?
87) when i type su - it ask me for password i don't want to give password
list all steps you will perform but it should login?
89) how you will use linux as router ?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Samba and NFS
90)
91)
92)
93)

what is diff between samba and NFS ?


how i will share home directory of 1000 user using samba?
is samba use any protocol ? if yes then which one
port number of NFS?

94) when NFS start how many services it start ? give port number ?
95) if NFS start some rpc services with port number then from where that
rpc
service gets port number is if from /etc/services ? if not then what is file
name ?
96) what is meaning of no_rootsqash?
97) how to refresh share in NFS?
98) how you will do blocking in NFS?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
DNS
99) Exaplain concept oF DNS ?
98) what is chroot enviromnet ?
99) What is BIND
100) what is RR record ?
101) what is ttl ?
102) at the end of ttl line there are some value and parameter are define
which are those parameter?
103) what is diffrance between example.com and www.example.com
104) what is use of MX ?
105) what is priority ?
106) how priority will works?
107) if i have same priority then What will happend?
108) how you will block facebook using DNS?
109) diff between cacheing nameserver and Authorative Nameserver
110) What do you mean by flat DNS ?
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Basic
111) what is TCP wrappers?
112) how mail works?
113) why TRAP command used for ?
114) where is kernal location
115) what is exantion of network card ?
116) diff between scp and rsync
117) how will you check user name except system user onlu user and
there
uids?
118) diff between imap amd pop
119) how will you check read and write capacity of HDD

120) how you will disable telnet at boot time not through command it with
maunal with file ?
121) what is standalone server ?
121) how Xinit based services works?
122) if i have two LAN card out of which one(eth1) is connected to the
DATABASE and i want to change the ip of eth0 list all step you will take?
123) what is diff between system virtulization and database virtulization ?
124) if in inittab i forgot to give runlevel and i save file the line like
"id::initdefalut" somthing like this
and if i reboot the system what will happen ?
125) port number of LDAP, MYSQL
126) how you will search only directory and exclude files e.g if i am in /
and do ll it give me alll file and directory i want to see only Directoy?

+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++

1. How to do Linux kickstart install


Ans - go to the kickstart server and build profile and boot from the image
created. You can also tell CDROM
2. What is LVM in Linux - LVM is volume manager that is used to create volumes and
administer filesystems.
Ans try to learn it from Google or books
3. what is the latest version of RHEL
Ans - RHEL 6.1
4. How to create filesystem in Luinux
Ans - mkfs -t ext3 /dev/mapper/<volume name>
5. what is kernel
Ans - kernel is used to boot the server and it is the interface between the OS
and the hardware.
6. What is grub
Ans - Grub has the kernel entry which reads when server boots up.
7. How to go to linux single user mode

Ans - In grub mode, edit the kernel line and add /s at the end and boot.
8. How to mount a linux filesystem
Ans - mount -t ext3 /dev/mapper/<volumename> /mnt
9. how to delete a logical volume
Ans - lvremove /dev/mapper/<volume name>
10. trouble shot login issue Ans : will check the authlog and contact to LDAP team
11. Trouble shoot server boot issue
Ans - Check grub and go to single user mode and reset root password and
boot from CDROM
12. Server hung at reboot
Ans - Try physical reboot of the server and insert CDROM to trouble shoot
further.
13. RPM install
Ans - Will get ticket from application team and install the rpm using rpm -ivh
command.
14. VTM patching- install the kernel using below command
Ans - yum install kernel\*
15. Linux boot up sequence
Ans Try to get it from Google.
16. What is inode and its usage
Ans: try to get it from Google.
17. Knowledge in LVM like increasing file system.
Ans - lvextend -L <size> -n volume vg
18. Which utility used for log auto rotation Daemon that tracks the events in linux
system Network monitoring tools
Ans - /etc/logrotate.conf file usages like

19. traceroute, tcpdump etc how to check the system performance in linux example
high cpu, I/O, memory - etc..
Ans Try to get it from Google.
20. Which file used for kernel tuning
Ans - /etc/sysctl.conf
21. Different types of process states
Ans - defunct, stale, active, dead
22. How to recover a server which root password lost.
Ans - boot from CDROM
23. how to setup kdump/crash dump
Ans - Beginning with Red Hat Enterprise Linux 5 and later, the kdump and kexec
mechanisms replace netdump and diskdump. This applies to all i386 and x86_64
platforms including physical servers and VMs. Kdump should be configured on all
production environments as well as any server where root cause determination will be
required in the event of a kernel panic http://ewiki/wiki/Kdump
24. how to check free memory in the linux machine diff between free memory &
freeable memory what are the commands used - free -tlmfor file system errors Raid

25. Concepts How to set quota for user/group in a file system.- setquota
26. What is and how yum in used
Ans - yum is used to install packages from yum repos
27. what umount -l does to a file system
Ans - unmount -l is used to unmount local filesystems.

BAU tasks in our team try to learn from Google and Redhat Linux book
Login management thru KDC/LDAP

File system creation/management


SAN stack upgrade
Kernel patches/upgrades
RPM deployments
Scheduling cron jobs
Sftp setups

English study
http://www.englishspeaking.org/using-would-like/
just prepared

try to read from the net be ready always.


linux boot process
permission of shadow file , how the passwd will get updated.
user default value file
how the user default profile taken.
how to assin primary and secondary group
what is stiky bit value ?
wht is GID ?
how will you put the script in startup
if /dev files deleted how will you rectify
SSH configuration, IP address, permit root login,
diff between ssh and telnet

how will you ristruct telnet for perticular user.


SSH allowusers and allow groups
how to risturuct a user from vsftp
LVM config. cofig file, online extent.
Network online reload
How to register RHEL in satelight server.
patch upgradation,
RPM and file
YUM repository
repository
raid configuration
NFS configuration and deamon
how to chek mounted fs
samba and recycle configuration
reset root passwd.
redhat cluster services and resorce manager.
discover scsi, how to check HBA card.
fine the LUN id,
detect the Hardware devices.
IP bonding, active active and active passive. mode 1 or 0
kernel tuning .. semaphore value for web servers.
how to check all the kernel parameters,
how to install a script make/ makeinstall/ remove.
hardlink and softlink and diffrent.
ext3/ext4 diff

GPFS filesystem and log explain


how to find the failled log and reset that.
system auth PAM module. retry login
disable shell login prompt.
check the HW info,
check the memory
how to chek the process load
how to kill the process..
zombi process ?

linux trouble shooting topics


LINUX

suriya ndher suriyavdm@gmail.com

3/1/12

to me
---------- Forwarded message ---------From: Sakthinesan Gothandapani <sakthinesan@gmail.com>
Date: Wed, Feb 29, 2012 at 7:50 PM
Subject: linux trouble shooting topics
To: suriy endher <suriyavdm@gmail.com>
FYI

1: System settings / parameters


2: Os trouble shooting
3: Performance tuning / performance analyse
4: If its linux Vm, then Vmware management ( modifying profile / adding disk so on )
5: Booting issues and resolution
6: toubleshooting with logs (* which logs for what kind of issue , ) / configuration files
so on

Anda mungkin juga menyukai