Bacula Install

Si tenemos nuestra base de datos lista ya podemos instalar en la máquina que realizará los backups los siguientes paquetes: bacula director – bacula storage daemon – bacula file daemon (bacula-client) – bacula console (para administracion, pero esto tambien se puede hacer remotamente) Maquina para respaldar MySQL en localhost ( Server 1 ) # yum… Leer más »

Bacula Centos 5.1 ¿Qué es bacula ?

EPEL 5 Repository Requerido http://crysol.inf-cr.uclm.es/node/400 Bacula es un programa para hacer copias de seguridad de una máquina… pues no del todo: bacula es una colección de demonios que cooperan entre sí para realizar copias de respaldo de los archivos necesarios, sean de la máquina que sea. Para interactuar con bacula se necesita un elemento más:… Leer más »

Extra Packages for Enterprise Linux (EPEL)

EPEL is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs such as CentOS or Scientific Linux. http://fedoraproject.org/wiki/EPEL su -c ‘rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm’ … su -c ‘yum -y install foo’

Apache SElinux

ls -tls -Z Text Syntax Virtual Host Options: httpd -t httpd -S httpd: Could not reliably determine the server’s fully qualified domain name, using 192.168.1.5 for ServerNameVirtualHost configuration:wildcard NameVirtualHosts and _default_ servers:_default_:443          192.168.1.5 (/etc/httpd/conf.d/ssl.conf:81)Syntax OK Configure SElinux Contexts : Use same context as /var/www/html sudo chcon -R –reference=/var/www/html/ public_html/

Rezise LVM 2 Root Centos 5.1

Primero bootear en el cd de rescate: 1) boot: Linux Rescue 2) Omitir montar partición //cargar los volumentes lógicos # lvm vgchange -a y //Comprobar el disco duro# e2fsck -f /dev/VolGroup00/LogVol00 //Reducir el tamaño# resize2fs -f /dev/VolGroup00/LogVol00 10G //Reducir el tamaño lógico# lvm lvreduce -L10G /dev/VolGroup00/LogVol00 Crear la partición home# lvcreate -L50G -nhome /dev/VolGroup00 Formatearlamkfs… Leer más »

Usint Bash History

$ echo $HISTFILE $HISTSIZE $HISTFILESIZE/home/user/.bash_history 1000 1000 List previous number of history commands$ history 5 1033  sudo yum update 1034  echo $HISTFILE $HISTSIZE $HISTFILESIZE 1035  history 1036  echo $HISTFILE $HISTSIZE $HISTFILESIZE 1037  history 5 Ctrl + r to search a string history

Yum Command Finding Packages

$yum list available $yum list installed $yum list extras $yum list *vorbis* $yum list updates $yum info wordpress $yum info word* $yum search mp3 $yum whatprovides ogg123 $ yum grouplist