2021年11月8日 星期一

Bacula web report: baculum installation

Reference:
 
baculum是bacula的web頁面,只能查看備份任務的資訊,不能修改備份任務。
 
步驟:
  • rpm --import http://bacula.org/downloads/baculum/baculum.pub
  • vi /etc/yum.repos.d/baculum.repo
    • [baculumrepo]
      name=Baculum CentOS repository
      baseurl=https://www.bacula.org/downloads/baculum/stable-11/centos/
      gpgcheck=1
      enabled=1
  • yum install baculum-web baculum-web-httpd baculum-web-lighthttpd baculum-web-selinux -y
  • yum install baculum-api baculum-api-httpd baculum-api-lighthttpd baculum-api-selinux -y
  • systemctl start httpd
  • systemctl enable httpd
  • 調整 firewalld
    • firewall-cmd --zone=public --add-port=9095/tcp --permanent
      firewall-cmd --zone=public --add-port=9096/tcp --permanent
      firewall-cmd --reload
  • vi /etc/group
    • bacula:x:996:bacula,apache #讓httpd有權限存取/etc/bacula/*.conf
  • 連線到 http://<Your IP>:9096/ 設定 baculum-api
    • 預設帳密 admin / admin
    • Do you want to setup and to share the Bacula Catalog Database access for this API instance? => Yes
    •  
    • 填入bacula DB的連線帳號
    • Baculum working directory for Bacula config: /etc/baculum/Config-api-apache
  • 連線到 http://<Your IP>:9095/ 設定 baculum-web
    • 預設帳密 admin / admin

沒有留言:

張貼留言