Install WordPress on a Localhost (Linux)

Here’s a recipe that works on Ubuntu & friends:

  1. Unzip the WordPress files.
  2. Prepare a database in PhpMyAdmin. The collation should be utf8.
  3. Edit /etc/apache2/envvars (see below)

How to edit the  /etc/apache2/envvars file

locate lines:

export APACHE_RUN_USER = www-data
export APACHE_RUN_GROUP= www-data

Change this to:

export APACHE_RUN_USER = yourName
export APACHE_RUN_GROUP= yourName

The username should be someone who can read, write and execute the files.

Published by

Per Thykjaer Jensen

- Code is the heart of all multimedia productions. Code can animate your creative visions.
Per Thykjaer Jensen teaches multimedia programming at Aarhus Buisiness Academy. He is MA it, interaction design and multimedia, MA literature history and BA art history.