From df00fe8ecb83493255db7407d42411a127c6ebcf Mon Sep 17 00:00:00 2001 From: graysky Date: Sun, 17 Aug 2014 08:26:42 -0400 Subject: [PATCH] updated README --- README | 43 ++++++++++++------------------------------- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/README b/README index f018740..81f69b4 100644 --- a/README +++ b/README @@ -91,39 +91,20 @@ You can download RRDtool from different places: INSTALLATION =============================================================================== -The file tree for the Monitorix application is: +Setup the via a make. -File Recommended location Description -------------------------------------------------------------------------------- -monitorix /usr/bin/ main program (daemon) -monitorix.cgi /cgi/ CGI (viewer) -monitorix.conf /etc/monitorix/ configuration file -lib/*.pm /usr/lib/monitorix/ modules -Changes /usr/share/doc/monitorix/ changes log file -COPYING /usr/share/doc/monitorix/ license -logo_bot.png bottom logo -logo_top.png top logo -monitorixico.png favicon -monitorix-alert.sh /usr/share/doc/monitorix/ alert example script -monitorix-apache.conf /etc/httpd/conf.d/ apache configuration -monitorix.service /usr/lib/systemd/system/ systemd service template -monitorix.init /etc/init.d/ redhat SysV init script -monitorix-deb.init /etc/init.d/ debian SysV init script -monitorix.logrotate /etc/logrotate.d/ logrotate script -monitorix.spec /usr/share/doc/monitorix/ RPM spec file -monitorix.sysconfig /etc/sysconfig/ pre-run config file -monitorix.lighttpd.conf /etc/lighttpd/ lighttpd configuration -htpasswd.pl /usr/share/doc/monitorix/ documentation -README /usr/share/doc/monitorix/ documentation -README.FreeBSD /usr/share/doc/monitorix/ documentation -README.nginx /usr/share/doc/monitorix/ documentation -README.OpenBSD /usr/share/doc/monitorix/ documentation -README.NetBSD /usr/share/doc/monitorix/ documentation -man/man5/monitorix.conf.5 /usr/share/man/man5/ monitorix.conf manpage -man/man8/monitorix.8 /usr/share/man/man8/ monitorix manpage -reports/*.html /reports/ traffacct reports i18n -usage/ /usage/ traffacct usage data +Running a `make install-xxx` as root will distribute the files to the file +system. Most users will want to select from three options depending on target +init system (do not run all four)! + # make install-systemd-all + # make install-upstart-all + # make install-debian-all + # make install-redhat-all + +Alternatively, users may override any of the in make targets. For example: + + $ make DESTDIR=~/pub BASEDIR=/srv/http/monitorix install-systemd-all Once succesfully installed, please take a look into the configuration file to setup the options according your system and enable or disable graphs.