Archivo de la categoría: CentOS

Installing Xen On CentOS 5.0 (i386)

http://www.howtoforge.com/centos_5.0_xen xm list virt-install xm console vm01 after the installation, we stay at the vm01 console. To leave it, type CTRL+] if you are at the console, or CTRL+5 if you’re using PuTTY. You will then be back at the dom0 console. xm shutdown vm01 To start vm01 again, run:xm create /etc/xen/vm01 Autostart Virtual Machine:ln… Leer más »

epel x86_64 repository

su -c ‘rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-2.noarch.rpm’ yum -y install foo http://fedoraproject.org/wiki/EPEL/ http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/

Recover Root Passwd Centos

1. the first step is to reboot server.2. Since the server i inherit has GRUB, wait until the grub splash screen comes on and hit the letter ‘e’ on your keyboard. this will stop grub.3. hit ‘e’ again and this will take you to another screen4. you should see one of the choices has «kernel»… Leer más »

OpenVPN Centos

http://www.ecualug.org/?q=2007/02/06/comos/centos/c_mo_instalar_y_configurar_openvpn EPEL repository yum install openvpn Aunque OpenVPN es muy sencillo de configurar e instalar, podemos dividir su forma de trabajo en 3 tipos: 1. Host a Host: Es el método más simple, nos permite encriptar la comunicación entre dos PC las cuales deberán solamente tener conexión; es decir: ambas PC deben poderse enviar paquetes… 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 »