Como vai Wanderlei? Uso Bareos ao invez do bacula somente por causa da interface grafica. Estou usando os passos abaixo para instalação via repositorio DEB:

DIST=Debian_7.0
DATABASE=mysql
URL=http://download.bareos.org/bareos/release/latest/$DIST/
printf "deb $URL /\n" > /etc/apt/sources.list.d/bareos.list
wget -q $URL/Release.key -O- | apt-key add -
aptitude update
aptitude install bareos bareos-database-$DATABASE  bareos-webui


vi ~/.my.cnf
[client]
host=localhost
user=root
password=senharoot


/usr/lib/bareos/scripts/create_bareos_database
/usr/lib/bareos/scripts/make_bareos_tables
/usr/lib/bareos/scripts/grant_bareos_privileges

mysql -u root -p
use bareos;
grant all privileges on localhost to bareos@localhost identified by 'senha_do_bareos';
FLUSH PRIVILEGES;

vi /etc/bareos/bareos-dir.conf
dbdriver = "mysql"
  dbname = "bareos"
  dbuser = "bareos"
  dbpassword = "senha_do_bareos"

cd
/etc/bareos/bareos-dir.d
Defina a senha de acesso via web em:  webui-profiles.conf

Segui os procedimentos com base em:
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#QQ2-1-29

Para ver as versões disponiveis "prontas" para instalar via Yum, apt ou Windows cliente estão em:
http://download.bareos.org/bareos/release/15.2/

Demais arquivos são como do Bacula.


Em 29/03/2016 14:19, Wanderlei Huttel escreveu:
Hello Guys

I'm trying to compile Bareos from source but I can't enable JANSSON.
I'm doing something wrong?

  ###################
  ./configure \
  --enable-smartalloc \
  --with-mysql \
  --with-db-user=bareos \
  --with-db-password=bareos \
  --with-db-port=3306 \
  --with-readline=/usr/include/readline \
  --sysconfdir=/etc/bareos \
  --sbindir=/sbin \
  --with-scriptdir=/etc/bareos/scripts \
  --with-plugindir=/etc/bareos/plugins \
  --with-pid-dir=/etc/bareos/working \
  --with-subsys-dir=/etc/bareos/working \
  --with-working-dir=/etc/bareos/working \
  --with-systemd \
  --with-jansson \
  --disable-conio \
  --with-logdir=/var/log/bareos \
  --disable-nls
###################

root@debian:/usr/src/bareos# dpkg-query -l | grep jansson
ii  libjansson-dbg:amd64              2.7-1                                
amd64        C library for encoding, decoding and manipulating JSON data (debug)
ii  libjansson-dev:amd64              2.7-1                                
amd64        C library for encoding, decoding and manipulating JSON data (dev)
ii  libjansson4:amd64                 2.7-1                                
amd64        C library for encoding, decoding and manipulating JSON data
root@debian:/usr/src/bareos#


Best Regards
Wanderlei


--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to