So you wanna blog, huh? And you’ve looked at the options, and like WordPress. Me too! And you like the expandability and personalisation that a WordPress standalone install gives, but are put off by the installation process?
Don’t be.
In this video I’ll show you, video too, how to install WordPress, nice ‘n simple – including that bit about connecting it to a database. (Ouch! No, really, no worries.)
Here we go…
…or if you want the detailed notes…
From wordPress.org, for the latest version.
Open the zip file and drag all the files and folders to wherever you’re wanting to host your blog. That could be your site root, ie www.xyz.com, else a containing folder, ie www.xyz.com/blog. Or it could be your local machine, say, for a test blog, ie your C://xamp/htdocs/mynewblog folder for a XAMP setup.
In your web browser, navigate to that folder, say www.myblog.com/blog. An installation page will appear, like the one above. You’ll be prompted to create a configuration file. Click through.
WordPress lets you know what is required. Click through.
You’ll be promted for some details; db name, username, password, host, prefix. Pause…
This varies from web host to web host, but commonly there’s an option to set up a database using, say, Postgre or MySQL. If you’ve got a web host utilising cPanel or similar, there’s a link on the control panel. Click on your preferred db vendor – for newbies I recommend mySQL because there’s more community support – and you’ll be prompted to create a new database. Give it a name. Your user name is generally your web host username + db name, ie guv_newdb. Again generally, your password will be the password you use to access your web host administration, as default, but change that.
If you know your way around phpMyAdmin – which is also included generally with webhost packages, on the database page within your admin panel, or as a XAMP module – open up the page in your web browser. Simply add the database name and click “Create”. Your username and password will be whatever you use to access phpMyAdmin.
OK, back to the WordPress install page…
Now you have the details to fill the fields Database Name, User Name and Password. For the field Database Host, leave “localhost”. For the Table Prefix, change the default “wp_” to something original like “hack055_”, again for increased security.
Yup. Click submit. An “All right sparky…” page pops up. Just click “Run the install” now.
Now that wasn’t so bad, connecting the db, huh!
The WordPress installation will open a new page asking for a Blog Title and Your E-mail. Add those. It’ll also ask you whether or not to allow your blog to appear in search engine results. Now click “Install WordPress” and WordPress will fill your database with the required tables. If you don’t understand that, forget it, it’s unimportant, for this anyhow.
The new page says, er, “success”, and gives you a password. Don’t lose that. If you do, and don’t know how to hack a db, you’ll have to do the whole thing over.
For the first time, using “Admin” and the password you’d copied.
OK, here’s the admin panel. Now, to tighten up your blog security, read “Video How-to: 10 Tips To Make WordPress Hack-Proof” and watch the vid.
Enjoy. ‘Cos that’s the main thing.
sandkoenig March 19th, 2009 at 7:05 am
handy indeed however i would suggest you change your database prefix… there has been a video on the web lately that explained why that might b useful
righto just saw the link 2 ur hackproof post.
but as i typed all this already i cant b asked 2 delete it.
keep up the good work ! ! !
cheers
annunaki March 20th, 2009 at 2:02 pm
you make etting up the database look really easy. when i set up my blog i wish i´d seen this first.
oh, well, at least i can use your security tips..
tx guv.
the_guv March 23rd, 2009 at 10:17 am
much ta sandkoenig. you’re right…it’s best to change that prefix. and in case anyone reads this but not the referenced 10 Tips to Make WordPress Hack-Proof, change that prefix when you install WP.
cheers sandkoenig…appreciate that.
the_guv March 23rd, 2009 at 10:39 am
cheers Annunaki, appreciate that.
tung desem September 9th, 2009 at 7:25 am
Thanks for making this tutorial, great post.
the_guv September 16th, 2009 at 8:35 pm
@Tung .. which sounds a bit like Achtung! sorry, silly idiot I am, I couldn’t resist. Many thanks, Sir.
Pandby March 6th, 2010 at 5:22 pm
The site has some great info and you are well on the way. I am looking for an easy simple to follow tut on how to install multiple blogs on both my cpanel (fantastico) account and my localhost on my laptop (for testing them out) I tried a couple of things but bomed my blog . Can I use one sql and apache server by just naming the sql differently and if not how , also do i HAVE TO INSTAL several wordpresses or just the htdocs????
the_guv March 10th, 2010 at 9:51 am
@Pandby .. you’ll need 1 db per blog and htaccess per blog, although that’s pretty much copy pasting the ruleset
Erik June 6th, 2010 at 10:19 pm
Hi guv,
Love the W.P. Installation Video. I’m using it as the main guide for my first installation.
Q: In the add Email step, does it matter which addy you enter? What do they need the Email for? Does it have anything to do with W.P. contacting us or what addy we get Email from?
I probably won’t have the standard Email link available. I’ll likely use a contact form with a plugin.
Know what I mean?
Thanx,
Erik
Erik June 6th, 2010 at 10:21 pm
Hey, one more question while I’m here:
Q: Do we need to sign up for wordpress.com to get a get for insertion into a self-hosted blog so that it’ll work?
I have seen a few install videos and no one has mentioned that. Though, I did read it in documentation some where a while back. Perhaps it was only for a wordpress.com blog?
Thanx,
Erik
the_guv June 9th, 2010 at 6:42 pm
hi Erik .. no, email is just for your admin .. no WP spam
no, but you will need a WordPress.org account to get an Akismet key, and you should do that for sure .. check out the Akismet plugin config page for the detail, pretty self-explanatory