[opensuse] How to install cacti on openSUSE
Glenn has been working on getting cacti up and running for a while now, with various difficulties. Yesterday I needed a distraction, so I thought I would take a shot at it. Here is what I did: Environment: I used "webhost", a test-server which already had apache2 installed. For mysql, I used our central sandbox database. I also set up the website name in our DNS: "cacti.example.com". On the webhost: I created /srv/www/vhosts/cacti/{htdocs,logs} I created /etc/apache2/vhosts.d/cacti.conf: <VirtualHost 1.2.3.4> ServerName cacti.example.com serveralias cacti DocumentRoot /srv/www/vhosts/cacti/htdocs ErrorLog /srv/www/vhosts/cacti/logs/error_log <Directory /srv/www/vhosts/cacti/htdocs> AllowOverride Fileinfo Indexes Require all granted </Directory> AddDefaultCharset UTF-8 php_value default_charset "UTF-8" </VirtualHost> I downloaded the latest tarball from the cacti website and untarred it into /srv/www/vhosts/cacti/htdocs. This created a directory called "cacti-0.8.8b" containing the cacti file tree. I moved the tree into /srv/www/vhosts/cacti/htdocs and removed "cacti-0.8.8b". On my database host, I did the following: create new database called "db_cacti". grant access to "cactiuser@webhost.example.com". Import the database setup from cacti.sql (from the tarball). Back on "webhost", I installed some extra php5 modules - gd, snmp, sockets. Then I amended include/config.php with the database details and the url_path - because I don't use a "cacti/" directory, I used url_path="/". The cacti instructions also say to change ownership of "rra/" and "log/", which I changed to wwwrun (apache userid). I'm not sure who will be writing to those directories though. Finally, I fired up "http://cacti.example.com/install/index.php" in Firefox. I checked the various values (all in the green), and got returned to the login screen. Then I logged in with admin/admin and changed the admin password. And that's it - I don't think I've left anything out. -- Per Jessen, Zürich (7.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen, 17.05.2014 10:06:
Glenn has been working on getting cacti up and running for a while now, with various difficulties. Yesterday I needed a distraction, so I thought I would take a shot at it.
Here is what I did:
[...]
I downloaded the latest tarball from the cacti website [...]
And that's it - I don't think I've left anything out.
Was there a peculiar reason not to use the cacti package from the Update repository? It's version is 0.8.8b-4.1 and should do its work. Regards, Werner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Werner Flamme wrote:
Per Jessen, 17.05.2014 10:06:
Glenn has been working on getting cacti up and running for a while now, with various difficulties. Yesterday I needed a distraction, so I thought I would take a shot at it.
Here is what I did:
[...]
I downloaded the latest tarball from the cacti website [...]
And that's it - I don't think I've left anything out.
Was there a peculiar reason not to use the cacti package from the Update repository? It's version is 0.8.8b-4.1 and should do its work.
Hi Werner I just wanted the undiluted experience, without e.g. locations being chosen for me by the packager. I'm sure the cacti package from the Update repo will be just fine. -- Per Jessen, Zürich (14.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 20 May 2014 08:10:43 +0200, Per Jessen <per@computer.org> wrote:
Werner Flamme wrote:
Per Jessen, 17.05.2014 10:06:
Glenn has been working on getting cacti up and running for a while now, with various difficulties. Yesterday I needed a distraction, so I thought I would take a shot at it.
Here is what I did:
[...]
I downloaded the latest tarball from the cacti website [...]
And that's it - I don't think I've left anything out.
Was there a peculiar reason not to use the cacti package from the Update repository? It's version is 0.8.8b-4.1 and should do its work.
Hi Werner
I just wanted the undiluted experience, without e.g. locations being chosen for me by the packager. I'm sure the cacti package from the Update repo will be just fine.
-- Per Jessen, Zürich (14.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.
Hello Its going with your help. I raised request for documentation to reflect that change. https://bugzilla.novell.com/show_bug.cgi?id=878478 Cheers Glenn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
Per Jessen
-
Werner Flamme