Install our README file as README.fedora

This commit is contained in:
Ken Dreyer 2013-01-04 14:14:12 -07:00
parent 40b655a3bb
commit 7b883b2ad6
3 changed files with 38 additions and 26 deletions

View File

@ -1,23 +0,0 @@
In order for Cacti to function properly, please edit the following:
/etc/cacti/db.php
/etc/cron.d/cacti
/etc/http/conf.d/cacti.conf
For more information about setting up the database please read:
docs/INSTALL
Cacti's install procedure is not fully compatible with mod_security. If you use
mod_security, please uncomment the SecRuleRemoveById lines in
/etc/http/conf.d/cacti.conf.
As of Feb. 6, 2006 Cacti does not work correctly with SELinux. This will
change in the future. If you're having issues getting Cacti to work properly
and SELinux is enabled, please run the following commands after installing
Cacti:
chcon -R -t httpd_sys_content_t /var/log/cacti/
chcon -R -t httpd_sys_content_t /var/lib/cacti/rra/

32
cacti.README.fedora Normal file
View File

@ -0,0 +1,32 @@
In order for Cacti to function properly, please edit the following:
/etc/cacti/db.php
/etc/cron.d/cacti
/etc/http/conf.d/cacti.conf
For more information about setting up the database please read:
docs/INSTALL
The installation procedure, briefly summarized:
Create the cacti MySQL database:
# mysqladmin create cacti
Import the default cacti database:
# mysql cacti < /usr/share/doc/cacti-0.8.8a/cacti.sql
Create the user:
# mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactiuser';
Then visit http://localhost/cacti/ to complete the installation.
Cacti's install procedure is not fully compatible with mod_security. If you use
mod_security, please uncomment the SecRuleRemoveById lines in
/etc/http/conf.d/cacti.conf.
Cacti should work with SELinux. If you cannot get it to work, please file a bug.

View File

@ -1,6 +1,6 @@
Name: cacti
Version: 0.8.8a
Release: 4%{?dist}
Release: 5%{?dist}
Summary: An rrd based graphing tool
Group: Applications/System
@ -12,7 +12,7 @@ URL: http://www.cacti.net/
Source0: %{name}-%{version}-notreeview.tar.gz
Source1: cacti-httpd.conf
Source2: cacti.logrotate
Source3: cacti.README.Fedora
Source3: cacti.README.fedora
Source4: d.gif
Source5: d.png
Source6: throbber.gif
@ -70,7 +70,7 @@ rm -rf %{buildroot}
%endif
%{__cp} -a images/ include/ install/ lib/ plugins/ resource/ %{buildroot}%{_datadir}/%{name}
%{__cp} %{SOURCE3} ./docs/README.cacti
%{__cp} %{SOURCE3} ./docs/README.fedora
%{__cp} -a docs/ %{buildroot}/%{_docdir}/%{name}-%{version}
%{__mv} %{buildroot}/%{_datadir}/%{name}/include/config.php %{buildroot}/%{_sysconfdir}/%{name}/db.php
%{__chmod} +x %{buildroot}/%{_datadir}/%{name}/cmd.php %{buildroot}/%{_datadir}/%{name}/poller.php
@ -128,6 +128,9 @@ fi
%attr(0644,root,root) %{_localstatedir}/lib/%{name}/lib
%changelog
* Fri Jan 04 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.8.8a-5
- Install our README file as README.fedora
* Fri Jan 4 2013 Tom Callaway <spot@fedoraproject.org> - 0.8.8a-4
- remove non-free treeview bits (replace with jquery future code from 0.8.9 trunk)