LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install & configure cacti on Ubuntu linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-and-configure-cacti-on-ubuntu-linux-473947/)

ketut_hendratha 08-15-2006 01:47 AM

how to install & configure cacti on Ubuntu linux
 
hello everyone....

guys..can you help me how to install cacti on Ubuntu, i've already try several ways to install cacti on Ubuntu linux but i it's seems not work well..thank's for help...

IBall 08-15-2006 03:11 AM

Can you post more details please? Like how have you tried to install cacti, and what errors occured when you tried that.

--Ian

ketut_hendratha 08-15-2006 04:44 AM

i just don't understand where i type the command. i read the instruction from cacti.org and the manual just explain very short and i don't know where the place to type the command. sorry i'm just new on using linux... thank's.

IBall 08-15-2006 08:42 PM

You should be able to install cacti using aptitude:
Code:

sudo aptitude install cacti
Alternatively, follow the "Cacti Installation for Unix / Linux", (Here). Open a terminal, enter the command "sudo -s" and enter your users password. Then follow the commands in that document step by step, and it should work.

I would recommend aptitude though, because it will fetch and install any dependencies for you (like apache, snmp and rrdtool).

There is also a good guide for installing under Linux, at the cacti website. It is specific for Fedora, but can be applied to Ubuntu (if it says use yum, use aptitude, etc).

--Ian

CaptainlVlorgan 08-23-2006 05:30 AM

About your Ap titude...
 
You IBall'n me boy? ;)

I'm also new to the cacti experience and I followed your aptitude command. I was quite stunned when it just started "doing everything" by itself. Why can't they make EVERYTHING work like this! :cry:

So it installed prety mutch everything - PHP5, Apache2, MySQL, cacti, RDDtool...etc, etc.

I tried creating my user accounts in mysql - but the
"CREATE USER 'cacti'@'localhost' IDENTIFIED BY 'password'; doesn't work!? So I added it in the tables - problem solved.
Now Granting priv's...so I grant him ALL but when I log in as cacti there are no databases for him to view... :eek:

So I remove php5 and install php4 - bad idea.
Then I aptitudely removed cacti with all the extra's.
Then I reinstalled it using aptitude.

So I browsed to "htt p : // myURL / cacti" and it asked me with what I wanted to open the file with??? :scratch:
So I said Firefox.exe . Now I'm at a page that sais:

You are now logged into Cacti. You can follow these basic steps to get started.

* Create devices for network
* Create graphs for your new devices
* View your new graphs

Then when I click on one of the links it wants to go to:
/C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/host.php

Any I Deer's? :scratch: :scratch: :scratch:

Oh, and I just tested my PHP with a
"<HTML>
<?php echo phpinfo(); ?>
</HTML>"
file in my web dir and it also asked me if I wanted to open, save or whatever the file. So I'm guessin my php aint workin like it should.
Where to fix it would be the question then...?


All times are GMT -5. The time now is 10:42 AM.