Gracias por sus respuestas, este me sirvió, ahora tengo otro problema,
necesito instalar MySQL y Phpmyadmin en el mismo servidor, he intentado
instalar primero MySQL y me da el siguiente error:

root@wikipedia:/# apt-get install mysql-server             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mysql-server is already the newest version.
The following packages were automatically installed and are no longer
required:
  ghostscript gsfonts imagemagick-common libavahi-client3
libavahi-common-data
  libavahi-common3 libcups2 libcupsfilters1 libcupsimage2 libcurl3
  libfftw3-double3 libgs9 libgs9-common libijs-0.35 libjasper1 libjbig2dec0
  liblcms2-2 liblqr-1-0 libmagickcore5 libmagickwand5 libpaper-utils
libpaper1
  librtmp0 libssl-dev libssl-doc libxext6 poppler-data shtool zlib1g-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
2 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource
temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
root@wikipedia:/#    

He revisado y MySQL ni phpmyadmin esta instalado, que puede ser?

Saludos
Alex



-----Mensaje original-----
De: gutl-l-boun...@jovenclub.cu [mailto:gutl-l-boun...@jovenclub.cu] En
nombre de Ruby
Enviado el: miércoles, 03 de junio de 2015 22:47
Para: Lista cubana de soporte técnico en Tecnologias Libres
Asunto: Re: [Gutl-l] problema con instalacion nginx

Tienes que configurar el Nginx, por defecto el no lista directorios y 
creo que tampoco ve el index.php

Aqui te dejo mi /etc/nginx/sites-available/default no se si es la 
configuración óptima pero es la que uso en el local para Drupal, espero 
que te sirva de algo


server {
     listen 80 default_server;

     root /var/www;
     index index.html index.htm;

     server_name localhost;

     location / {
         try_files $uri @rewrite;
     }

     location @rewrite {
         rewrite ^/([^/]*)/(.*)(/?)$ /$1/index.php?q=$2&$args;
         }

         location ~ \.php$ {
         error_page 418 = @rewrite;
         recursive_error_pages on;
         fastcgi_split_path_info ^[^=](.+\.php)(/.+)$;

         if ( $uri = /index.php ) {
                     break;
         }

         if ( !-e $document_root$fastcgi_script_name) {
                     return 418;
         }

             fastcgi_param SCRIPT_FILENAME 
$document_root$fastcgi_script_name;
         fastcgi_intercept_errors on;
         fastcgi_pass unix:/var/run/php5-fpm.sock;
         fastcgi_index index.php;
         include fastcgi_params;
         fastcgi_read_timeout 9000;
     }

}

El 03/06/15 a las 16:20, a...@upr.edu.cu escibió:
> Amigos, he probado como 5 veces instalar nginx con php en Ubuntu Server
> 14.04  y al parecer tengo algun problema.
>
>   
>
> La instalación la realizo con estos pasos:
>
> Instalar Nginx
>
> Instalar PHP5
>
> apt-get install php5 php5-mysql
>
> Instalar MySQL
>
> apt-get install mysql-server
>
> Instalar phpMyAdmin
>
> apt-get install phpmyadmin
>
> Instalar Nginx y PHP5-FPM
>
> apt-get install nginx php5-fpm
>
>   
>
>   
>
> Cuando termino estos pasos que voy a la URL que destine me sale
> perfectamente el cartel 'Welcome to nginx', perfecto, ahora borro el
> index.html que esta por fecto y pongo un fichero index.php con un cartel
> sencillo en el directorio (/usr/share/nginx/html) y cuando refresco la
> pagina no me sale el cartel, me sale la ventana de descargar para bajar el
> index.php, he revisado el fichero default y le he agregado entre los
> ficheros index el php que no lo tenía, será alguna incompatibilidad de
> nginx con php? Alguna idea o alternativa de instalar nginx?
>
>   
>
> Saludos
>
> Alex
>
>   
>
>   
>
>   
>
>   
>
>
> -------------------------------------------------------------------------
> Participa en el Congreso Internacional de Marketing,
> Desarrollo Local y Turismo (MARDELTUR),
> del 29 de junio al 3 de julio del 2015.
> http://www.facebook/mardeltur
>
> -------------------------------------------------------------------------
> Universidad de Pinar del Rio. Cuba
> WEB http://www.upr.edu.cu
> FACEBOOK http://www.facebook.com/uprhnossaiz
> TWITTER @UPR_CUBA
>
>
>
> ------------ próxima parte ------------
> Se ha borrado un adjunto en formato HTML...
> URL:
<http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20150603/bb1b94c9/a
ttachment.html>
> ______________________________________________________________________
> Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
> Gutl-l@jovenclub.cu
> https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
>





______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

-------------------------------------------------------------------------
Participa en el Congreso Internacional de Marketing,
Desarrollo Local y Turismo (MARDELTUR),
del 29 de junio al 3 de julio del 2015.
http://www.facebook/mardeltur

-------------------------------------------------------------------------
Universidad de Pinar del Rio. Cuba
WEB http://www.upr.edu.cu
FACEBOOK http://www.facebook.com/uprhnossaiz
TWITTER @UPR_CUBA


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a