Welcome to Pandora FMS Community › Forums › Community support › Apache setup
-
Apache setup
Posted by skidmark on September 5, 2007 at 12:50Hey folks
I’m not too experienced with Apache, Perl or even Linux. I work mostly with network design and support. So I wanted to implement some sort of monitoring, and Pandora seemed like an OK choice.
But I used to think I could follow a manual letter by letter, until now that is…
Is there alot of configuration required that isn’t covered in the quick installation guide. As in, does it require arbitrary configuration of Apache or anything of the kind?
I am running on Ubuntu.
skidmark replied 17 years, 5 months ago 3 Members · 8 Replies -
8 Replies
-
::
Hey folks
I’m not too experienced with Apache, Perl or even Linux. I work mostly with network design and support. So I wanted to implement some sort of monitoring, and Pandora seemed like an OK choice.
But I used to think I could follow a manual letter by letter, until now that is…
Is there alot of configuration required that isn’t covered in the quick installation guide. As in, does it require arbitrary configuration of Apache or anything of the kind?
I am running on Ubuntu.
If you’re working with ubuntu, you don’t need to “adjust” or configure neither apache or PHP, simple install all dependencies:
apt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server php-pear php5-gd php5-snmp snmp snmptrapd snmpd
This should install all server and console dependencies in your system in a Ubuntu server. Perl dependencies are detailed on Quick Install Guide
(I’ve added this question to our FAQ)
I hope this helps
Best regards,
-
::
Right, I’m through the quick install guide and everything as far as i know. But I’m unsure about this line to access the web console.
“h.ttp://
: / /index.php” I did it with port 80 and 22 for good measure, but my firefox seems to block the ssh protocol…. And comes up with a 404 when I do it with port 80. Any idea as to what I’ve screwed up?
-
-
::
You have to posts several times more before let post links… just to avoid spam 😀
About the url, where did you installed your pandora_console?
This is not an Apache forum but Apache2 in Ubuntu is configured in the /etc/apache2/apache2.conf file.
In the same directory you can see the “sites-enabled” directory, where there is a link (000-default) to the “sites-available/default” file, where you can configure the “Document Root” directive, by default, /var/www.
On summary (in Ubuntu):
– Download Pandora_Console tar.gz file.
– Extract (tar -zxvf ****)
– COPY the pandora_console directory TO /var/www/
– Review permissions.Then you’ll access the console using:
http://localhost/pandora_console/index.php
That’s all.
Raul
-
-
::
This function is a PHP one. This should be installed in the php5-mysql package.
Did you installed that package?
Remember, as root, from command line (you can also use the package manager from X Windows), install ALL dependencies:
[code:1]apt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server php-pear php5-gd php5-snmp snmp snmptrapd snmpdAny more “Call to undefined function …” are due to dependencies not installed.
You can also try the new VMWare image, that has all the servers ready and configured, see the News forum.
Raul
-
::
Right, I copied pandora_console to /var/www, but now I get a message saying:
Fatal error: Call to undefined function mysql_pconnect() in /var/www/pandora_console/include/config.php on line 42
This is getting more and more fun 😛
Easy!, for that I have a quick solution 🙂
apt-get install php5-mysql
/etc/init.d/apache2 stop
/etc/init.d/apache2 startIf you have php5 module already installed, be sure to stop and start apache, a simple restart is not enought. If that dont work, check php.ini and be sure that mysql module is loaded.
-