Systems Outage: June 30 - July 2

More info at l.khoury.to/jun30-outage

Child pages
  • Wordpress Ubuntu Install
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Digital Ocean Comprehensive Guide:

https://www.digitalocean.com/community/articles/how-to-install-wordpress-on-ubuntu-12-04

Required Installed Resources (all in LAMP)

  • Linux (Ubuntu)
  • Apache
  • mySQL
  • php

Steps

(taken almost entirely from https://www.digitalocean.com/community/articles/how-to-install-wordpress-on-ubuntu-12-04)

Download and intall

Go to target directory (suggested: /var/www)
cd pathname

Download the latest wordpress build
wget http:wordpress.org/latest.zip

Unzip the downloaded file
unzip latest.zip
rm latest.zip

Setup the SQL database

Login to mySQL
mysql -u root -p

Create a database for your site
CREATE DATABASE wordpress;
Console should respond: Query OK, 1 row affected (0.00 sec)

Create a new user for your site to use
CREATE USER wordpressuser@localhost;
Console should respond: Query OK, 0 rows affected (0.00 sec)

Set a password for this user
SET PASSWORD FOR wordpressuser@localhost= PASSWORD("password");
Console should respond: Query OK, 0 rows affected (0.00 sec)

Give this user privileges
GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'password';
Console should respond: Query OK, 0 rows affected (0.00 sec)

Refresh
FLUSH PRIVILEGES;
Console should respond: Query OK, 0 rows affected (0.00 sec)

  • No labels