Installation Using the Web Interface

To install WordPress without a one-click installer like Fantastico, you'll need to create a database, upload the files, and run the installer. I'll walk through the most common ways to accomplish these tasks. First, you'll need to set up a database for WordPress to use. If your host has already created one for you, simply locate the database name, username, password, and host you were provided (usually in the welcome e-mail you received when you signed up). Otherwise, create a new database according to your host's instructions. Figure 2-2 shows how to do this in PHPMyAdmin (the MySQL web interface most commonly used by commercial hosting companies). If you are asked to specify a character set, choose UTF-8, which will support any language. If you are asked to specify a collation, choose utf8-general-ci. These are the language and character settings WordPress expects, but some older MySQL installations use more restrictive character sets. If you'll be importing content, see Chapter 5 for more detail on these settings.

If you have the option to create a new database user, you should do so. Be sure to grant the new user all permissions on your database, as shown in Figure 2-3.

Once you have your database credentials in hand, you're ready to install WordPress.

Figure 2-2. Creating a database in PHPMyAdmin
Figure2-3. Granting user privileges on the new database in PHPMyAdmin

Download the installation package from wordpress.org and upload the files to your web host using FTP client software. Simply place the files where you want your WordPress site to be located; that is, if you want the site to be located at mysite.com, upload the files to your web root folder. If you want the site to be located at mysite.com/blog, create a folder called blog and upload the WordPress files to that folder instead.

1LLU View Acticn

New ro!der Refresh Preview Synchronize

QL' Ycur Sruff

Disconnect Stop

1 |_i wordpress

Name a a index.php e license,txt e rcadn-c.hlml wp-admir s wt)-app.pip é; wp-atom.ohp s wp-blog-ieader.php a wp-corrwrentt-post.php s wp-ccmirenttrssi.prp s wp-confiç-aanple.php wp—conte nt e wp-cron.php I |ï| wp-feed.php Cn wp-includes ® wp-links-opnti.php s wp-load, php wp-loym.ulip ■a wp-mai I. php

? wp-pass.php a wp-rdf.php s wp-register.pip a wp-rss.php s" wp-rss2,php if wp- ïtltinyi.ijMp

■a wp-tnckback.php

9'; xnlrpc.php

Size 3 97 B lb kb

7 KB

3 KB

1KB 220 8

22 KB 7 KB

23 KB

4 KB 91KB

Date

Sunday, May 25, 2008, 3:33 PM iat. ue: b, ¿uu#, 1:4/ am Mo if Dec 20. 2009, 11:2 1 am Friday, Feb-uary 13, 2CIO, 10:Ûd AM Sunday. Oaober 25. 2009, 5:32 am Tuesday, October 14, 2008, 1:22 AM Sunday. Msy 25, 2008, 10:50 AM Mon, Nov 30t 200S, 8:06 PM I uescray, uctober ¿uub, r.ti am Tue, Dcc S, 2009, L:59 PM Friday, Feb-uary 13, 2010, 10:ûd AM Sat Aug IE, 2009, 11:59 FM Tuesday. October 14, 2008, 1:22 AM Friday, Feb-uary 12, 2C10, 10:04 AM Tuesday, May 5, 2009, 2:43 PM wed. May ¿u, ¿uub, i v.si am Mo i, Det 14. 2009, 4.09 PM Fri, Sep 18, 2009, 3:43 PM Monday, April 20, 20Q9, 4:50 PM Tuesday. October 14, 2008, 1:22 AM Sunday, Msy 25, 2008, 10:50 AM Tuesday, October I4r 2008, 1:22 AM Tuesday, October 14, 2008, 1:22 AM Sun, Dtc 13, 2009, 6.3S PM Thu, Nov 25, 2300, 5:30 AM Tue, Dec 1, 2009. 2:14 AM

Name a Size Date index.php license.txt readme .html wp-app.php wp-atom.php wp-blog-header.php wp-comments-post.php wp-corrment srss ¿ .jsh p t- wp-comg-:

sic.php wp-cornent wp-cron.php wp-feed.pha wp-includes

397 B Sjnday, May 25, 2008, 3:33 PM -i kb ¡saturday, uetemoer ¿uus. am 7 KB Moncay, Dccirnber 20, 2009, 11:21 AM F-iday, February L2, 2010, 10:0-i AV 39 KB 5-inday, Oaober 25,2009, 5:32 AM 220 B Tuesday. Octsber 14. 2038,1:22 AM 274 3 Sjnday, May 25, 2008, 10:50 AM 4 KB Moncay, Nov-mfcer 30, 200S, 8:06 FM ¿38 b luescay, uctoper 14, ¿ujh, am 3 KB Tuesday. December B, 2009. 1:59 PM F-iday, February 12, 2010, 10:04 AV 1 KB Saturday. August 15.2009, 11:59 PM 220 B Tuesday. October 14. 2038,1:22 AM F-iday, February 12. 2010, 10:0^ AV

your stuff. (26 items)

their stuff. (14 items)

Figure2-4. Uploading files via FTP in Transmit

Once you have uploaded the files, visit the site in a web browser. You will immediately be presented with an install screen. Fill in the requested information as shown in Figure 2-5 and press Submit to complete the installation.

Figure2-5. Filling in the database connection information

■ Note While localhost is the most common setting for the database host, your web host might use something different-even if the host was not included in the database settings you were given. GoDaddy and Dreamhost, for example, do not use localhost. Check your web host's documentation.

0 0

Post a comment