Sei sulla pagina 1di 6

Post-Instalacin de Centos

DESACTIVANDO SELINUX EN CENTOS


vim /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

GUARDANDO, DETENIENDO Y DESACTIVANDO FIREWALL CON IPTABLES


service iptables save
service iptables stop
chkconfig iptables off
service ip6tables save
service ip6tables stop
chkconfig ip6tables off
DESACTIVANDO SERVICIOS INNECESARIOS
service NetworkManager stop
chkconfig NetworkManager off
service postfix stop
chkconfig postfix off
service bluetooth stop
chkconfig bluetooth off
service cups stop
chkconfig cups off
service nfslock stop
chkconfig nfslock off

ACTUALIZANDO SISTEMA TOTAL


yum -y update
INSTALANDO REPOSITORIOS OPCIONALES
RPMFORGE

rpm -ivh
http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_6
4.rpm
rpm -ivh
http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.r
pm
EPEL

rpm -ivh
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh
http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
REMI

rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm


IUS

rpm -ivh
http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.i
us.centos6.noarch.rpm
rpm -ivh
http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/i386/ius-release-1.0-13.ius.
centos6.noarch.rpm
EJEMPLO DE INSTALACION CON YUM, USANDO REPO REMI

yum --enablerepo=remi install php-tcpdf


CHEQUEANDO LISTAS DE REPOSITORIOS

yum repolist
CAMBIAR HORA Y FECHA DEL SISTEMA
date --set "2007-05-27 17:27"

CAMBIAR HORA Y FECHA DEL SISTEMA DEL BIOS


hwclock --set --date="2007-05-27 17:27"
hwclock --set --date="`date '+%D %H:%M:%S'`"
PROBAR
hwclock
LOCALIZACIN
vim /etc/sysconfig/i18n
Busque LANG="es_ES.UTF-8":
LANG="es_ES.UTF-8"
Cambie LANG="es_ES.UTF-8" por LANG="es_PE.UTF-8":
LANG="es_PE.UTF-8"
Edite:

vim /boot/grub/menu.lst
Busque LANG=es_ES.UTF-8:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
#
all kernel and initrd paths are relative to /boot/, eg.
#
root (hd0,0)
#
kernel /vmlinuz-version ro root=/dev/sda2
#
initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$xU.tiAbo$5a88IZ2yKPvtdYG5ldAmi/
title centos (2.6.32-279.el6.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=UUID=09c6dc39-a62b-409e-8306-5344640cd104 rd_LVM_LV=
Swap/LogVol00 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=es_ES.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBO
ARDTYPE=pc KEYTABLE=la-latin1 crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-279.el6.i686.img

Cambie LANG=es_ES.UTF-8 por LANG=es_PE.UTF-8:


grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
#
all kernel and initrd paths are relative to /boot/, eg.
#
root (hd0,0)
#
kernel /vmlinuz-version ro root=/dev/sda2
#
initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$xU.tiAbo$5a88IZ2yKPvtdYG5ldAmi/
title centos (2.6.32-279.el6.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=UUID=09c6dc39-a62b-409e-8306-5344640cd104 rd_LVM_LV
=Swap/LogVol00 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=es_PE.UTF-8 SYSFONT=latarcyrheb-sun16 KEY
BOARDTYPE=pc KEYTABLE=la-latin1 crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-279.el6.i686.img

Reinicie sistema para que surtan efecto los cambios.

reboot
MODIFICANDO GRUB
vim /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
#
all kernel and initrd paths are relative to /boot/, eg.
#
root (hd0,0)
#
kernel /vmlinuz-version ro root=/dev/sda2
#
initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0

timeout=60

splashimage=(hd0,0)/grub/splash.xpm.gz

#hiddenmenu

password --md5 $1$xU.tiAbo$5a88IZ2yKPvtdYG5ldAmi/

title centos CURSO VIRTUAL (2.6.32-279.el6.i686)

root (hd0,0)
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=UUID=09c6dc39-a62b-409e-8306-5344640cd104 rd_LVM_LV=Swap/L
ogVol00 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=es_ES.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEY
TABLE=la-latin1 crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-279.el6.i686.img

CAMBIANDO PLYMOUTH
LISTANDO TEMAS

plymouth-set-default-theme --list
details
fade-in
rings
script
solar
spinfinity
text
INSTALANDO Y ACTIVANDO EL TEMA RINGS

yum -y install plymouth-theme-rings


plymouth-set-default-theme rings
/usr/libexec/plymouth/plymouth-update-initrd
INSTALANDO Y ACTIVANDO EL TEMA SOLAR

yum -y install plymouth-theme-solar


plymouth-set-default-theme solar
/usr/libexec/plymouth/plymouth-update-initrd
CAMBIAR RESOLUCION VGA EN GRUB

vim /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
#
all kernel and initrd paths are relative to /boot/, eg.
#
root (hd0,0)
#
kernel /vmlinuz-version ro root=/dev/sda2
#
initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$xU.tiAbo$5a88IZ2yKPvtdYG5ldAmi/
title centos (2.6.32-279.el6.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=UUID=09c6dc39-a62b-409e-8306-5344640cd104 vga=0x379
rd_LVM_LV=Swap/LogVol00 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=es_MX.UTF-8 SYSFONT=latarcyrheb-sun1
6 KEYBOARDTYPE=pc KEYTABLE=la-latin1 crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-279.el6.i686.img

Tipos de resoluciones: vga=0x315 (800x600), vga=0x317 (1024x768), vga= 0x344 (1280x1024)


vga=0x36d (1440x900)

COMPLEMENTANDO UNA INSTALACIN MNIMA DE CENTOS 6


yum -y install system-config-firewall-tui openssh-clients system-config-network-tui
bind-utils policycoreutils-python selinux-policy-targeted selinux-policy-mls
vim-enhanced wget system-config-services system-config-date
system-config-printer system-config-lvm system-config-language
system-config-keyboard cups-pk-helper policycoreutils-gui
INSTALANDO GNOME EN UNA INSTALACIN MNIMA DE CENTOS 6
yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
"GNOME Desktop Environment"

yum -y groupinstall x11 basic-desktop general-desktop desktop-platform x11 fonts


INSTALANDO MODO GRFICO XFCE
yum groupinstall Xfce (con repo epel)
yum install xorg-x11-fonts-Type1 xorg-x11-fonts-misc
startxfce4 (iniciando xfce)
MULTIMEDIA CON CENTOS
yum install compat-libstdc++-33 libdvdcss libdvdread libdvdplay libdvdnav
lsdvdlibquicktime flash-plugin mplayerplug-in mplayer mplayer-gui
gstreamer-ffmpeggstreamer-plugins-bad gstreamer-plugins-ugly
INSTALANDO CODECS EN CENTOS 6 32BITS (W32CODECS)
rpm -ivh
www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.
rpm
rpm -ivh
www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1
.i386.rpm
INSTALANDO CODECS EN CENTOS 6 64BITS (W32CODECS)
rpm -ivh
http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-200610221.x86_64.rpm
rpm -ivh
http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-2006
1022-1.x86_64.rpm

Potrebbero piacerti anche