Installation of WordPress

Here’s the fully enumerated steps undertaken to install WordPress.


Preparation

  1. MySQL
    1. Via webmin, added myself as a user
    2. Created the database ‘wordpress’
  2. PHP
    1. Had to create the /usr/local/etc/php.ini file (using php.ini-recommended as the basis)
  3. Apache (all are in reference to /usr/local/etc/apache/httpsd.conf)
    1. Added the ‘DirectoryIndex’ directive, which for some reason wasn’t present
      DirectoryIndex index.php index.html index.htm

    2. Ensured the following lines were present:
      AddType application/x-httpd-php .php .html
      AddType application/x-httpd-php-source .phps
    3. [Though I had actually done this after the actual install, this could just as easily have been done at this point] Turned mod_rewrite on for vhost:
      RewriteEngine On

Installation

  1. Downloaded latest release, 1.2.
  2. scp’d file to server. unzipped in root dir of the site. mv’d all the files up a directory since they unpacked into the “wordpress” subdir.
  3. Modified wp-config-sample.php by giving it my mySQL username, password, db name, and db table prefix and renamed it to wp-config.php.
  4. Logged in to www.coffee2code.com/wp-admin/install.php
  5. step 1 -> ok
    step 2 -> entered site name
    step 3 -> noted temp pw
  6. Logged in; changed user profile info
  7. Configured the site via the Admin interface’s ‘Options’
  8. Moved /wp-admin/install.php to /wp-admin/orig.install.php