Páginas

jueves, mayo 15, 2014

Configurar ejecucion de servicios en linux centos 6.4

Para activar los servicios durante el arranque de Linux CentOS debo configurar los
niveles de ejecución los cuales son 7 iniciando en 0.
 
# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 


Para este caso iniciar con 2 es similiar a iniciar con 3 por lo tanto prefiero 
runlevel utilizar 3 y 4 esto permitira que apache inicie durante el arranque al igual 
mysql. 
 
 
 
chkconfig --level 34 httpd on
chkconfig --level 34 mysqld on