Professional Documents
Culture Documents
Rhce Study Notes:, Redhat Linux Flash Cards Stuff To Remember
Rhce Study Notes:, Redhat Linux Flash Cards Stuff To Remember
Stuff to remember:
system-!onfig-net,ork
Files
.et!.sys!onfig.net,ork-s!ri'ts.if!fg-eth/
.et!.sys!onfig.net,ork
Hostname Resolution
.et!.resol".!onf
.et!.hosts
0 1indo, System
.et!.0++.xinit.xinitr!.d
.et!.0++.xorg.!onf
.et!.inittab
system-!onfig-dis'lay
Ctrl-2lt-F+ to F3
Ctrl-2lt-)a!ks'a!e
Hard 4isk Commands
fdisk .de".hda
'art'robe
mke9fs - .de".md/
system-!onfig-'rinter
.et!.!u's.!u'sd.!onf
l'admin
l'stat, l'#
ree!t disable
a!!e't .usr.bin.enable
Cron and at :obs
system-!onfig-authenti!ation
y',hi!h
nisdomainname -y
genent ser"i!es
r'!info -'
N$S or L42& Files
.et!.y'.!onf
.et!.sys!onfig.net,ork
.et!.'am.d.system-auth
.et!.nss,it!h.!onf
Configure autofs
.et!.auto.master
.et!.auto.guests
A -r,,soft,intr ser"er+:.home.guests.B
!hk!onfig 'ortma' on
!hk!onfig autofs on
;anage Csers, and Drou's
useradd username
#uotaon .home
ed#uota username
#uota username
re'#uota .home
Filesystem &ermissions
ls -l .de'ts.
$nstall and C'date r'ms
?erify an R&;:
r'm -I .tm'.r'm"ersion.i637.r'm
$nstall from yum Re'ository
.et!.yum.!onf
.et!.yum.re'os.d.
System )ootloader
.boot.grub.grub.!onf
K root Ehd/,/F
K initrd .initrd-"ersion.img
$m'lement Soft,are R2$4
'art'robe
mke9fs - .de".md/
.et!.fstab
"i .et!.sys!tl.!onf
xxx.xx.xxx@+
sys!tl -'
.et!.r!.d.r!.sysinit
.et!.r!.d.r!.lo!al
.boot.grub.grub.!onf
filesystem
.et!.fstab
fs!k .de".hda
Create a Logi!al ?olume
&? -P ?D -P L?
ext9online .de"."g/.data/
SELinux
getenfor!e
setenfor!e +
install htt'd
!hk!onfig htt'd on
$nstall samba
"i .et!.samba.smb.!onf
!onfigure fire,all
NFS
;odify .et!.ex'orts
ex'ortfs -"
sho,mount -e lo!alhost
mkdir .net
"i .et!.auto.master
install "sft'd
"i .et!."sft'd."sft'd.!onf
start "sft'd
"i .et!.s#uid
modify .et!.mail.sendmail.m!
install do"e!ot
"i .et!.do"!ot.!onf
'roto!ols @ xxx
!hk!onfig do"e!ot on
SSH
.et!.ssh.
T..ssh.
4NS
"i .et!.named.!onf
>o "erify:
named-!he!k!onf
named-!he!kLone exam'le.!om
exam'le.!om.Lone
.et!.nt'.!onf
nt'stat
.et!.sys!onfig.i'tables
i'tables -L
i'tables -F
!hk!onfig i'tables on
&2;
.lib.se!urity.
.et!.'am.d.
Configure Ser"i!e
$nstall R&;
!hk!onfig ser"i!ename on