From: Kern S. <ke...@us...> - 2005-07-28 16:01:34
|
Update of /cvsroot/bacula/docs/bacula-web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22979/bacula-web Modified Files: general.tex Log Message: Updates Index: general.tex =================================================================== RCS file: /cvsroot/bacula/docs/bacula-web/general.tex,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- general.tex 26 Jul 2005 11:07:27 -0000 1.2 +++ general.tex 28 Jul 2005 16:01:25 -0000 1.3 @@ -45,7 +45,52 @@ \item Edit {\bf configs/bacula.conf} and put your preferences as well as ensuring that the database configuration parameters point to the Bacula database you are using. +\end{item + + +\subsection*{Testing the Installation} +\index[general]{Testing the Installation} +\addcontentsline{toc}{section}{Testing the Installation} +\begin{itemize} + \item Run {\bf test.php} from your web browser. +It should produce output that looks like: +\begin{verbatim} +Checking system for dependencies... + + + + Checking gettext: YES Language support enabled + Checking Pear(DB): YES Pear DB enabled + Checking GD: YES GD support enabled + + + Please, click the link below to test your graph system capabilities (Bacula-web only use PNG): + Test +\end{verbatim} +\item If gettext, Pear(DB) and GD all indicate yes, then things are going +in the right direction. If not, you should correct each one before +proceeding. + +\item If Pear(DB) is not installed and you have PHP 4.3.11 or newer, you +can use the command: +\begin{verbatim} +pear install DB +\end{verbatim} +to install it. + +\item When everything is installed, click on the {\bf Test} link at the bottom, which will bring up +a new page with a number of PHPlot test graphs, using GD. It should be +pretty obvious if they work, if not, you must correct the problems. + +\item If your graphs are not being reproduced, check that your PHP was built +with the {\bf --with-gd} option, and possibly with {\bf --with-png-dir=DIR} +where DIR is the path to the {\bf libpng} installation directory. + +\item One of the most common problem is improper configuration of the variables +in bacula.config that define the database. If you see nothing but a blank screen or +error messages, please recheck your database definitions. + \end{itemize} \subsection*{Notes} |