Fedora Core 5 install from .rpm

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Fedora Core 5 install from .rpm

Post by deanmaglinte »

I've seen the installation instructions for Unix/Linux using tar commands. I downloaded the pre-compiled rpm for Fedora Core 5 and was wondering if there is anything special I need to do. Can I just simply install it like a normal rpm? I haven't found any documentation specifically related to rpm install.

Thanks.
warnesj
Cacti User
Posts: 173
Joined: Sun May 29, 2005 7:34 pm

Post by warnesj »

You can install it like any other RPM. It puts the Cacti installation in /usr/share/cacti though. I'm working on documentation for FC7 and installation using yum.
andytof47
Posts: 6
Joined: Tue Oct 23, 2007 1:07 pm

do you have a link?

Post by andytof47 »

Hi, I'm new to cacti and have been trying all day to find comprehensive documentation specifically for performing an FC7 install of cacti.

Getting the packages aren't a problem, nor is yum installing them or even building them from scratch, btu ohhhhhh the headaches I have had all day........


Do you have a link to a howto specifically for FC7 that works from start to finish......
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

It's really not that hard.... I use develop Cacti on my Fedora Core 7 workstation.. :)

But, if you are not experience Linux/Unix admin, you may have issues.

Code: Select all

yum install httpd mysql-server php php-snmp php-ldap rrdtool net-snmp net-snmp-utils
Once you have all those installed, you can follow the installation instructions for Cacti at: http://docs.cacti.net/node/5

I would suggest you untar cacti in the /var/www/html directory with the following command:

Code: Select all

cd /var/www/html; tar -zxvf cacti-0.8.6j.tar.gz
Questions, let me know.. :)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
andytof47
Posts: 6
Joined: Tue Oct 23, 2007 1:07 pm

source or yum for cacti?

Post by andytof47 »

Code: Select all

Once you have all those installed, you can follow the installation instructions for Cacti at: http://docs.cacti.net/node/5

I would suggest you untar cacti in the /var/www/html directory with the following command:

Code:
cd /var/www/html; tar -zxvf cacti-0.8.6j.tar.gz
ok so would you suggest that I install from yum or from source???

so far I have downloaded source and copied it to /var/www/html/

then when I point my browser 127.0.0.1/cacti

I just get a blank screen -- no errors nothing

this is my httpd log errors

Code: Select all

hu Oct 25 11:15:08 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Oct 25 11:15:08 2007] [notice] mod_python: using mutex_directory /tmp 
[Thu Oct 25 11:15:09 2007] [notice] Apache/2.2.6 (Unix) DAV/2 PHP/5.2.4 mod_python/3.3.1 Python/2.5 mod_ssl/2.2.6 OpenSSL/0.9.8b mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Thu Oct 25 11:19:43 2007] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Oct 25 11:24:43 2007] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Oct 25 11:26:16 2007] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Oct 25 11:26:16 2007] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Oct 25 11:26:21 2007] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
thats where i'm up to.... so any help is appreciated
andytof47
Posts: 6
Joined: Tue Oct 23, 2007 1:07 pm

Post by andytof47 »

also I think this might have something to do with it

Code: Select all

snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.100.6.0 
Timeout: No Response from localhost
here is my snmp config

Code: Select all

rocommunity public
syslocation Bat. C2
syscontact someone@somewhere.org

dontPrintUnits true

includeAllDisks

proc httpd
is this enough just to get a test happening....?

cheers
warnesj
Cacti User
Posts: 173
Joined: Sun May 29, 2005 7:34 pm

Re: do you have a link?

Post by warnesj »

andytof47 wrote:Do you have a link to a howto specifically for FC7 that works from start to finish......
I finally finished my FC7 documentation and posted it. It can be found in post http://forums.cacti.net/viewtopic.php?t=24025. I hope you find it useful.

But the document doesn't cover using SNMP interrogation on the localhost to gather stats. Is there a reason you want to use SNMP to gather stats on the localhost?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests