X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fbweb%2Finstall_bweb;h=02fd82eabbc194529932447229ea442075e8b837;hb=fc38e616ac9d15862d06718521fc458b6a722969;hp=501f9b7b501dbecc71525208fbb1fe21ebb000b3;hpb=daa73b2fdc6d4f6a27f467215a3a16518b76d294;p=bacula%2Fbacula diff --git a/gui/bweb/install_bweb b/gui/bweb/install_bweb index 501f9b7b50..02fd82eabb 100755 --- a/gui/bweb/install_bweb +++ b/gui/bweb/install_bweb @@ -42,7 +42,7 @@ fi # Normally you should not need to change the following # # first, copy the bweb perl library into your PERL5 INC path -sed -i "s!/etc/bacula!${CONF_DIR!" lib/Bweb.conf +sed -i "s!/etc/bacula!${CONF_DIR}!" lib/Bweb.pm perl Makefile.PL make install @@ -115,12 +115,17 @@ fi install -m 644 -o root -g root html/*.{js,png,css,gif,ico,html} ${WEB_DIR}/bweb echo " " -echo "Please edit /etc/bweb.conf and ensure that all the paths to" +echo "Please edit ${CONF_DIR}/bweb.conf and ensure that all the paths to" echo " the various programs and files such as bconsole, bconsole.conf" echo " are correct, and that the DBI driver is correct (default mysql)" echo " and has the right password for your DB" echo " " - - +echo "You have to load sql scripts (in bweb/script) to your database with" +echo " something like :" +echo " root# mysql bacula < script/bweb-mysql.sql" +echo " or" +echo " postgres# echo 'CREATE PROCEDURAL LANGUAGE plpgsql;' | psql bacula" +echo " postgres# psql -U bacula -P passwd < script/bweb/bweb-postgresql.sql" +echo " " # done !