123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|457|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> How to install Wordpress

Mon, 15 Mar 2010, 14:14
dna
Hey All.

You probably heave heard of or have used "WordPress" for your hosting but, I cannot find a clear explanation of the routine for this along with an explanation of what the fields mean.



-=-=-
DNA
Mon, 15 Mar 2010, 14:23
Jayenkai
Indeed, I'm using Wordpress for my AGameAWeek site, but I didn't install it myself. It was part of my server account, and they did it all for me.
Have a look on your host's website.
They might do it, too.
It's a fairly common thing nowadays.

-=-=-
''Load, Next List!''
Mon, 15 Mar 2010, 14:28
dna
This is the site I'm using.

https://www.250free.com

This is where the site exists. It mentions PHP and MYSQL but the self installing instructions for Wordpress forsake a clear explanation of the five fields used for setup.

-=-=-
DNA
Mon, 15 Mar 2010, 14:38
JL235
Could you elaborate more? Do you mean like in regards to setup, or just general advice about how you should use it with your site?

For setup you need to download the wordpress files from the official site, then upload them to a folder on your site. If your whole site is to be run by wordpress then this is just at the root of your hosting. Otherwise dump them in a folder (for example my wordpress is located at www.studiofortress.com/blog). You need to create a DB and a user it, finally there is a wordpress setup file you can run it's all setup for you. All instructions are available on the WordPress site.

One of the main advantages of using WordPress is that it's damn easy to customize the UI to look however you want your site to look. For new site content you then login to your site and post the material. In total it took me about a day or two to get my blog to look like the rest of my site (including all the maintenance work).
Mon, 15 Mar 2010, 17:00
dna
Yes my question was with regard to the setup.
Mon, 15 Mar 2010, 17:24
JL235
Can you elaborate more precisely on what bits you don't understand, which bits you need help with?
Mon, 15 Mar 2010, 17:40
dna
Basically the crux of this. I'll need explanations as to what the MYSQL portions do and why.

Possibly the rest of it as well. The authors thought that every one has some working knowledge if MYSQL and PHP.



The use and placement of this as well.


I Probably will need and explanation of where the created files reside.

-=-=-
DNA
Mon, 15 Mar 2010, 18:46
JL235
First, you can delete files from your hosting and delete MySQL databases and users. So if you mess up the installation don't worry, you can just undo it. If you want to practice you could also get XAMPP which is used by web-developers to run a webserver and MySQL database local on your machine (where you could try out installing WordPress). Only you on your PC will be able to see the webserver.

Uploading

If you want people to see your wordpress site the moment they go to your domain (which is how Jay's AGameAWeek.com works) then you need to place the files at the root of your hostings public folder.

The public folder is normally called 'public_html' or 'htdocs' (on my site it's public_html so this is the name I'll use to refer to this folder from here on). It could also be that when you connect to your hosting to upload the files you login to just an empty folder. In this case your (probably) already in the public_html folder so just place the files there.

If you don't want WordPress to be the main site (for example my website is custom built with WordPress only running the blog at StudioFortress.com/blog) then create a folder in the public_html folder (for example called blog) and then upload the WordPress files to that folder. Again this folder should be in your public_html folder.

MySQL

Your hosting probably has phpMyAdmin installed and you can use this for working with MySQL. You need to create a new MySQL database (call it anything, although your webhost might add a prefix to the DB name, i.e. if it's called 'blog' then it might actually be 'dna_blog' for example). You put that DB name in the script where it defines 'DB_NAME'.

You then need to create a user and give them a password. Again the username might be given a prefix by your webhost, and for the password phpMyAdmin should offer to generate a random password. In practice you'll never (or very rarely) need to keep the password for this user so having a random password is good! Put the username and password in the script for the define DB_USER and DB_PASSWORD.

When creating the user you can select a DB and then give them rights for running SELECT, DROP, CREATE, INSERT and other similar commands. Select the wordpress DB you created above and then tick all options to give the user full rights to do anything to the wordpress DB.

Third go to the WordPress secret key generator and replace the current defines for AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', and 'NONCE_KEY' with the values given (the page displays PHP code you can just copy and replace into the script).

AFAIK nothing else in the script needs to be altered. So to recap you need to alter the define's for: DB_NAME, DB_USER, DB_PASSWORD, AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY and NONCE_KEY.

Setup

By this point 1) your wordpress files are uploaded and 2) your MySQL stuff is sorted and the script has been edited. So all that's left is to open a web browser and visit your_site.com/wp-admin/install.php

Hope that helps, the instructions here are what I followed when I setup WordPress on my site. They do also have more detailed instructions.
Tue, 16 Mar 2010, 00:16
Stealth
If this is still over your head then Wordpress is probably too technical for you to install. While you don't have to be a genius system administrator, you do have to have a basic understanding of how websites work.

You can just sign up for one on their site, Wordpress.com.

-=-=-
Quit posting and try Google.
Tue, 16 Mar 2010, 14:14
dna
I got it to run the example site late yesterday but today it gives me errors.

I t will not load the localhost test site like it did yesterday.

Just a wonderful demo page: "It Works"



-=-=-
DNA
Tue, 16 Mar 2010, 22:30
Stealth
"It works" is just the default apache site.

Are you trying to setup a wordpress blog online?

-=-=-
Quit posting and try Google.
Wed, 17 Mar 2010, 01:40
Afr0
Are you trying to use your PC as a host? o.O
Wed, 17 Mar 2010, 08:51
dna
Yes. I was trying to use my PC as the host and display the Web Page or Blog while offline


-=-=-
DNA
Wed, 17 Mar 2010, 09:09
Mog
PHP won't work locally, you'll need to test it on a remote server.

-=-=-
I am Busy Mongoose - My Website

Dev PC: AMD 8150-FX, 16gb Ram, GeForce GTX 680 2gb

Current Project: Pyroxene
Wed, 17 Mar 2010, 09:16
dna
Ah.

That that is why the samples would not work when I was not connected to the net.

Horrible way to make that since testing locally is important.

-=-=-
DNA
Wed, 17 Mar 2010, 10:53
JL235
Mog PHP won't work locally, you'll need to test it on a remote server.
They will is he's using XAMPP.
Wed, 17 Mar 2010, 14:57
Stealth
He doesn't need XAMPP because he's just going to host it externally. There's no need to test Wordpress, it's already been under rigorous testing.

It sounds like web hosting isn't your specialty DNA. I would just sign up for a Wordpress hosted by someone else at Wordpress.com.

-=-=-
Quit posting and try Google.
Wed, 17 Mar 2010, 15:56
Jayenkai
Yeah, it's simple, it's secure, and it does the job.
Just head over, and get yourself a blog started.

-=-=-
''Load, Next List!''