Application Developer Blog

Informações e Inovações - Novidades, curiosidades do mundo (digital), Cinema, Filmes, Livros , Mobile, etc...

Tecnologia -> UBUNTU-> Desenvolvimento -> PHP -> ZendFrameWork -> Introducing Drupal to Zend Zerver CE 5, How to


Introducing Drupal to Zend Zerver CE 5, How to

In this blog post I will explain how to create a guide on how to install Drupal on a Linux Server ( I choose Ubuntu 8.04 amd64 but any Linux distro will work just fine) but instead of using all the PHP packages bundled with this Linux distribution, we will be using Zend Server which is an Application Sever built for  PHP by Zend.

So, once you have set up Ubuntu, let's login as the root user typing the following command:
  
    $ sudo -s

Cool , now that we have all the privileges, let's add the Zend Server repository to our sources list by typing:
  
    # nano /etc/apt/sources.list

At the end of the file add the following lines:
  
    #Zend Server
    deb http://repos.zend.com/zend-server/deb server non-free

Save and exit.

Once we added the repository we also need to add the public key for it, we do so by typing:
  
    # wget http://repos.zend.com/deb/zend.key -O- |apt-key add -

Great, now we have added Zend Server to our package sources, we need to update our local repository by typing:
  
    # aptitude update

After updating our system we can start with the package installation, you can choose either install php version 5.2 or php version 5.3 by typing:

    # aptitude install zend-server-ce-php-5.2 (for php 5.2) or

    # aptitude install zend-server-ce-php-5.3 (for php 5.3)
    *note: this command will also install apache 2 web server automatically

For this guide we will use php v 5.2 since its the more stable version for the current Drupal release (6.x).

The commands above will install all the relevant packages for Zend Server CE but we also need some extra packages required by Drupal, we can install them by typing:

    # aptitude install php-5.2-extra-extensions-zend-server-ce

Well, that’s it, we now have successfully installed Zend Server Community Edition plus Apache 2 on our system, you can access Zend Server's Web Interface via your web browser at:
  
    https://localhost:10082/ZendServer (secure) or
    http://localhost:10081/ZendServer

To start/stop the zend server service run:
  
    $ sudo /etc/init.d/zend-server start
    $ sudo /etc/init.d/zend-server stop
    $ sudo /etc/init.d/zend-server restart

By default on Ubuntu all the files for the Zend Server will be located on your system in the next folder:

    /usr/local/zend (root folder for zend server)
    /usr/local/zend/etc/ (php.ini)
    /usr/local/zend/etc/ext.d/ (extensions config files)

Now let's configure it a little so we can expand our Drupal installation capabilities.

Drupal itself, requires a PHP extension called uploadprogress to track a file upload progress, we can easily install this extension usign Zend Server's bundled PECL installer by typing:

    # /usr/local/zend/bin/pecl install uploadprogress
    *note: to run the command above make sure you have installed on your Ubuntu a C compiler otherwise the command will fail. If not sure if there's any C compiler installed try installing first the build essentials package for Ubuntu by typing: 
  
        #  aptitude install build-essential

Once uploadprogress extension is installed, you can enable it through Zend Server's Web Interface on the extensions page.

Next, we can install APC to our system so Drupal can take advantage of this php caching system, we do so by typing:

    # aptitude install php-5.2-apc-zend-server

After installing APC we need to increase a little the default memory size of APC by editing its config file:

    # nano /usr/local/zend/etc/ext.d/apc.ini

Add this line to the end of the file:
  
    apc.shm_size="64"

Save and exit.

Awesome! You have now a robust LAMP architecture for your Drupal Projects or any other PHP application. You also may want to install Mysql on your system, do it by typing as root user:

    # aptitude install mysql-server
Enviar por e-mailPostar no blog!Compartilhar no XCompartilhar no FacebookCompartilhar com o Pinterest
Marcadores: UBUNTU, Zend, Zend Framework, ZendFramework
Postagem mais recente Postagem mais antiga Página inicial

Vinde a mim...

"...tomai o vosso pai e as vossas familias e vinde a mim; e eu vos darei o melhor da terra do Egito, e comereis da fartura da terra."
"A mente que se Abre a uma nova idéia, jamais voltará ao seu tamanho original." Albert Einsten

Total de visualizações

Busca Rápida

000001 (1) 000004 (1) 000005 (1) 000006 (1) 10.04 (1) 11.04 (3) 11.10 (5) 3D (1) Acesso Remoto (1) ADMINISTRAÇÃO (1) Adobe (6) AGENDA (1) AJAX (14) Alimentação (1) Aline Barros (1) Android (1) Annotation (1) APACHE2 (7) Apostila (1) Arca Universal (3) Assalto (1) Atualização (1) Axis (2) Axis2 (2) BarCode (2) Barras (2) Bebes (6) Bíblia (1) Bispo Macedo (4) Bispo Macedo Blog do Bispo Macedo (1) Bispo Romualdo (3) Blog do Bispo Macedo (2) BLOQUEAR (1) BLOQUEIO (1) BOLETO (2) BOX FREE (2) BOX.NET (2) br office (2) brincadeiras (1) broffice (2) Bruna (1) CAKE PHP (1) Camila (2) Caminho de Milagres (1) Cantos Arredondados (1) Centro (1) Ciência (3) Cinema (3) Cinema Lançamento (3) Code Generator (2) Codigo de Barras (2) Conexão (2) Converter (1) Corpo (5) Creatina (2) CS4 (1) CS5 (9) Cydia (4) Debug (1) Debugger (1) Desbloqueio (1) Desenvolvimento (1) Doenças (3) DOMPDF (2) Downgrade (2) Download (2) Downloads (1) DreamWeaver (1) DreamWeaver CS4 (1) DVD (1) eBook (1) Eclipse (13) Eclipse Helios (7) Efeitos (4) Email (3) Espelho de HD (1) Espírito Santo (1) estádio (1) Eventos (1) ExtJs (4) Facebook (2) Filme (3) Flash Ipad (2) Foto (1) Fotos Obra (1) Framework (6) Frases (1) Frash (1) Frash IPad (1) Fundo (1) futebol (2) Gafes (1) Gerador de Codigo (2) Gestação (5) GIMP (1) Gmail (3) Gnash (1) Gnome (1) Google (1) Gravidez (7) Grid (1) Hackulous (1) Harry Potter (1) Hibernate (3) Hibernate Tools (1) Homem Aranha (1) HP (1) HP PhotSmart C4780 (1) IBM (2) Imagens (2) Imagens Diversas (1) Impressão (1) Impressora iPad (1) Impressora Ubuntu (2) Incêndio (1) INFORMACAO (4) INFORMAÇÃO (5) INFORMATIVO (5) instalar (1) Installation Manage (1) Installous (4) iOS 4.3.3 (2) iPad (5) IPad 2 (2) IPad2 (1) iPhone (18) iPhone 3GS (8) iPhone 4 (5) iPhone 5 (1) iPhone4 (1) IPSW (1) Israel (1) Jailbreak (9) JasperReports (1) JAVA (11) Java EE (1) JBOSS (1) JBOSS Tools (1) Jô Soares (1) Joomla (1) JPA (7) JSON (7) Kernel (2) Lamp (1) lego (1) Legumes (2) Leopard (3) LibreOffice (3) Linux (7) Livros (2) Lucas (1) Lugares (1) MAC OS X (1) Mac OSx (4) Maiusculo (1) MAPEAMENTO (2) Maven (2) MegaHost (1) Melhores do Mundo (1) Mengão (1) Mensagem (1) Mensagens (4) Minusculo (1) Mirante Campestre (1) Mobile (1) Modem 3G (1) My Unity (1) MySL (3) MYSQL (2) NAVEGAÇÃO (1) NGASI (1) Nícolas (4) Noticias (1) OpenOffice (1) Orkut (1) Os dois Leões (1) OSx (5) Paola (2) Parto (1) password (1) PC (3) Pdf (2) Pensamentos (1) PhotoShop (10) PHP (25) PHP5 (10) PHPMYADMIN (4) piadas (9) PLANEJAMENTO (1) Player (1) PlayOnLinux (1) Plug-in (3) poster (2) Programação (1) PS3 (1) RAD 7 (1) Realtions Relacionamentos (1) Receitas (2) REDE (2) Redsn0w (1) Reference Documentation (1) Reflexões (3) Rio de Janeiro (1) Root (1) Samung (1) Saúde (5) Security (1) SEGURANCA (5) SEGURANÇA (5) senha (2) Servidores (1) Sexo (1) SITE (1) SmartPhone (1) Sn0wbreeze (1) Softwares (1) Spring (15) Spring IDE (1) Spring Tools (1) SQL (1) Struts 2 (9) SubVersion (3) SVN (3) SWF (1) Synaptic (1) TAG Library (2) TAMANHO DO PAPEL (1) Tecnologia (6) Televisão (1) Tema (1) Temas (1) TEMPO (1) Terra Santa (1) Texto (5) Theme (1) TinyUmbrella (1) TiVizen (1) Tomcat (6) Tomcat 7 (1) Transparente (1) Turismo (1) Tutorial (1) TV Digital (1) UBUNTU (49) UBUNTU 10.04 (1) UBUNTU 10.10 (1) Ubuntu 11.04 (9) Ubuntu 11.10 (8) Unity (1) Upload (2) Videos (1) Virtual Host (1) VIVO (1) VPN (2) WAS 6 (1) WAS 7 (1) WAS 8 (2) Web Service (1) WebServer (3) Websphere (1) Windows (4) Wireless (3) XAMPP (2) Xdebug (5) Yii (6) Zend (4) Zend Debugger (1) Zend Framework (26) ZendFramework (3) ZendServer (2) ZendServer CE (1)
Application Developer 2011. Tema Janela de imagem. Tecnologia do Blogger.