Skip to content

Instantly share code, notes, and snippets.

@saqpsaqp
Last active May 13, 2017 02:15
Show Gist options
  • Save saqpsaqp/8d8047d3eeab323471ff91851a353d37 to your computer and use it in GitHub Desktop.
Save saqpsaqp/8d8047d3eeab323471ff91851a353d37 to your computer and use it in GitHub Desktop.
Instalación Wordpress Ubuntu 14.04 [Ambiente Desarrollo]

Instalación Wordpress Ubuntu 14.04 [Ambiente desarrollo]

Requisitos previos:

  • Instalar Servidor LAMP en Ubuntu 14.04, o
  • Instalar Servidor LEMP en Ubuntu 14.04

Paso 1: Creación de Base de datos

mysql -uroot -p

CREATE DATABASE wordpress;

CREATE USER wordpressuser@localhost IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost;

FLUSH PRIVILEGES;

Paso 2: Instalar dependencias

sudo apt-get update
sudo apt-get install php5-gd libssh2-php

Paso 3: Instalación Wordpress

Obtener el último wordpress y descargarlo en la carpeta de usuario

cd ~
wget http://wordpress.org/latest.tar.gz

Descomprimir tar xzvf latest.tar.gz

Copiar archivos en la carpeta de publicación

mkdir -p /var/www/html/sitio01
sudo rsync -avP ~/wordpress/ /var/www/html/sitio01
cd /var/www/html/sitio01
sudo chown -R www-data:www-data *
sudo mkdir /var/www/html/sitio01/wp-content/uploads
sudo chown -R www-data:www-data /var/www/html/sitio01/wp-content/uploads

Referencia: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment