2011-08-15から1日間の記事一覧
Apacheのログのrotateを行う vi /etc/logrotate.d/httpd 以下のソースをコピペする /usr/local/apache2/logs/*access_log /usr/local/apache2/logs/*error_log { missingok notifempty sharedscripts monthly rotate 6 postrotate /bin/kill -HUP `cat /usr/…
Apacheのログのrotateを行う vi /etc/logrotate.d/httpd 以下のソースをコピペする /usr/local/apache2/logs/*access_log /usr/local/apache2/logs/*error_log { missingok notifempty sharedscripts monthly rotate 6 postrotate /bin/kill -HUP `cat /usr/…