GithubHelp home page GithubHelp logo

logrotate's Introduction

How to build and install logrotate on HP-UX 11.00 (these instructions should
also work on HP-UX 10.20):
 
1.  Obtain and install the following GNU packages for HP-UX:
        binutils 2.9.1
        gcc 2.95.2
        make 3.78.1
    I used the packages at the Software Porting and Archive Centre for HP-UX
    at http://hpux.cs.utah.edu/.

    Obtain and install the following GNU/Linux to HP-UX Porting package:
	libhplx library
    See http://devresource.hp.com/LPK/index.html for downloads.
    This library is needed to provide the ??? function.
 
2.  Obtain, build, and install popt 1.4 (there doesn't seem to be a build at
    the Porting Centre.)
    See ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/popt-1.6.4.tar.gz
    Install it into the directory of your choice (i.e. 
    "./configure --prefix=/opt/popt").
 
3.  Build logrotate, telling it where to find popt and hplx installation. The
    POPT_DIR defaults to /usr/local and HPLX_DIR defaults to /usr/local/hplx:
        gmake POPT_DIR=/usr/local HPLX_DIR=/usr/local/hplx
 
4.  Install logrotate into your desired directory (BASEDIR defaults to
    /usr/local):
        gmake install BASEDIR=/usr/local
 
5.  Copy the configuration files into your desired location.
        cp examples/logrotate-default /etc/logrotate.conf
	mkdir /etc/logrotate.d

6.  Set up a cron job to run logrotate daily. See examples/logrotate.cron.
 
7.  I also recommend setting CLEAN_ADM=0 in /etc/rc.config.d/clean, and
    setting up an init script to use logrotate for this instead.  This way,
    logrotate manages all logfile pruning.
 
 
Questions, comments, abuse to:
    Paul D. Gear <[email protected]>, <[email protected]>
    Danial M. Howard <[email protected]>, <[email protected]>

logrotate's People

Watchers

James Cloos avatar Homer Simpson avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.