Chinaunix首页 | 论坛 | 博客
  • 博客访问: 179491
  • 博文数量: 32
  • 博客积分: 3453
  • 博客等级: 上尉
  • 技术积分: 244
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-04 21:27
文章分类
文章存档

2011年(8)

2010年(24)

分类: 服务器与存储

2010-04-26 02:44:52

基于最新的3.0.1版本bacula安装过程记录

3.0.1版本发布于2009.4.30日

请到官方网站下载适合自己的版本

# 编译:
./configure \
  –sbindir=/usr/sbin \
  –sysconfdir=/etc/bacula \
  –with-scriptdir=/etc/bacula \
  –enable-smartalloc \
  –with-mysql=/usr/local/mysql \
  –with-working-dir=/var/bacula \
  –with-pid-dir=/var/run \
  –enable-conio

 

Configuration on Wed Jul  1 17:19:19 CST 2009:

   Host:                    i686-pc-linux-gnu — redhat
   Bacula version:          Bacula 3.0.1 (30 April 2009)
   Source code location:    .
   Install binaries:        /usr/sbin
   Install libraries:       /usr/lib
   Install config files:    /etc/bacula
   Scripts directory:       /etc/bacula
   Archive directory:      
   Working directory:       /var/bacula
   PID directory:           /var/run
   Subsys directory:        /var/lock/subsys
   Man directory:           ${datarootdir}/man
   Data directory:          /usr/share
   Plugin directory:        /usr/lib
   C Compiler:              gcc 4.1.2
   C++ Compiler:            /usr/bin/g++ 4.1.2
   Compiler flags:           -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti
   Linker flags:            
   Libraries:               -lpthread -ldl
   Statically Linked Tools: no
   Statically Linked FD:    no
   Statically Linked SD:    no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database type:           MySQL
   Database port:           
   Database lib:            -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz
   Database name:           bacula
   Database user:           bacula

   Job Output Email:        
   Traceback Email:         
   SMTP Host Address:       localhost

   Director Port:           9101
   File daemon Port:        9102
   Storage daemon Port:     9103

   Director User:          
   Director Group:         
   Storage Daemon User:    
   Storage DaemonGroup:    
   File Daemon User:       
   File Daemon Group:      

   SQL binaries Directory   /usr/local/mysql//bin

   Large file support:      yes
   Bacula conio support:    yes -ltermcap
   readline support:        no
   TCP Wrappers support:    no
   TLS support:             yes
   Encryption support:      yes
   ZLIB support:            yes
   enable-smartalloc:       yes
   enable-lockmgr:          no
   bat support:             no
   enable-gnome:            no
   enable-bwx-console:      no
   enable-tray-monitor:     no
   client-only:             no
   build-dird:              yes
   build-stored:            yes
   ACL support:             yes
   XATTR support:           yes
   Python support:          no
   Batch insert enabled:    yes

# make install
      

   done
make[1]: Leaving directory `/home/web/bacula-3.0.1/manpages’

./grant_mysql_privileges -p
输入密码
[root@localhost bacula]# ./create_mysql_database -p
Enter password:
Creation of bacula database succeeded.

[root@localhost bacula]# ./make_mysql_tables -p
Enter password:
Creation of Bacula MySQL tables succeeded.

到此安装整个系统已经完成

阅读(1841) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~