Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Bareosのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Bareos
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:バックアップ]] [[Category:データ圧縮とアーカイブ]] [[en:Bareos]] [[ru:Bareos]] '''Bareos''' ('''B'''ackup '''A'''rchiving '''Re'''covery '''O'''pen '''S'''ourced) は、元々 Bacula プロジェクトからフォークされたバックアップソフトウェアです。これはネットワークベースのマルチクライアントであり、スケーラビリティを重視したアーキテクチャを備えた非常に柔軟性があります。したがって、学習曲線はやや急勾配と見なされる可能性があります。このプロジェクトは、ドイツに拠点を置く商業会社 Bareos GmbH&Co.KG によって支援されています。 オープンソースプロジェクトサイトは https://www.bareos.com/ にあり、ソースコードは Github https://github.com/bareos/ でホストされています。 == インストール == インストールするためのパッケージは [https://aur.archlinux.org/pkgbase/bareos AUR のパッケージ群] がありますが、動作させるためには若干の手作業が必要です。[[MariaDB]]/MySQL はバージョン 19.0 で非推奨となったため、Bareos は [[PostgreSQL]] と共に使用することが推奨されています。 [[インストール]] 最初の要件: * {{Pkg|apache}} Apache ウェブサーバ * {{Pkg|php7-apache}} Apache PHP モジュール * {{Pkg|postgresql}} PostgreSQL データベース * {{Pkg|php7-pgsql}} PostgreSQL PHP 用のモジュール [[Arch User Repository]] からパッケージをインストール: * {{AUR|bareos-bconsole}} * {{AUR|bareos-common}} * {{AUR|bareos-database-common}} * {{AUR|bareos-database-postgresql}} * {{AUR|bareos-tools}} * {{AUR|bareos-director}} * {{AUR|bareos-filedaemon}} * {{AUR|bareos-storage}} * {{AUR|bareos-tools}} * {{AUR|bareos-webui}} == Configuration == === Pre-Configuration === Minimal configuration for [[Apache HTTP Server]] and [[PHP]]: * Follow the steps described in [[Apache HTTP Server#Using libphp]] * You will also need to enable the {{ic|rewrite}} module, to do this, modify {{ic|/etc/httpd/conf/httpd.conf}} and uncomment: LoadModule rewrite_module modules/mod_rewrite.so To use PHP7, you also need to make the following fixes: # PHP7 #LoadModule mpm_event_module modules/mod_mpm_event.so LoadModule mpm_prefork_module modules/mod_mpm_prefork.so LoadModule php7_module modules/libphp7.so Include conf/extra/php7_module.conf # bareos-webui Include conf/extra/bareos-webui.conf * Then enable the {{ic|postgresql}} extension in PHP as listed in [[PHP#PostgreSQL]] * And enable the {{ic|gettext}} extension in PHP Fixes in /etc/php7/php.ini: open_basedir = /usr/share/bareos-webui/:/etc/bareos-webui/ extension=gettext extension=pgsql Minimal configuration for [[PostgreSQL]] * Initialize the database by following [[PostgreSQL#Initial configuration]] Make sure both {{ic|httpd.service}} and {{ic|postgresql.service}} are [[enable]]d and [[start]]ed === Initial setup === These steps mostly follow the [https://docs.bareos.org/IntroductionAndTutorial/InstallingBareos.html Instructions] from docs.bareos.org, and include some Arch-specifics. * Setup the Bareos database $ /usr/lib/bareos/scripts/create_bareos_database $ /usr/lib/bareos/scripts/make_bareos_tables $ /usr/lib/bareos/scripts/grant_bareos_privileges * Copy default configuration files to the {{ic|/etc/bareos/}} directory # cp -r /usr/share/bareos/config/* /etc/bareos/ # chown -R bareos:bareos /etc/bareos * Set the correct DB driver in the catalog configuration file {{hc|/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf|2=dbdriver = "postgresql"}} * Now [[enable/start]] {{ic|bareos-dir.service}}, {{ic|bareos-sd.service}} and {{ic|bareos-fd.service}} === Configure Web-UI === ==== Add a user for the webui ==== * to start the interactive management shell, run: $ bconsole * inside the shell, you get a {{ic|*}} as prompt, where you can enter the following commands (replace {{ic|''secret''}} with an actual password): *reload *configure add console name=admin password=''secret'' profile=webui-admin tlsenable=false *quit ==== Setup Apache ==== * we need to fix a path in two lines: {{hc|/etc/httpd/conf.d/extra/bareos-webui.conf| Alias /bareos-webui /usr/share/'''webapps/'''bareos-webui/'''public''' # ... <Directory /usr/share/'''webapps/'''bareos-webui/'''public'''> }} * in the file {{ic|/etc/httpd/conf/httpd.conf}} add the line: Include conf.d/extra/bareos-webui.conf * [[restart]] Apache {{ic|httpd.service}} Now you can now login to Bareos Webui at {{ic|<nowiki>http://localhost/bareos-webui/</nowiki>}} and login using the account you just created with {{ic|bconsole}}.
このページで使用されているテンプレート:
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:TranslationStatus
(
ソースを閲覧
)
Bareos
に戻る。
検索
検索
Bareosのソースを表示
話題を追加