WordPress 101 – Session 3: Installation
So, you’ve decided you want to use WordPress and have selected a fantastic host. Now comes the installation phase. This is where a lot of people get frustrated. In all honesty, a lot of people never have to deal directly with web servers; they just deal with the front end (the web page), so it’s easy to get lost in the myriad of options and settings. Let’s start with the manual installation, and we’ll work our way back to the one-touch installs offered by some hosts.
In order to manually install WordPress onto a web server, there’s a few things you’ll need to have handy:
- MySQL Database Host (either an IP address or a URL that leads to the database)
- MySQL Username
- MySQL Password
- FTP Username
- FTP Password
- FTP Host
Let’s start with the MySQL. Typically, you’ll be entering the database through PHPmyADMIN, which is a tool developed to access the back end of a SQL database. You may also use CPanel, which is an easy-to-use control panel for the back end of the webhost’s server.
If you use CPanel, you actually have a one-touch option of creating the first MYSQL username/password. If you don’t, you’ll have to get that first user from the hosting company, or create it yourself. Since every host is different, contact them to get the information you need.
More detailed MySQL information, and detailed instructions on installation, head to the WordPress official site: http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User
As far as FTP information goes, 100% of the webhosts I’ve dealt with in the past have sent me an email with the FTP host on it. typically, it’s your website’s url, but if you are working on a development server, that may be different. Once again, check with your hosting provider to see what’s going on.
You’ll also need an FTP client, which is a “translator” between your PC/Mac and the Linux server. I use FireFTP, which runs inside of the Firefox browser, but CuteFTP and SmartFTP are great choices as well.
Once you’ve gotten all the necessary information, it’s time to actually start getting WordPress installed.
Head over to http://www.wordpress.org and get the latest version of WordPress. Put it on the desktop where you’ll remember where you saved it.
This is a screenshot of the inner workings of FireFTP. Near the top left is a dropdown menu, and one of the options is to “create a new account”.
The window that pops up asks for your FTP username, password, and host name. Enter those in and click OK.
You should connect successfully and see two lists of files. The files on your computer (‘local’) are on the left and the server files are on your right. Find the WordPress folder you just put on your desktop and navigate to the inside (Editors Note – this tutorial assumes you are installing WordPress in the main file structure. If you are not, or if you want to install it to a different folder, simply put it where you want it). Select all of the files and hit the [–>] arrow to begin the transfer.
Once all of the files have been transferred, navigate to http://www.YOURSITE.com/wp-admin/install.php.
After you hit the welcome screen, hit next, and start entering all of the information you’ve gathered:
As far as table prefix goes, leave it unless you know you need to change it.
If everything went OK, it should kick you to the next screen. What you’ve just done is allowed WordPress to create a ‘wp-config.php’ file. It controls every aspect of WordPress, and is the main file it goes to in order to validate settings.
And, you should get to this screen:
Enter your Blog’s title in and your email address. For now, if you want to develop the site before Google gets to it, uncheck the box and click “Install WordPress”.
WordPress will give you a temporary password – copy it to your clipboard. You’ll need it immediately.
Clicking on the login button will take you to the backend.
enter your username/password, and voila! You’re in to your newly installed WordPress installation.
The Easy Way
I said all that to say this: GoDaddy, Dreamhost, MediaTemple, and many of the other hosts offer one of two ways to install WordPress automatically: 1) Fantastico (MediaTemple / CPanel) and 2) a one-touch system (Dreamhost / GoDaddy). All you need to do is navigate to the right section, click the button, and voila! WordPress is installed for you.
Still, you never know when you’ll need to know the manual way, especially if you’re using a local host or an older host that doesn’t have the nice goodies attached.
Installing WordPress for the first time can be daunting, but once you’ve done it the first time, the rest becomes easier and you eliminate the risk for (many) errors. Good luck in your installation, and tune in next time for another tutorial. We’ll talk about the admin interface, and go over some of the more valuable features of the dashboard before we actually dive into the posting screen.