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:
- right click on zipped folder icon
- open with > compressed (zipped) folders
- When window opens . . .
- file > extract to your desktop >
- complete the wizard
- this should give you a Wordpress2.8 folder, and inside that, a "wordpress" folder, on your desktop
- 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:
- Log in to nearlyfreespeech.net
- Go to your nearlyfreespeech.net dashboard (the web page you see immediately after you log in to the nearlyfreespeech.net portal)
- Create a new web site (click "Create New Site" link in right side bar)
- enter a short name for your site (example: moretolearn)
- the host will append nfshost.com to the short name you enter
- approve the url they give you
- copy the FTP information for your site into a text file and save it; you'll need it later
- Create a Database for your blog
- Click the MySQL tab in your nearlyfreespeech.net dashboard
- Click the "create a new MySQL process" link in the right side bar
- Name the process (you can call it "blog" or "wordpress")
- Associate the process with your account
- You will receive an email when your MySQL process is running
- On your MySQL page, click on the DSN (Data Source Name) of your process
- In the right side bar, click "Create a Database"
- Name the new database (you can call it "blog" or "wordpress", too). Save changes.
- 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.
- Go into the WordPress folder on your desktop, and open wp-config-sample.php file in your text editor
- Edit the lower case text between the single quotes on the following lines:
- define('DB_NAME', 'putyourdbnamehere'); // The name of the database
- define('DB_USER', 'usernamehere'); // Your MySQL username
- define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
- define('DB_HOST', 'localhost');
- After DB_NAME replace 'putyourdbnamehere' with the name of your database
- After DB_USER replace 'usernamehere' with your nearlyfreespeech username (not your website username which is yournearlyfreespeechusername_yoursiteshortname)
- After DB_PASSWORD replace 'yourpasswordhere' with your nearlyfreespeech password (you only have one of those)
- After DB_HOST replace 'localhost' with the name of your nearlyfreespeech MySQL process (DSN)
- Save wp-config-sample.php in the Wordpress folder on your desktop
- 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:
- From Filezilla's toolbar, select Open File > Site Manager
- Click the New Site button
- Enter a reference name for your web site
- Set logon type to "normal"
- 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)
- The hostname is likely ftp.phx.nearlyfreespeech.net
- The username is yournearlyfreespeechusername_yoursiteshortname
- example: honeyofano_honeysite
- The password is your nearlyfreespeech password
- Save these settings by clicking "OK"
- 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.