WordPress installation guide

Yeah I know, there is maybe dozen howtos on this topic, but I think there is always space to do a “how to” even more easy to use or just more recent (up-to-date).

What do you need?

Basically a webhosting running PHP and MySQL. Except for special hostings like some “free to a domain” – most webhostings starting at 5 USD / year do offer this.

How to prepare the database?

Assuming you have MySQL server ready, just access the phpMyAdmin (just ask your webhoster about it) and click Databases and Create new database for your WordPress blog. Let’s say you name it MySuperWordpressBlog

How to setup the configuration?

Well, assuming you have uploaded all the contents from unpacked zip available here. You can either just access your blog and the installed will walk you through it or if you prefer to edit & upload pre-prepared configuration file, then just create wp-config.php and set it up like this:

<?php
/** WordPress's config file **/
/** http://wordpress.org/   **/

// ** MySQL settings ** //
define('DB_NAME', 'MySuperWordpressBlog');     // The name of the database
define('DB_USER', 'WebhosterProvidedYouThis');     // Your MySQL username
define('DB_PASSWORD', 'YourPasswordForDB'); // ...and password
define('DB_HOST', 'localhost');     // ...and the server MySQL is running on

// Change the prefix if you want to have multiple blogs in a single database.

$table_prefix  = 'wp_';   // example: 'wp_' or 'b2' or 'mylogin_'

// Turning off Post Revisions. Comment this line out if you would like them to be on.

define('WP_POST_REVISIONS', false );

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* Stop editing */

$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;

define('ABSPATH', dirname(__FILE__).'/');

// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>

‘localhost’ is most of the time fine, if not, ask your webhoster for details.

When you are done, just upload it to the same folder where wp-config-sample.php is on your ftp server.

How to start blogging

When you’re done, just access your blog and you will be asked to create your own login and password.