Strona 1 z 1

Konfiguracja bacula web - Squeeze

: 13 czerwca 2011, 13:30
autor: Delleg
Po zainstalowaniu pear-php

Kod: Zaznacz cały

apt-get install php-pear
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
php-pear jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
na Debianie 6.0 i uruchomieniu:

Kod: Zaznacz cały

 [URL]http://localhost/bacula-web/test.php[/URL]
otrzymuję informację:

Kod: Zaznacz cały

Checking system for dependencies...
Checking gettext:         [B]YES[/B]    Language support enabled
Checking Pear(DB):         [B]NO[/B]  Pear DB NOT FOUND              This is required. Please download from [URL]http://pear.php.net/package/DB/download[/URL] .
Checking GD:         [b]YES[/b]   GD support enabled        

 Please, click the link below to test your graph system capabilities (Bacula-web only use PNG): 
 [url=http://localhost/bacula-web/external_packages/phplot/examples/test_setup.php]Test[/URL]

Więc:

Kod: Zaznacz cały

pear install DB

pear/DB is already installed and is the same as the released version 1.7.14RC2
install failed
Dalej to samo, czego nie zrobiłem?

: 13 czerwca 2011, 14:14
autor: mariaczi
Pokaż wynik

Kod: Zaznacz cały

pear list
dpkg -l | grep apache
dpkg -l | grep php

: 15 czerwca 2011, 11:06
autor: Delleg

Kod: Zaznacz cały

root@TESTpcpr:/home/delleg# pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version   State
Archive_Tar      1.3.7     stable
Console_Getopt   1.3.1     stable
DB               1.7.14RC2 beta
PEAR             1.9.3     stable
Structures_Graph 1.0.4     stable
XML_Util         1.2.1     stable
root@TESTpcpr:/home/delleg# dpkg -l | grep apache
ii  apache2                              2.2.16-6+squeeze1                 Apache HTTP Server metapackage
ii  apache2-doc                          2.2.16-6+squeeze1                 Apache HTTP Server documentation
ii  apache2-mpm-prefork                  2.2.16-6+squeeze1                 Apache HTTP Server - traditional non-threaded model
ii  apache2-utils                        2.2.16-6+squeeze1                 utility programs for webservers
ii  apache2.2-bin                        2.2.16-6+squeeze1                 Apache HTTP Server common binary files
ii  apache2.2-common                     2.2.16-6+squeeze1                 Apache HTTP Server common files
ii  libapache2-mod-perl2                 2.0.4-7                           Integration of perl with the Apache2 web server
ii  libapache2-mod-php5                  5.3.3-7+squeeze1                  server-side, HTML-embedded scripting language (Apache 2 module)
ii  libapache2-mod-python                3.3.1-9+b1                        Python-embedding module for Apache 2
ii  libapache2-reload-perl               0.10-2                            Reload Perl modules when changed on disk
root@TESTpcpr:/home/delleg# dpkg -l | grep php
ii  libapache2-mod-php5                  5.3.3-7+squeeze1                  server-side, HTML-embedded scripting language (Apache 2 module)
ii  php-db                               1.7.13-2                          PHP PEAR Database Abstraction Layer
ii  php-pear                             5.3.3-7+squeeze1                  PEAR - PHP Extension and Application Repository
ii  php5                                 5.3.3-7+squeeze1                  server-side, HTML-embedded scripting language (metapackage)
ii  php5-cli                             5.3.3-7+squeeze1                  command-line interpreter for the php5 scripting language
ii  php5-common                          5.3.3-7+squeeze1                  Common files for packages built from the php5 source
ii  php5-gd                              5.3.3-7+squeeze1                  GD module for php5
ii  php5-mysql                           5.3.3-7+squeeze1                  MySQL module for php5
ii  php5-suhosin                         0.9.32.1-1                        advanced protection module for php5
root@TESTpcpr:/home/delleg#

: 15 czerwca 2011, 19:41
autor: mariaczi
Wymagane pakiety masz zainstalowane.
Restartowałeś usługę apache po instalacji pakietów (choć podczas instalacji powinna zostać zrestartowana automatycznie)?

: 15 czerwca 2011, 19:49
autor: Delleg
Jak najbardziej, restartowałem.