You are on page 1of 22

RH133

Red Hat Enterprise Linux


System Administration
Welcome!
2
Objectives

Printing and Administration Tools

Understanding Printer

Installing and Managing Printer Server and lient

Using S!"eduling # !ron $

System Logging

% &indo's System

Understanding Server and lient

Managing % Server

Using Remote (es)top

on*iguration Utilities
3
Printing and Administration Tools
4
Understanding Printer
5
Printer TERMS
Printer TERMS

Printer

Print (evi!e

Print (river

Print Server

Print lient

+et'or) Printer

Lo!al Printer

Print ,ueue

Print -o.
6
ommon U+I% Printing Servi!e # UPS $

UPS/ t"e !ommon printing system/ is t"e primary printing system


under Red Hat Enterprise Linux0 UPS supports a ne' Internet
Printing Proto!ol/ IPP/ .ased on HTTP0
7
Installing and Managing Printer Server and Client

CUPS Configuration Files

/etc/cups/cupsd.conf /etc/cups/cupsd.conf

!upsd server !on*iguration *ile

/etc/cups/printers.conf /etc/cups/printers.conf

Print 1ueue !on*iguration *ile


8
Printing Commands

sstem!config!printer sstem!config!printer 2 Utility to install and manage print devi!es

lpr lpr 2 !ommand to send print 3o.s to print devi!e

lp" lp" 2 !ommand to vie' print 1ueues

lprm lprm 2 !ommand to remove print 3o.s

lpadmin lpadmin 2 !ommand line tool *or printer administration


9
Using Sc#eduling $ cron %
10
cron

Used to s!"edule re!urring events

Use !ronta. to edit/ install and vie' 3o. s!"edules

ommand Examples

ronta. 4PTI4+S

!l !l list cronta& list cronta&

!r !r removes cronta& removes cronta&

!e !e edits cronta& edits cronta&


11
Using Cronta& File

Fields in a crontab file can be separated by any number of


tabs or spaces
12
Controlling Cron

Restrict / allo' user access to cron

/etc/cron.allo' /etc/cron.allo'

/etc/cron.den /etc/cron.den

ontains usernames to allo' 5 deny a!!ess

(isa&le )email* notifications+

I* email noti*i!ation is not re1uired t"en put t"e *ollo'ing !ommand at t"e end
o* t"e !ron 3o. line2
,/dev/null -,./

Cronta& )012 FI0E* generation+


34 /5 6 6 6 somecommand , /somelocation/logfilename.log
13
Sstem 0ogging
14
7#at is Sstem 0ogging 8

An important part o* maintaining a se!ure system is )eeping tra!) o* t"e


a!tivities t"at ta)e pla!e on t"e system0 I* you )no' '"at usually "appens/
su!" as understanding '"en users log into your system/ you !an use log *iles
to spot unusual a!tivity

T'o main logging daemons T'o main logging daemons

9logd 9logd 2T"e )ernel log daemon servi!e logs )ernel messages
and events

sslogd sslogd 2T"e syslog daemon logs all ot"er pro!ess a!tivity0 6ou
!an use t"e log *iles t"at syslogd generates to tra!) a!tivities on your
system
15
0og Files

/var/log/dmesg /var/log/dmesg 2 7ernel log messages

/var/log/messages /var/log/messages 2 Standard system error messages

/var/log/maillog /var/log/maillog 2 Mail System messages

/var/log/secure /var/log/secure 2 Se!urity/ aut"enti!ation/ and xinetd messages


utmpdump /var/log/'tmp
used *or monitoring login a!tivity0
16
Configuring Central 0og Server

Server Side : Allo' 8syslogd9 to a!!ept remote message

vi 5et!5sys!on*ig5syslog

S6SL4:(;4PTI4+S<9=r =m >9

Restart t"e 8syslogd9

servi!e syslog restart

Client Side : Instru!t !lient to send log to entral Server

vi 5et!5syslog0!on*

user0? @1AB01CD0>0BE3

Restart 8syslogd9

servi!e syslog restart

Test : 1n client

logger =i =t username 8t"is is to .e sent to remote server9


17
X Windows System
18
7#at is ; 7indo's

T"e ; 7indo's Sstem is t"e *oundation o* t"e Linux grap"i!al user


inter*a!e F:UIG0 T"e % &indo's System is maintained .y % onsortium
at "ttp255'''0%0org

T"e ; 7indo' Sstem is designed as a *lexi.le and po'er*ul


!lient5server=.ased system
19
20
Met#ods to esta&lis# ; environment

T'o met"ods to esta.lis" t"e environment

/usr/;//R</&in/=init /usr/;//R</&in/=init

/usr/;//R</&in/start= /usr/;//R</&in/start=
21
Configuration Utilities

sstem!config!displa sstem!config!displa

mouseconfig mouseconfig

s'itc#des9 s'itc#des9
?
Questions

You might also like