-
Notifications
You must be signed in to change notification settings - Fork 0
Home
1 ... Project Description
2 ... AutoTools (configure and make) Installation
3 ... Ubuntu Installation
4 ... Debian and Raspbian Installation
This AutoTools project utilises the logrotate facillity to provide log rotation for dnsmasq.
It places a logrotate control file in sysconfdir/logrotate.d and a post-rotate script file in sbindir.
a) ... Download either the source or distribution tarball (the .tar.gz file) from:-
b) ... Extract the tarball preserving the directory structure.
c) ... cd to the directory created.
d) ... If you downloaded the source tarball type 'autoreconf -if'
e) ... Type './configure'
f) ... As root or sudo, type 'make install clean'
(Quote marks are for textual clarity only).
To uninstall the package:
1 ... cd to the directory created in the above install process.
2 ... As root or sudo, type 'make uninstall clean'
This script is available as an Ubuntu package hosted in a Personal Package Archive (PPA). If you add this PPA to your software sources then you can easily install, update and remove the package.
To view the details of this PPA please follow the link below:-
To add this PPA to your system please type the following:-
- sudo apt-get install software-properties-common
- sudo add-apt-repository ppa:m-grant-prg/utils
- sudo apt-get update
To install this script on your system for use please type the following:-
- sudo apt-get update
- sudo apt-get install dnsmasq-logrotate
To uninstall this package at any time please type:-
- sudo apt-get remove dnsmasq-logrotate
Debian and Raspbian packages can be installed from a repository hosted at Bintray:-
To add this repository to your system please type the following:-
- sudo apt-get install software-properties-common apt-transport-https
- sudo add-apt-repository 'deb https://dl.bintray.com/mgrantprg/utils stretch stable'
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=mgrantprg | sudo apt-key add -
- sudo apt-get update
To install this script on your system for use please type the following:-
- sudo apt-get update
- sudo apt-get install dnsmasq-logrotate
To uninstall this package at any time please type:-
- sudo apt-get remove dnsmasq-logrotate