Hi all,
Here's a Little help for those who wants to use bacula for the first time
how to install it from the beginning:
I used Centos 5.6
UPDATE
- yum update
- yum install wget bzip2 unzip zip nmap openssl fileutils gcc gcc-c++
MYSQL
- yum install mysql mysql-devel mysql-server
- chkconfig --levels 235 mysqld on
- /etc/init.d/mysqld start
- mysql_secure_installation
. Enter current password for root (ENTER)
. Set root password? [Y/n] (ENTER)
. New password:
. Re-enter new password:
. Remove anonymous users? [Y/n] (ENTER)
. Disallow root login remotely? [Y/n] (ENTER)
. Remove test database and access to it? [Y/n] (ENTER)
. Reload privilege tables now? [Y/n] (ENTER)
PHP
- yum install php php-devel php-gd php-imap php-ldap php-mysql
php-odbc php-pear php-xml php-xmlrpc php-pgsql curl curl-devel
perl-libwww-perl ImageMagick libxml2 libxml2-devel
- nano /etc/httpd/conf/httpd.conf
. DirectoryIndex index.html index.htm index.shtml index.cgi
index.php index.php3 index.pl
- chkconfig --levels 235 httpd on
- /etc/init.d/httpd start
WEBMIN SSL
- yum install perl-Net-SSLeay perl-Crypt-SSleay
- rpm --import http://www.webmin.com/jcameron-key.asc
- nano /etc/yum.repos.d/webmin.repo
. [webmin]
. name=Webmin Distribution Neutral
. baseurl=http://download.webmin.com/download/yum
. enabled=0
- yum --enablerepo=webmin install webmin
- nano /etc/webmin/miniserv.conf
. port=55555
- /etc/init.d/webmin stop
- /etc/init.d/webmin start
QT4 (FOR BAT ON BACULA)
- rpm -ivh
http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm
- yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc
qt4-postgresql qt4-odbc qt4-sqlite qt-creator
- DOWNLOAD DEPKGS-QT FROM BACULA PAGE
- UNTAR DEPKGS-QT
- mkdir /etc/bacula
- COPY DEPKGS-QT on /etc/bacula/
- export QTDIR=/etc/bacula/depkgs-qt/qt4
- export PATH=$QTDIR/bin:$PATH
BACULA
- mkdir /etc/bacula/working
- mkdir /etc/bacula/bin
- mkdir /etc/bacula/bin/working
- ./configure --enable-smartlloc --enable-batch-insert --enable-conio
--enable-bat --sbindir=/etc/bacula/bin --sysconfdir=/etc/bacula/bin
--with-pid-dir=/etc/bacula/bin/working
--with-subsys-dir=/etc/bacula/bin/working --with-mysql
--with-working-dir=/etc/bacula/working --enable-bwx-console
--with-dump-email=mail AT domain DOT com --with-job-email= mail AT domain DOT
com
--with-smtp-host=mail.domain.com --with-db-user=root
- make
- make install
- make install-autostart
I hope that this will help a lot of people, I'm new using linux and also
Bacula so if someone can correct my steps, welcome.
Best regards.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|