Centos7.2 installation of Bacula and Bacula-web

Source: Internet
Author: User

ServerD End Mount (CENTOS7)
Turn off SELinux (important)
To install the package:
Yum install mariadb-server mariadb-devel mariadb gcc gcc-c++
Systemctl Start Mariadb.service
Systemctl Enable Mariadb.service

Install Bacula:
Tar zxvf bacula-7.4.0.tar.gz
CD bacula-7.4.0
./configure--prefix=/opt/bacula--with-mysql
Make && make install
Make Install-autostart
Cd/opt/bacula/etc
./create_mysql_database
./grant_mysql_privileges
./make_mysql_tables

Start:
./bacula Start
Vi/etc/rc.d/rc.local
/opt/bacula/etc/bacula start

Configuration database:
Mysql-u root-p
Mysql>use MySQL;
Mysql>update user SET Password=password ("Bacula") WHERE user= ' Bacula ';
Mysql>flush privileges;
Mysql>update user SET Password=password ("[email protected]") WHERE user= ' root ';
mysql>quit;

Baculum Installation:
To add a baculum repository, you must first import the Baculum public key:
RPM--import Http://bacula.org/downloads/baculum/baculum.pub

To add a baculum repository:
Vi/etc/yum.repos.d/baculum.repo
[Baculumrepo]
Name=baculum CentOS Repository
Baseurl=http://bacula.org/downloads/baculum/centos
Gpgcheck=1
Enabled=1

Reference: http://www.bacula.org/7.4.x-manuals/en/console/Baculum_Web_GUI_Tool.html#SECTION00334000000000000000
Install Baculum:
Yum Install Baculum baculum-httpd
Systemctl Start httpd

To increase access rights:
Vi/etc/sudoers.d/baculum
Defaults:apache!requiretty
Apache ALL=NOPASSWD:/opt/bacula/etc/bconsole
Vi/etc/sudoers
# Defaults Requiretty # comment out
Apache All= (All) Nopasswd:all #增加

Configuration page:
http://localhost:9095

Install Webmin:
RPM-UVH webmin-1.690-1.noarch.rpm








#################################################
Client Installation:
Tar zxvf bacula-7.4.0.tar.gz
CD bacula-7.4.0
./configure--prefix=/opt/bacula/--enable-client-only
Make && make install
Make Install-autostart
Vi/etc/rc.d/rc.local
/opt/bacula/etc/bacula start

Centos7.2 installation of Bacula and Bacula-web

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.