]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/INSTALL
ebl fix replace bug
[bacula/bacula] / gui / bweb / INSTALL
index b1c71eef66864ef8ebc3805970b2b89df4a9ada7..b09b04cd6a7b260438b4ad2d68c5374441064c22 100644 (file)
@@ -45,12 +45,12 @@ Bweb works well with 1.39 release or later.
  # get a config file
  mkdir -m 755 /etc/bacula
  chown root:bacula /etc/bacula
- echo '$VAR1 = { template_dir => "/usr/share/bweb/tpl" };' > /etc/bacula/bweb.conf
+ echo '$VAR1 = { template_dir => "/usr/share/bweb/en/tpl" };' > /etc/bacula/bweb.conf
  chown www-data /etc/bacula/bweb.conf
 
  # copy the bweb template file
- mkdir -p /usr/share/bweb/tpl
- install -m 644 -o root -g root  bweb/tpl/*.tpl /usr/share/bweb/tpl
+ mkdir -p /usr/share/bweb/en/tpl
+ install -m 644 -o root -g root  bweb/lang/en/tpl/*.tpl /usr/share/bweb/en/tpl
 
  # copy the bweb graphics elements (bweb elements must reside in /bweb)
  mkdir /var/www/bweb
@@ -64,7 +64,7 @@ Bweb works well with 1.39 release or later.
 
 ################ USE FRENCH VERSION ############################
 
-Simply use lang/fr/tpl/*.tpl files instead of tpl/*.tpl
+Simply use lang/fr/tpl/*.tpl files instead of lang/en/tpl/*.tpl
 
 ################ INSTALL PERL LIBRARY ##########################
 
@@ -77,14 +77,16 @@ Simply use lang/fr/tpl/*.tpl files instead of tpl/*.tpl
     - CGI
     - Expect
     - Time::ParseDate
+    - Date::Calc
 
  You can install perl modules with CPAN
  perl -e shell -MCPAN
   > install Expect
 
  Or use your distribution
- apt-get install libgd-graph-perl libhtml-template-perl libexpect-perl
- apt-get install libdbd-mysql-perl libdbd-pg-perl libdbi-perl libtime-modules-perl
+ apt-get install libgd-graph-perl libhtml-template-perl libexpect-perl \
+                 libdbd-mysql-perl libdbd-pg-perl libdbi-perl \
+                 libdate-calc-perl libtime-modules-perl
 
  Note: the best way to test if you have all the dependencies
  fullfilled for Perl is to:
@@ -168,7 +170,7 @@ $VAR1 = bless( {
        }, 'Bweb::Autochanger' )
    },
   'password' => 'xxx',
-  'template_dir' => '/usr/share/bweb/tpl',
+  'template_dir' => '/usr/share/bweb/en/tpl',
   'dbi' => 'DBI:mysql:database=bacula',
   'error' => '',
   'debug' => 0,
@@ -334,8 +336,7 @@ It will do some basics things on a working bweb/brestore setup.
  example on debian : 
   root@localhost:~# mv ext-1.1.1 /usr/share/bweb/html/ext
 
-3) Make sure that brestore cache tables are updated with brestore.pl
-  bacula@localhost:~$ brestore.pl -b
+3) Make sure that brestore cache tables are in your catalog (bweb-xxx.sql files)
 
 4) Enable bresto.pl cgi. 
   edit the bweb/cgi/bresto.pl script and change $bresto_enable=0; to $bresto_enable=1;