July 13, 2007

Installing WordPress on 1and1.com - Part Four

Downloading WordPress and Linking to the DataBase

All of the steps I have described are much faster to do than to describe.  After you have done it once, you will just fly through the installation process. WordPress advertises a 5 minute install.  That time begins with the database setup described in Part Three.  So we have about 3 minutes left to complete the installation. Let's continue.

Go to http://wordpress.org/download/ and click to download WordPress.  Depending on your preference, either the zip or tar.gz versions may be downloaded

wordpress2.jpg

Download, unzip, and open the wp-config-sample.php file using Notepad. The file may not be formatted as shown below, but the important thing is that you are able to recognize the highlighted data shown.  Recall that I asked you to copy the database information to notepad in Part Three.  We need that information now.  If you didn't save it, (or accidentally closed the window), you may open your 1and1 account again and click "MySQL Administration"  to retrieve that information. 

CAUTION.  Be sure to leave the single quote mark on either side of the edited data.  I made the mistake of removing them when I inserted my data, and it just won't work.  I have entered some typical 1and1 data in the file so you know how it should appear and how to do it. 

<?php
// ** MySQL settings ** //
define('DB_NAME', 'db2295439');    // The name of the database
define('DB_USER', 'dbo2295439');     // Your MySQL username
define('DB_PASSWORD', 'F6ZJCDZ'); // …and password
define('DB_HOST', 'db8290.perfora.net');    // 99% chance you won't need to change this value

// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

 

After editing, save the file as wp-config.php, by clicking File > Save as, then changing the file name to wp-config.php, and changing the "Save as type" as All Files The edited file is now in the WordPress file on your computer.

This completes part Four of the installation.  We are nearly finished. 

Filed under Beginner, Discussion, Selection, Web Development, Web Host by Discouraged Blogger

Spread the Word!

Permalink Print Comment

Leave a Comment