Changes

Jump to navigation Jump to search
1,033 bytes added ,  17:40, 20 July 2008
no edit summary
These are notes on Administering WordPress on Magnet.

=== Installing WordPress ===

In general follow the standard [http://codex.wordpress.org/Installing_WordPress Installation Steps], with the following details.

To create the database I used the [http://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Client command-line method]. Access the database as root:

<code>sudo mysql</code>

When editing wp-config.php, change the DB_HOST setting from 'localhost' to '127.0.0.1'. Magnet doesn't seem to be resolving localhost properly, so the IP address is a work-around.

wp-config.php:
<code>define('DB_HOST', '127.0.0.1');</code>

To allow WordPress to upload images, the wp-content directory should be made group writable:

<code>chmod -R g+rw blog/wp-content</code>

=== Notes on Moving a WordPress Blog ===

Before moving the blog, login as an administrator and in Settings/General, change the WordPress and Blog URLs to the new location.

After moving the blog, you may need to adjust the Upload paths in Settings/Misc.

Navigation menu