John Berninger c5aff79
Wordpress is a database driven blogging program designed to make it exceedingly
John Berninger c5aff79
easy to publish an online blog, sometimes also called a weblog or journal.
John Berninger c5aff79
John Berninger c5aff79
Once this package is installed, there are a few configuration items which need
John Berninger c5aff79
to be performed before the blog is usable.  First, you need to establish a
John Berninger c5aff79
username and password to connect to your MySQL database as, and make both
John Berninger c5aff79
MySQL and Wordpress aware of this.  Let's start by creating the database and the
John Berninger c5aff79
username / password inside MySQL first:
John Berninger c5aff79
John Berninger c5aff79
  # mysql
John Berninger c5aff79
  mysql> create database wordpress;
John Berninger c5aff79
  Query OK, 1 row affected (0.00 sec)
John Berninger c5aff79
John Berninger c5aff79
  mysql> grant all privileges on wordpress.* to wordpress identified by 'wordpress';
John Berninger c5aff79
  Query OK, 0 rows affected (0.00 sec)
John Berninger c5aff79
John Berninger c5aff79
  mysql> flush privileges;
John Berninger c5aff79
  Query OK, 0 rows affected (0.00 sec)
John Berninger c5aff79
John Berninger c5aff79
  mysql> exit
John Berninger c5aff79
  Bye
John Berninger c5aff79
  #
John Berninger c5aff79
John Berninger 63cf95b
Under certain curcumstances, you may need to run variations of the "grant"
John Berninger 63cf95b
command:
John Berninger 63cf95b
mysql> grant all privileges on wordpress.* to wordpress@localhost identified by 'wordpress';
John Berninger 63cf95b
   OR
John Berninger 63cf95b
mysql> grant all privileges on wordpress.* to wordpress@'%' identified by 'wordpress';
John Berninger 63cf95b
John Berninger c5aff79
This has created an empty database called 'wordpress', created a user named
John Berninger c5aff79
'wordpress' with a password of 'wordpress', and given the 'wordpress' user total
John Berninger c5aff79
permission over the 'wordpress' database.  Obviously, you'll want to select a
John Berninger c5aff79
different password, and you may want to choose different database and user
John Berninger c5aff79
names depending on your installation.  The specific values you choose are
John Berninger c5aff79
not constrained, they simply need to be consistent between the database and the
John Berninger c5aff79
config file.
John Berninger c5aff79
John Berninger c5aff79
Next, you need to edit your /etc/wordpress/wp-config.php file to reflect the
John Berninger c5aff79
values you've chosen.  These values will go in the appropriate places at the
John Berninger c5aff79
beginning of that file.
John Berninger c5aff79
John Berninger c5aff79
Once that's done and the database server and web server have been started, 
John Berninger c5aff79
open a web browser to http://localhost/wordpress/wp-admin/install.php and 
John Berninger c5aff79
follow the instructions given to you on the pages you see to set up the 
John Berninger c5aff79
database tables and begin publishing your blog.