This is part of a series of articles covering the basics of installing and using WordPress aimed at new-comers to WordPress and to CMS usage also.
In this tutorial, we will:
- Upload the latest WordPress release via FTP to our webhost.
- Create a database to store our posts.
- Create a username with permissions for your database.
- Install WordPress.
If your web-host offers a ‘one-click install‘ for WordPress, you may want to take that route.
Go to the official WordPress site and click the Download button on the right. At time of writing, the latest version is 2.6.1.
Once your download is complete (it’s only 1mb, so it’s quick), extract the wordpress folder. Using your preferred FTP client, transfer these files to your web host.
If you are not familiar with FTP, or do not know the login details for your account, please consult your web host’s documentation as the details can vary between hosts.
Alternatively, you could use the File Manager provided in your web host’s Administration area.
For this example, I will be uploading the WordPress files to a folder named blog on my website – which will make my installation accessible at http://www.example.com/blog.
Creating a Database
WordPress requires a database to store all information generated by it such as posts, pages, comments and settings.
The next few steps can vary between host-to-host, but the basic steps involved will be the same. If you cannot find a certain option, please consult your web host’s documentation or contact their customer support.
Login to your web-hosting account page. On there, you should see a ‘Manage Databases’, ‘MySQL Databases’ or similar button.
One of the most-used control panels for web-hosting accounts is ‘cPanel’. If your host uses this, it should look:
Or in MediaTemple it shows as:
In here, you will need to create a new database. Enter a name for it and click ‘Create’. You will then be presented with a success screen with the full name of your new database.
WARNING: Take special note of your new database name. Most web hosts will add a prefix to the beginning of its name – making wpdata become mysite_wpdata (for example).
You will now need to assign a new database user to your database so WordPress and read and write to the database.
Under where you created a database, you should see the heading ‘Current Users’. Here, enter a username and password for your database and click ‘Create’. You will then see a success screen confirming these details.
WARNING: As before, take special note of your database username. Most web hosts will add a prefix to the beginning of it – making wpuser become mysite_wpuser (for example).
The All-Important Bit!
On the same page as before, there is a heading ‘Add Users To Your Databases’. From the two drop-down boxes in this section select the database and username we created.
Ensure ‘ALL’ is selected for the Privileges and click ‘Add’.
Again, on the same page is a heading ‘Access Hosts’. On probably 99% of hosts, you should see ‘localhost’. If not, take special note of this, it’s your hostname.
Setting Up WordPress
It’s all straight-forward from here. In your web-browser, go to the location on your site you uploaded WordPress, eg. http://www.example.com/blog.
You should be asked to create a WordPress Configuration file. Click the button to continue and then ‘Lets Go!’ on the next page.
On this page, you will need to enter the database name, username, password and hostname which we created in the previous steps.
You can leave Table Prefix as it is.
On the next page, press ‘Run the install’.
Enter your a name for your Blog and your email address and press ‘Install’.
You will now be taken to the Success page with your Administrator login details. Make special note of these details, and hit ‘Log In’ to get started with your brand-new WordPress Blog!
Congrats! You have now installed a new WordPress blog!
If this is your first time using WordPress, be sure to check out our Getting Started with WordPress article; and don’t forget to check-out some of the awesome themes avaliable for WordPress in ThemeForest.