Ubuntu
Version vom 6. August 2014, 13:44 Uhr von Thomas (Diskussion | Beiträge) (→Ubuntu modul übersetzen)
fehlende repository schlüssel
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
Autoupdate Deaktivieren
- /etc/apt/apt.conf.d/10periodic
APT::Periodic::Enable "0" APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0";
- /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Unattended-Upgrade "0";
Kernel Update
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc6-trusty/linux-headers-3.14.0-031400rc6_3.14.0-031400rc6.201403100035_all.deb wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc6-trusty/linux-headers-3.14.0-031400rc6-generic_3.14.0-031400rc6.201403100035_i386.deb wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc6-trusty/linux-image-3.14.0-031400rc6-generic_3.14.0-031400rc6.201403100035_i386.deb
Ubuntu modul übersetzen
apt-get install linux-source-2.6.24 build-essential tar -jxvf /usr/src/linux-source-2.6.24.tar.bz2 cd linux-source-2.6.24/drivers/usb/core perl -pi.bak -e 's/16384/131072/' devio.c make -C /lib/modules/$(uname -r)/build/ M=$(pwd) modules strip --strip-debug usbcore.ko install -m644 -b usbcore.ko /lib/modules/$(uname -r)/kernel/drivers/usb/core depmod -ae update-initramfs -k all -c
Allgemeines
- Betriebssystem: Debian oder Ubunti
- Datenbank Mysql
Installation Datenbank
apt-get install mysql-server mysql-common mysql-client
Installation bacula
apt-get install bacula-client bacula-common bacula-console bacula-director-mysql bacula-server
Testen der Installation
root@ubuntu-lts:/etc/bacula# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 4443/mysqld
tcp 0 0 0.0.0.0:9101 0.0.0.0:* LISTEN 5028/bacula-dir
tcp 0 0 0.0.0.0:9102 0.0.0.0:* LISTEN 5069/bacula-fd
tcp 0 0 0.0.0.0:9103 0.0.0.0:* LISTEN 5109/bacula-sd
Berechtigungen ändern
chown -R bacula /sicher
Konfigurationdateien unter /etc/bacula
*Sever triggert die Backups anhand dieser Datei bacula-dir.conf
*Server speichert die Backups an bestimmte Orte anhand dieser Datei bacula-sd.conf
*Auf dem Client stehen in dieser Datei die Vebindungsdaten zum Server bacula-fd.conf
*Konfigutionsdatei für die bconsole (muss nicht unbedingt auf dem Server liegen) bconsole.conf
bconsole handling
*Hilfe anzeigen help
*Volume anlegen label
*Volume löschen delete volume
*Konfigururation neu einlesen reload
*Status neu anzeigen status
*Nachrichten lesen messages
*Job starten run *Restore in eine anderes Verzeichniss restore 5: Select the most recent backup for a client mark * done mod 9