Creating a blog site, step-by-step
Sunday, April 04th, 2010 | Author: Bruce

These instructions are based upon putting up a blog on an account at 1and1.com.  Variables are enclosed within < and >, thus <variablename>. There is one optional item which I have enclosed within [ and ].

1 Determine the folder used as root for web page.  This is not necessarily the ‘root’ folder of the account.  If you already have a web page, it is the folder holding INDEX.HTML

2 Optionally (but recommended) – Use ftp client to create a folder below the root of the website that will hold the blog. I will call it <foldername> when referenced below.  This folder will be part of the blog’s URL address.  So if your website is www.<yourdomainname.com> then put the blog in a folder such as “/blog”.  You may then reference it from the website if you like via  href=./<foldername>/index.php, or publish your blog’s URL address aswww.<yourdomain>/<foldername>

3 Create the MySQL database that is needed for the blog.  Again, using 1and1 as an example for the process…

  • Log into 1and1 account
  • www.1and1.com
  • Click Customer Login
  • Logon: <youraccountlogon>
  • Password: <youraccountpassword>
  • Click your package, such as “Home Package”
  • Click Manage Domains
  • Select the desired domain for the site
  • On the left, select Web Space and Access
  • Select MySQL Administration
  • Select Create a Database
  • Provide a ‘friendly’ database display name.  This is only used within the 1and1 MySQL Administration screen.
  • Create a <databasepassword>.  Note that on 1and1 the database is only accessible from processes running on a 1and1 host.  You may not access the database from a remote (i.e. on your PC) client application.
  • The MySQL Administrative process will create an empty database and return several settings that you will need.  Specifically it will return an internal <database name> that is the letters ‘db’ followed by a string of digits.  This is the name that WordPress will use to reference the database.  It will return a <databaseuser>, which will be the letters ‘dbo’, and the same string of digits.  Lastly it will return a <databasehostname>, which is a machine identifier at perfora.net, such as db3244.perfora.net.   You will replace “localhost’ in WordPress with this value.
  • Record the values, as you will need them in step 6 below.

4 Download the WordPress package (a ZIP file) from www.wordpress.org

5 Unpack it into an empty folder.  You will get a folder named WordPress with files and folders within.

6 In WordPress folder, find the file   wp-config-sample.php and edit it to match values from the MySQL Administrator create process that you recorded in step 3 above.

  • <databasename>
  • <databaseusername>
  • <databaseuserpassword>
  • <databasehostname>

7 Save the file as wp-config.php

8 Use ftp to upload the contents of the folder wordpress to the designated folder <foldername> on your server.   Notice that you do not upload the folder named WordPress itself, you upload the contents.  Putting it another way, you will not have a folder on your server named WordPress.

9 Use browser to go to   www.<yourdomain>/[<foldername>/]wp-admin/install.php and fill in a few questions.   If you put stuff in the web sites root folder (i.e. where index.html would go, you would browse to www.<yourdomainname>/wp-admin/install.php   Remember that things will get confused if you have a regular web page (index.html) in the same location as WordPress makes use of index.php. Note: This where you would start if you use WordPress.com as your host.

10 Having provided your name, e-mail address, name for the site that is to be visible to the public, etc., the WordPress installer will generate an ugly password consisting of about 20 random characters, digits and symbols. Record the generated password.  This is the <adminpassword> that you will be using when you submit a post.   It will be e-mailed to you.  Better yet, put it on your clipboard as we are going to use it once and then immediately change it to something that you will have a better chance of remembering.

11 LOGIN – user: admin, password: <adminpassword>

12 There will be a prompt at the top suggesting that you change the admin password.  I’d do so.  To get a ’strong’ password it is recommended that it be 8 characters and at least one capital, such as, for example:

MickeyMinniePlutoHueyDewieLouieDonaldDaffyHartford

(just kidding)

13 Make adjustments in the SETTINGS area – system time, date format, stuff like that.

14 START BLOGGING.  To enter a post you must be logged in as ‘admin’.