Advertisement
Guest User

Untitled

a guest
Oct 5th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cd /usr/src/bacula-9.2.1
  4.  
  5. ./configure \
  6. --enable-smartalloc \
  7. --with-postgresql \
  8. --with-db-user=bacula \
  9. --with-db-password=PASSWORD \
  10. --with-db-port=5432 \
  11. --with-readline=/usr/include/readline \
  12. --sysconfdir=/etc/bacula \
  13. --bindir=/usr/bin \
  14. --sbindir=/usr/sbin \
  15. --with-scriptdir=/etc/bacula/scripts \
  16. --with-plugindir=/etc/bacula/plugins \
  17. --with-pid-dir=/var/run \
  18. --with-subsys-dir=/etc/bacula/working \
  19. --with-working-dir=/etc/bacula/working \
  20. --with-bsrdir=/etc/bacula/bootstrap \
  21. --with-logdir=/var/log/bacula \
  22. --with-systemd \
  23. --disable-conio \
  24. --disable-nls \
  25. --with-logdir=/var/log/bacula \
  26. --with-hostname=HOSTANME \
  27. --with-dump-email=bacula@teste.com.br \
  28. --with-job-email=bacula@teste.com.br
  29.  
  30. make -j8 && make install && make install-autostart
  31.  
  32. systemctl restart bacula-{dir,fd,sd}
  33. systemctl status bacula-{dir,fd,sd}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement