How to Install EPEL Repository on CentOS

1. Installing  EPEL Repository Install EPEL Repository On 32-bit CentOS Linux 5.5: # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Install EPEL Repository On 64-bit CentOS Linux 5.5: # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm Sample Output: [root@gembul ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Retrieving http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Preparing…             ########################################### [100%] 1:epel-release           ########################################### [100%] 2. Check and updating your repository list, make sure the epel.repo has […]

Instalar mcrypt en PHP 5.3.3 on CentOS

Para verificar si se encuentra disponible el paquete en los repositorios: yum list php* | grep mcry De estar disponible se procede a la instalacion del paquete mediante: yum install php53-mcrypt yum install php-mcrypt Con la siguiente linea se puede agregar el repositorio para poder realizar la instalación rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum install php53-mcrypt

Linux Change Hostname

How do I change hostname under Linux operating system? You need to use the hostname command. It is used to either set or display the current host or domain name of the system. The hostname is used by many of the networking programs (such as sendmail, Apache servers) to identify the machine. Display Hostname Type […]

Permanent hostname change on RedHat based systems

RedHat based system use the file /etc/sysconfig/network to read the saved hostname at system boot. This is set using the init script /etc/rc.d/rc.sysinit /etc/sysconfig/network NETWORKING=yes HOSTNAME=»plain.domainname.com» GATEWAY=»192.168.0.1″ GATEWAYDEV=»eth0″ FORWARD_IPV4=»yes»

Nuevo repositorio de CentOS 6 con actualizaciones

Los desarrolladores de CentOS han anunciado la puesta en marcha de un nuevo repositorio de actualizaciones para CentOS 6 — CR o Continuos Release. Como se sabe después de la salida de RHEL 6.1 los usuarios de CentOS 6.0 han quedado sin actualizaciones porque según el modelo de desarrollo anterior de CentOS las actualizaciones solo […]

Instalar editor Joe en CentOS 6

Habilitar el repositorio: epel-release – Extra Packages for Enterprise Linux repository configuration rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

Creacion de tablas con valores predeterminados e indices

CREATE TABLE dbo.status_tabla ( id int NOT NULL, status_tabla nvarchar(50) NOT NULL )  ON [PRIMARY] GO ALTER TABLE dbo.status_tabla ADD CONSTRAINT PK_status_tabla PRIMARY KEY CLUSTERED ( id ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO CREATE UNIQUE NONCLUSTERED INDEX IX_status_tabla ON dbo.status_tabla ( status_tabla ) WITH( […]