From 8dfd4c5951f19e8950c0f0f7535aaf81f7d545e8 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 8 Jan 2007 20:27:33 +0000 Subject: [PATCH] Update INSTALL git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3942 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/INSTALL | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/gui/bweb/INSTALL b/gui/bweb/INSTALL index 4285ef4304..fc7286d723 100644 --- a/gui/bweb/INSTALL +++ b/gui/bweb/INSTALL @@ -23,9 +23,11 @@ Bweb works well with 1.39 release or later. # or get them from the released tar files or from the apt or rpms. - # Once you have all these files, follow the instructions below + # + # Once you have the gui directory loaded, follow the instructions below # or edit the environment variables in the file install_bweb - # then execute it. + # then execute it. install_web does everything to the next + # set of #######'s. # # first, copy the bweb Perl library into your PERL5 INC path @@ -88,10 +90,13 @@ Simply use lang/fr/tpl/*.tpl files instead of tpl/*.tpl ./bweb.pl That should show you if any of the pre-requisites are missing. + On SuSE 10.2, I was able to load all the appropriate modules via rpms, + with the exception of Expect and Time::ParseDate, which I loaded manually + using perl. ################ APACHE CONFIGURATION ########################## -It could be a good idea to protect your bweb installation. +It could be a good idea to protect your bweb installation (optional). Put this in your httpd.conf, and add user with htpasswd @@ -107,6 +112,8 @@ Put this in your httpd.conf, and add user with htpasswd ################ CONFIGURATION ################################# +Note, this is automatically installed by the install_bweb script. + /etc/bacula/bweb.conf looks like : (you can edit it inside bweb) $VAR1 = bless( { 'graph_font' => '/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf', @@ -149,7 +156,8 @@ $VAR1 = bless( { ################ BRESTORE ###################################### If you want to use brestore with bweb, you must associate a mime type -text/brestore with your brestore.pl. +text/brestore with your brestore.pl, and you must install brestore. +See gui/brestore/README for instructions on installing brestore.pl. ################ POSTGRESQL NOTES ############################## @@ -161,11 +169,19 @@ psql -u bacula bacula < script/bweb-postgresql.sql ################ BCONSOLE NOTES ################################ You must use bconsole without conio/readline support. For that, use -the bconsole -n option. +the bconsole -n option. This is done automatically with the standard +configuration file. In addition, please ensure that the binary +bconsole file can be executed by your web server. It is normally +located in /usr/bin/bconsole (or some such file), and must have +modes 755 or it will not be executable by your web server. The +normal Bacula installation usually sets mode 750. ################ BACULA LOG #################################### -To use Bweb log engine you MUST use catalog message type. +If you want Bweb to be able to show listings of the Job output, +you must add a "catalog = all, !skipped, !saved" to your +messages resource in bacula-dir.conf and restart your Bacula +server. This is shown below: Messages { Name = Standard -- 2.39.5