Wednesday, June 17, 2009

How to Install a WordPress Blog on a Nearlyfreespeech.net Hosting Account

Follow these instructions to install Wordpress to your nearlyfreespeech hosting account.

First, Download Wordpress to Your Desktop.

Once you have downloaded Wordpress, follow these steps (on a Windows PC) to unzip the folder that contains the Wordpress program files:

  1. right click on zipped folder icon

  2. open with > compressed (zipped) folders

  3. When window opens . . .

  4. file > extract to your desktop >

  5. complete the wizard

  6. this should give you a Wordpress2.8 folder, and inside that, a "wordpress" folder, on your desktop
  7. Make sure you have fully extracted the WordPress folder to your desktop.


Next, open the wordpress folder. Inside the wordpress folder, open the file named wp-config-sample.php. In a little while, you will edit the MySQL settings in wp-config-sample.php to match those of the database you will set up for your blog. But first, follow these steps to set up a database for your blog:

  1. Log in to nearlyfreespeech.net

  2. Go to your nearlyfreespeech.net dashboard (the web page you see immediately after you log in to the nearlyfreespeech.net portal)

  3. Create a new web site (click "Create New Site" link in right side bar)

  4. enter a short name for your site (example: moretolearn)

  5. the host will append nfshost.com to the short name you enter

  6. approve the url they give you

  7. copy the FTP information for your site into a text file and save it; you'll need it later

  8. Create a Database for your blog

  9. Click the MySQL tab in your nearlyfreespeech.net dashboard

  10. Click the "create a new MySQL process" link in the right side bar

  11. Name the process (you can call it "blog" or "wordpress")

  12. Associate the process with your account

  13. You will receive an email when your MySQL process is running

  14. On your MySQL page, click on the DSN (Data Source Name) of your process

  15. In the right side bar, click "Create a Database"

  16. Name the new database (you can call it "blog" or "wordpress", too). Save changes.

  17. Click "View MySQL Information" in right side bar. Keep that view in the browser as you switch your attention, for a moment, to your text editing program.

  18. Go into the WordPress folder on your desktop, and open wp-config-sample.php file in your text editor

  19. Edit the lower case text between the single quotes on the following lines:

  20. define('DB_NAME', 'putyourdbnamehere'); // The name of the database

  21. define('DB_USER', 'usernamehere'); // Your MySQL username

  22. define('DB_PASSWORD', 'yourpasswordhere'); // ...and password

  23. define('DB_HOST', 'localhost');

  24. After DB_NAME replace 'putyourdbnamehere' with the name of your database

  25. After DB_USER replace 'usernamehere' with your nearlyfreespeech username (not your website username which is yournearlyfreespeechusername_yoursiteshortname)

  26. After DB_PASSWORD replace 'yourpasswordhere' with your nearlyfreespeech password (you only have one of those)

  27. After DB_HOST replace 'localhost' with the name of your nearlyfreespeech MySQL process (DSN)

  28. Save wp-config-sample.php in the Wordpress folder on your desktop

  29. Rename wp-config-sample.php so its name is wp-config.php


Now it's time to upload your Wordpress folder to the public folder of your nearlyfreespeech.net web site To do this, you will need to get yourself an FTP client. For our purposes, please download and install Filezilla. Once Filezilla has been installed on your PC, follow these steps to set up communication between Filezilla and your nearlyfreespeech account:

  1. From Filezilla's toolbar, select Open File > Site Manager

  2. Click the New Site button

  3. Enter a reference name for your web site

  4. Set logon type to "normal"

  5. Enter the FTP information of your web site. You will find this information on the web page for your site (nearlyfreespeech.net > member login > sites (tab) > click-the-short-name-of-your-site)

  6. The hostname is likely ftp.phx.nearlyfreespeech.net

  7. The username is yournearlyfreespeechusername_yoursiteshortname

  8. example: honeyofano_honeysite

  9. The password is your nearlyfreespeech password

  10. Save these settings by clicking "OK"

  11. Connect to your site


Now, transfer the wordpress folder (not the Wordpress2.8 folder, but the wordpress folder that's inside it) from your desktop into your public folder (drag and drop the folder from the left side window that displays your desktop files to the right side window which displays the public folder of your nearlyfreespeech web site).
Once this transfer is complete, install Wordpress by navigating your web browser to http://yoursite.nfshost.com/wordpress, and, in the form that will meet you, entering the title of your blog (for example, I've titled my blog "web2blog"), your email address, and clicking the "Install Wordpress" button.

Next, Wordpress will give you a password. Don't lose it. Paste it into a text file and save it. Then log in to your blog using "admin" as your username and the password Wordpress has created for you. You will be able to change your password and create new user profiles once you have logged in to your blog.

Lastly, publish your first post. Tell everyone hello. Then send your instructor the URL of your weblog: http://yoursite.nfshost.com/wordpress. Your instructor will create a reading list of class blogs for you to graze.

Followers