PDA

View Full Version : How to install wordpress



Basil
11-27-2007, 04:05 PM
Some point before the installation process you'll have to create a mysql database and add a user to it. You might as well get it out of the way before you start.

Click on the MySQL Databases icon under cPanel

Enter your database name and hit Create Database

http://img143.imageshack.us/img143/9859/db1ae7.gif

Jump down to where it says MySQL Users and create a new user

http://img116.imageshack.us/img116/2338/db2zq3.gif

Then add that user to the database (check ALL PRIVILEGES)

http://img116.imageshack.us/img116/8089/db3sa1.gif

Basil
11-27-2007, 04:06 PM
Alright, you're done setting up your database, now on to the files

1. Download wordpress (http://wordpress.org/download/) (doesn't matter whether you get the ZIP or the TAR, I'll refer to this file as the archive).
2. Upload the file to your server. This can be done a few different ways, I'll be covering only one of them.
-- Click on the Legacy File Manager icon in cPanel
-- Select "Document Root for: (your domain)" (this is the public_html folder for that domain, anything you put under public_html can be accessed from example.com/whatever)

http://img162.imageshack.us/img162/6195/wp1ls7.gif

-- Click on the Upload Files link at the top of the file manager
-- Hit one of the browse buttons and find the wordpress archive you downloaded, then upload it

3. Click on the wordpress archive that is now in your file list in file manager and select Extract File Contents from the top right
-- This will create a folder called wordpress
-- You can Delete the archive from the server after you've extracted the contents
-- If you don't delete the file then you will have to refresh the page in order to see the new folder

4. Now that you have all the wordpress files on your server, you need to configure it
-- Navigate to the directory you just created (ie. http://example.com/wordpress)
-- Click on the "create a wp-config.php file through a web interface" link, then the link at the bottom of the next page to continue

5. Fill out the form with your MySQL information from earlier

http://img406.imageshack.us/img406/8766/wp2wt0.gif

6. Hit run the install!

7. Fill in the blog title and your email address then hit Install WordPress

8. COPY THE PASSWORD SOMEWHERE, it's randomly generated, so hang onto it until you can change it

9. The first thing you should do after you log in is go to the Users tab, click on Your Profile, and change your password

10. Um.. that's it. No step 10. Sorry.

---
Okay, slight revision. This puts wordpress in a folder called "wordpress." If you want hits to your main domain to go straight to the wordpress folder you can put this in a file called index.php under your public_html folder..

<?php header("location: ./wordpress"); ?>

hunter
12-17-2007, 09:51 AM
why do i need word process?

if i give u a copy of my config.php

would you be able to help me out

how to fill it in

felgall
12-17-2007, 11:44 AM
why do i need word process?

if i give u a copy of my config.php

would you be able to help me out

how to fill it in

The instructions on how to get wordpress to create the config.php for you are in Basil's post above.

Basil
12-17-2007, 12:00 PM
why do i need word process?

if i give u a copy of my config.php

would you be able to help me out

how to fill it in
Okay, clearly you misunderstood me. The first post explains how to set up the database, this doesn't have to do with wordpress specifically, it applies to any php installer that uses a mysql database.

You're trying to set up vBulletin, I'm trying to show you how the database is set up. You have to set up a database to get vBulletin installed.

kevinhutto
12-27-2007, 07:58 AM
I cant seem to get step 4 to work. I cant navigate to my wordpress folder. my site is 1000-per-day.info and i am typing
http://1000-per-day.info/wordpress and it keeps giving me a 404 error. Any help is appreciated.

Basil
12-27-2007, 10:48 AM
Upload the wordpress archive you downloaded from wordpress.org to the public_html folder on your website and extract it there.

sugarblaze
01-01-2008, 04:30 PM
I had the same problem kevinhutto had, so I did as you said and uploaded & extracted the files in the public_html folder. I see that everything went fine w/ step 3, but step 4 is where I have a problem. My site is sugarblaze, and whenever I enter http://sugarblaze.com/wordpress, I get a 404 page.

What am I doing wrong?

felgall
01-01-2008, 06:30 PM
Have you uploaded the files to public_html or to public_html/wordpress? If to public_html then there is no need to specify /wordpress on the end of the domain name.

Basil
01-01-2008, 07:51 PM
I had the same problem kevinhutto had, so I did as you said and uploaded & extracted the files in the public_html folder. I see that everything went fine w/ step 3, but step 4 is where I have a problem. My site is sugarblaze, and whenever I enter http://sugarblaze.com/wordpress, I get a 404 page.

What am I doing wrong?

The link you've provided looks proper to me.

sugarblaze
01-01-2008, 08:25 PM
I uploaded them to public_html. The instructions here just wouldn't work for me step for step, but I ended up using a combination of the instructions here and the instructions on the wordpress site, and I got everything to work (or so it seems).

Thanks for the help!

sugarblaze
01-01-2008, 08:26 PM
The link you've provided looks proper to me.

It is now, yes. I literally just got it to work. Thanks for the tips.

wsue1023
01-08-2008, 09:13 AM
I was on a role, or so I thought, but I too am having problems with the final step. I'm getting the right screen, but it's not accepting the info I'm plugging in. I even tried to do this manually using WP's instructions, yet nothing changed.

Reminds me of my experiences last year with another WP blog. I never got the update to work there either. Such a headache.

I really don't get why a new blog, just created yesterday wouldn't have the most current version of WP.

Wendy

wsue1023
01-08-2008, 09:29 AM
Ok, just got it to work. I had something off, somewhere. Only bummer now is it totally wiped out my newly installed template. That's a problem because I had to have a friend install that for me. My computer flashes wildly anytime I try to go into the Unlimited FTP, then crashes.

Anyone know if there's another way to install a theme other than through the Unlimited FTP?

Wendy

Basil
01-08-2008, 09:32 AM
You can use file manager to upload an archive and extract it to the theme folder.

felgall
01-08-2008, 02:22 PM
You can use any FTP program on your computer to upload files to your account.

As for installing the latest version - to install the very latest version you just download the latest version from wordpress.org and then install that to your hosting account using the instructions Basil put at the start of this thread.

Don't use Fantastico if you want control over which version of any script that you are running as Fantastico update the versions of the scripts when they decide to update them rather than when you want to update them.

healthykids
01-10-2008, 05:48 PM
I cant seem to get step 4 to work. I cant navigate to my wordpress folder. my site is 1000-per-day.info and i am typing
http://1000-per-day.info/wordpress and it keeps giving me a 404 error. Any help is appreciated.

I ran into the same problem. My site is called http://insidevaccines.com/wordpress and when I navigate there I get an error. I went farther down in this thread and tried uploaded wordpress in the html_public directory, too, but that one doesn't work either. I've tried everything I can think of!

One thing that occurred to me. I haven't actually set up a home page for my site. Do I have to do that before I install a blog?

Many thanks!

Here is the error message I get when I click on the address:
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/insideva/public_html/wordpress/index.php on line 4

Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/insideva/public_html/wordpress/index.php on line 4

Basil
01-11-2008, 01:16 AM
You appear to be missing almost every wordpress file, and the only reason I can think of for that is that the download or the upload didn't finish and you extracted an incomplete archive.

The ZIP file is roughly 1mb. It should display 1mb for the size in file manager.

What you need to do is delete the wordpress folder, as well as the archive if it's still on there, download the archive again, upload it again and extract it again.

Do not close the window before it's done uploading, it will not finish.

An alternative method for uploading the files is to get an FTP program (like filezilla), extract the archive on your own computer, and just upload the folder with the FTP program.

It's also possible to copy the zip file directly from wordpress onto the server, but that's a little more complicated.

healthykids
01-11-2008, 05:29 AM
Thank you!

I'll start over again and make sure I get the whole thing this time.

ORMSblog
01-12-2008, 05:18 PM
I followed the instructions exactly (except that I put the Wordpress folder under /public_html) and it worked pretty well. However, there is a problem. I can visit my blog if I type http://www.mysite.com/wordpress into my browser. If I type just http://www.mysite.com, I end up with a screen shown below

http://img205.imageshack.us/img205/4414/55378691xz5.jpg

and I have to click on the "wordpress" link to see my blog.

Is there anything that I could do to have my blog show up once I type http://www.mysite.com in my browser?

Thanks.

sXi
01-12-2008, 09:08 PM
You could write an index.html in public_html with a redirect tag in it.



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="refresh" content="0;url=./wordpress/" />
<title>YOUR SITE TITLE HERE</title>
</head>
<body>

</body>
</html>

ORMSblog
01-13-2008, 09:06 AM
Ok. My problem was solved. I followed the instructions on this webpage:

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

codex.wordpress.org is your best friend!!!

Math
01-14-2008, 09:21 AM
I have a blogger blog. But I want to import my files to blog.mathsupporter.com. Today I installed wordpress using fantastico. But it is 2.3.1. I don't know how to upgrade it to 2.3.2. I saw this tread now only and how can I uninstall the older version and upload the new version to public_html/blog?

Regards

Math
01-14-2008, 01:53 PM
I have three questions.

1. How can I uninstall the wordpress version 2.3.1 from the database.?

2. Also, when I clicked the legacy file manager, the go button seems to be inactive. Then how can I upload the wordpress archive file 2.3.2?

3. Once the above problems are resolved, where should I upload the file? to public_html or to public_html/blog.?

Any help is appreciated.
Thanks

Basil
01-14-2008, 02:06 PM
1. Fantastico should let you uninstall through it. If it does not, to delete the database go to MySQL Databases in cPanel, find the one that looks like wordpress and delete it.

2. Try clicking the button anyway, it should go. If it doesn't, then download an FTP program (like filezilla). To connect to your site the host is your domain (example.com), the username and password are the same as the ones you log into cPanel with and the port is 21 which is default.

3. Upload the archive to public_html. When you extract it, the files go into a folder called wordpress. If you want it to be called "blog" just rename the folder after it's created.

I think I might just write a script that copies the archive directly to the server and extracts it..

felgall
01-14-2008, 04:35 PM
There is an automatic upgrade plugin for WordPress that will allow you to run the upgrades without having to upload anything - the plugin does all the steps for you.

http://techie-buzz.com/wordpress-plugins/wordpress-automatic-upgrade-plugin.html

Math
01-15-2008, 12:33 AM
Thank you very much Felgal . It is a fantastic plugin. I used it & upgraded to the latest version.

Thank you Basil for your time.

melissathelibrarian
01-20-2008, 01:10 PM
every time I go to mysite.com/wordpress... which is how I have the files set up, it shows me a placeholder. I have no content uploaded to my site b/c I wanted to start w/ the wp template and make it my homepage. Am I approaching this the wrong way? Should I upload my site first, or am I having some other issue?

Thanks

Melissa

melissazuckerman.net

Basil
01-20-2008, 01:39 PM
Looks like your domain (melissazuckerman.net) is still pointed at godaddy nameservers. You need to change them (through godaddy's configuration panel) to ns1.bluehost.com and ns2.bluehost.com and park or add it onto your bluehost account through cPanel.