Home /  Monit /  Installation

Download the latest Monit release from the download area

Building Monit from source code

 $ tar zxvf monit-x.y.z.tar.gz (where x.y.z denotes version numbers)
 $ cd monit-x.y.z
 $ ./configure (use ./configure --help to view available options)
 $ make && make install

By default Monit is installed in /usr/local/bin/ and the monit.1 man-file in /usr/local/man/man1/. To change the default location use the --prefix option to ./configure

You can also create an RPM package for CentOS/RHEL/Fedora from the source code directly using rpmbuild:

 rpmbuild -tb monit-x.y.z.tar.gz

Pre-built binaries

Pre-built Monit binaries can be found here. Example installation:

 $ tar zxvf monit-x.y.z-linux-x64.tar.gz (x.y.z denotes version numbers)
 $ cd monit-x.y.z
 $ cp bin/monit /usr/local/bin/
 $ cp conf/monitrc /etc/

Packages

Debian/Ubuntu

 aptitude install monit

Fedora

 yum install monit

To list all files installed with the package.

 rpm -ql monit

OpenSUSE 10.3

 yast2 -i monit

FreeBSD

 cd /usr/ports/sysutils/monit
 make
 make install

Arch

 pacman -S monit

Gentoo

 emerge monit