3www.net.ua - Linux !

:: ::

I. Linux

LINUX?
B

II. Linux Red Hat 7.1

LINUX RED HAT 7.1
LINUX RED 7.1

III. Linux Red Hat 7.1

X WINDOWS
X WINDWS
GNOME WINDOWS
GNOME X WINDOWS
GNOME
D
XWINDOWS

IV.

LINUX
LINUXCONF
LINUX
LINUX

V.

LINUX. TCP/IP
LINUX INTERNET
WORLD WIDE W
-MAIL
LINUX

VI. Linux SOHO

LINUX SOHO
LIN UX RED HAT 7.1 SOHO
LINUX RED HAT 7.1 ETHERNET
LINUX REDHAT7.1 B WINDOWS NOVELL
LINUX RED HAT 7.1 DOS/WINDOWS
LINUX RED HAT 7.1

VII. Linux Red Hat 7.1 Web

WEB-.
LINUX RED HAT 7.1 : SENDMAIL

A. LINUX ( ).
. LINUX
. LINUX
D. GNU -
. LINUX , INTEL
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: :

-

 

:: ::

 

 

 

 

 

 


, , . .

syslogd , . ,

# rm /var/log/messages

# kill -HUP `cat /var/run/syalogd.pid

/var/ log/messages sys logd. , . , , . - , syslogd , .

# mv /var/log/messages /var/log/messages.1

# kill -HUP `cat /var/run/syslogd.pid"

, , .

# mv /var/log/messages.1 /var/log/messages.2

# mv /var/log/messages /var/log/messages.1

# kill -HUP ` cat /var/run/syslogd.pid'

, , , . . Linux Red Hat 7.1 :

#!/bin/sh

mv /var/log/messages /var/log/messages.1

mv /var/log/secure /var/log/secure. 1

mv /var/log/maillog /var/log/maillog.1

mv /var/log/spooler /var/log/spooler.1 kill -HUP ` cat /var/run/syslogd.pid'

(, /usr/local/bin/newlogs) , .

# chmod 755 /usr/local/bin/newlogs

, crontab, , . 12.01 :

1 12 * * sun /usr/local/bin/newlogs


Red Hat Linux 7.1 /etc/logro-tate. conf. . , : /var/log/messages /var/log/messages . 1 /var/log/messages . 4.

 


:: ::

-

 


:: C ::


:: ::

 

 

 


Copyright Kivik, 2012