Linux and Windows system cronolog installation configuration

Source: Internet
Author: User
Tags zip

I found a file on the Web server has been growing and fast, a log file, has reached a G. But also want to leave some of the latest log, do not want to delete, but the log file is too large, simply can not open. In fact, it is best to use log polling, before this Web server did not do this configuration, this should be configured when the Web server should be done. It's not too late to configure it.

1. First Need software: http://cronolog.org/download/index.html

Version 1.6.2 released 2002-01-24 (gzip ' ed tar file)

Version 1.6.1 released 1999-12-20 (gzip ' ed tar file)

Win version (ZIP file)

Version 1.6 released 1999-12-16 (gzip ' ed tar file)

Version 1.5b9 released on 4 June 1998 (gzip ' Ed tar file)

Version 1.4 released December 1996 (gzip ' ed tar file)

If you have Windows to win_32_version (ZIP file) Linux is accustomed to which kind of package to use.

2. Install Cronolog under Linux

Tar zxvf cronolog-1.6.2.tar.gz

CD cronolog-1.6.2

./configure (Note: The default is to install under/usr/local cronolog command under/usr/local/sbin, this should be clear)

make; Make install

3. Install Cronolog under Windows

It's simple under Windows to extract the Cronolog.exe directly into the bin directory in the Apache directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.