- wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- rpm -Uvh epel-release-6-8.noarch.rpm
CentOS 6.X
Para instalar Zend-Server podemos seguir el manual que se encuentra en la pagina oficial: http://files.zend.com/help/Zend-Server-5.6-Community-Edition/zend-server-community-edition.htm#rpm_installation.htm1. Instalamos de la siguiente manera:
- yum -y install httpd httpd-devel
- yum -y install mysql mysql-server
- yum -y install php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
- chkconfig httpd on
- chkconfig mysqld on
- /etc/init.d/httpd start
- /etc/init.d/mysqld start
- vim /etc/yum.repos.d/zend.repo //agregamos repo de zend
[Zend] name=zend-server baseurl=http://repos.zend.com/zend-server/6.2/rpm/$basearch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key [Zend_noarch] name=zend-server - noarch baseurl=http://repos.zend.com/zend-server/6.2/rpm/noarch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key
- rpm -qa | grep php
php-5.3.28-1.2.amzn1.x86_64 - yum -y install php5.3-zendframework
- yum install zend-server-nginx-php5.3
- Descargamos el paquete de: http://www.zend.com/en/products/server/downloads (debemos registrarnos)
- cd ZendServer-RepositoryInstaller-linux/
- ./install.sh 5.3
AMI (Amazon Web)
- Instalar requerimientos de Zend-Server
yum -y install httpd yum -y install policycoreutils-python
- Ahora editaremos un repositorio para zend:
vim /etc/yum.repos.d/zend.repo ------------------------------------------------------------ [Zend] name=zend-server baseurl=http://repos.zend.com/zend-server/6.1/rpm/$basearch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key [Zend_noarch] name=zend-server - noarch baseurl=http://repos.zend.com/zend-server/6.1/rpm/noarch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key -------------------------------------------------------------
- Procedemos a instalar el zend-common para que se instalen las dependencias
yum -y install zend-server-php-5.4-common
- Descargar los rpm de http://repos-source.zend.com/zend-server/6.2/rpm/x86_64/ (elige los que mas se adecuen a tu linux)
wget http://repos-source.zend.com/zend-server/6.2/rpm/x86_64/zend-server-php-5.4-common-6.2.0-2002.x86_64.rpm wget http://repos-source.zend.com/zend-server/6.2/rpm/x86_64/zend-server-php-5.4-6.2.0-2002.x86_64.rpm wget http://repos-source.zend.com/zend-server/6.2/rpm/x86_64/mod-php-5.4-apache2-zend-server-5.4.21-20.x86_64.rpm
- Ahora instalaremos el Zend Server (en el paso 4 lo descargamos) actualizando el common
rpm -Uvh zend-server-php-5.4-common-6.2.0-2002.x86_64.rpm rpm -Uvh zend-server-php-5.4-6.2.0-2002.x86_64.rpm mod-php-5.4-apache2-zend-server-5.4.21-20.x86_64.rpm –replacefiles
Ahora corroboramos que los servicios este corriendo, sino los levantamos
[root@ip-172-31-13-18 ec2-user]# /etc/init.d/httpd status httpd (pid 19511) is running... [root@ip-172-31-13-18 ec2-user]# /etc/init.d/zend-server status [15.01.2014 17:51:35 SYSTEM] watchdog for monitor is running. [15.01.2014 17:51:35 SYSTEM] monitor is running. httpd (pid 19511) is running... [15.01.2014 17:51:35 SYSTEM] watchdog for lighttpd is running. [15.01.2014 17:51:35 SYSTEM] lighttpd is running. [15.01.2014 17:51:35 SYSTEM] watchdog for scd is running. [15.01.2014 17:51:35 SYSTEM] scd is running. [15.01.2014 17:51:35 SYSTEM] watchdog for zdd is running. [15.01.2014 17:51:35 SYSTEM] zdd is running. [15.01.2014 17:51:35 SYSTEM] watchdog for jqd is running. [15.01.2014 17:51:35 SYSTEM] jqd is running. [15.01.2014 17:51:35 SYSTEM] watchdog for zsd is running. [15.01.2014 17:51:35 SYSTEM] zsd is running.
En cualquiera de los 2 casos podemos probar que se halla instalado correctamente generando un script con el phpinfo() en la ruta de tu apache que generalmente es: /var/www/html/, donde deberemos observar que el archivo de configracion se encuentra en /usr/local/zend/etc/php.ini
Para acceder, por navegador solo pones la ip, si no carga verifica que tienes el servicio iniciado.
Saludos.
No hay comentarios:
Publicar un comentario