Things to Know Before Installing WordPress

Embed Size (px)

Citation preview

  • 7/29/2019 Things to Know Before Installing WordPress

    1/12

    Things to Know Before Installing WordPress

    Before you begin the install, there are few things you need to have and do.

    You need access to your site and its directory and software to proceed with the installation. These are:

    Access to yourweb server(viashellorFTP)

    Atext editor

    AnFTP Client

    Your web browser of choice

    Things You Need to Do to Install WordPress

    Begin your installation by:

    1. Checking to ensure that you and your web host have theminimum requirements to run WordPress.

    2. Download the latest release of WordPress.

    3. Unzip the downloaded file to a folder on your hard drive.

    4. Be prepared with asecure password for your Secret Key

    5. Print this page out so you have it handy during the installation.

    Famous 5-Minute Install

    Here's the quick version of the instructions, for those that are already comfortable with performing such installations. Moredetailed instructions

    follow.

    If you are not comfortable with renaming files, Steps 3 and 4 are optional and you can skip them as the install program will create wp-config.php

    file.

    1. Download and unzip the WordPress package if you haven't already.

    2. Create a database for WordPress on your web server, as well as aMySQLuser who has all privileges for accessing and modifying it.

    3. Rename thewp-config-sample.php file to wp-config.php.4. Open wp-config.php in atext editorandfill in your database detailsas explained inEditing wp-config.phpto generate and use

    your secret key password.

    5. Upload the WordPress files in the desired location on your web server:

    If you want to integrate WordPress into the root of your domain (e.g.http://example.com/ ), move or upload all contents

    of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server.

    If you want to have your WordPress installation in its own subdirectory on your web site (e.g.http://example.com/blog/ ), create the blog directory on your server and upload WordPress to the directory via

    FTP.

    Note: If your FTP client has an option to convert file names to lower case, make sure it's disabled.6. Run the WordPress installation script by accessingwp-admin/install.php in a web browser.

    If you installed WordPress in the root directory, you should visit:http://example.com/wp-

    admin/install.php If you installed WordPress in its own subdirectory calledblog, for example, you should visit:

    http://example.com/blog/wp-admin/install.php

    That's it! WordPress should now be installed.

    Detailed Instructions

    Step 1: Download and Extract

    Download and unzip the WordPress package fromhttp://wordpress.org/download/.

    If you will be uploading WordPress to a remote web server, download the WordPress package to your computer with a web browser and

    unzip the package. If you will be using FTP, skip to the next step - uploading files is covered later.

    http://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/FTP_Clientshttp://codex.wordpress.org/FTP_Clientshttp://codex.wordpress.org/FTP_Clientshttp://wordpress.org/about/requirements/http://wordpress.org/about/requirements/http://wordpress.org/about/requirements/http://wordpress.org/download/http://wordpress.org/download/http://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Detailed_Instructionshttp://codex.wordpress.org/Installing_WordPress#Detailed_Instructionshttp://codex.wordpress.org/Installing_WordPress#Detailed_Instructionshttp://codex.wordpress.org/Glossary#MySQLhttp://codex.wordpress.org/Glossary#MySQLhttp://codex.wordpress.org/Glossary#MySQLhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://wordpress.org/download/http://wordpress.org/download/http://wordpress.org/download/http://wordpress.org/download/http://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#MySQLhttp://codex.wordpress.org/Installing_WordPress#Detailed_Instructionshttp://codex.wordpress.org/Editing_wp-config.phphttp://wordpress.org/download/http://wordpress.org/about/requirements/http://codex.wordpress.org/FTP_Clientshttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Web_server
  • 7/29/2019 Things to Know Before Installing WordPress

    2/12

    If you haveshellaccess to your web server, and are comfortable using console-based tools, you may wish to download WordPress directlyto yourweb serverusingwget (orlynx or another console-based web browser) if you want to avoidFTPing:

    wget http://wordpress.org/latest.tar.gz

    Then unzip the package using:tar -xzvf latest.tar.gz

    The WordPress package will extract into a folder calledwordpress in the same directory that you downloadedlatest.tar.gz.

    If you do not haveshellaccess to your web server, or you are not comfortable using console-based tools, you may wish to deploy

    WordPress directly to yourweb serverusingZipDeploy.

    Step 2: Create the Database and a User

    If you are using ahosting provider, you may already have a WordPress database set up for you, or there may be an automated setup solution to

    do so. Check your hosting provider's support pages or yourcontrol panelfor clues about whether or not you'll need to create one manually.

    If you determine that you'll need to create one manually, follow the instructions foraccessing phpMyAdmin on various servers, or follow the

    instructions forUsing cPanelorUsing phpMyAdminbelow.

    If you are installing WordPress on your own web server, follow theUsing phpMyAdminorUsing the MySQL Client instructions below to create

    your WordPress username and database.

    If you have only one database and it is already in use, you can install WordPress in it - just make sure to have a distinctive prefix for your tables,

    to avoid over-writing any existing database table.

    Using cPanel

    If your hosting provider supplies thecPanelhosting control panel, you may follow these simple instructions to create your WordPress username

    and database. A more complete set of instructions for using cPanel to create the database and user can be found inUsing cPanel.

    1. Log in to yourcPanel.

    2. Click MySQL Database Wizard icon under the Databases section.

    3. In Step 1. Create a Database enter the database name and click Next S tep.

    4. In Step 2. Create Database Users enter the database user name and the password. Make sure to use a strong password. Click Create

    User.

    5. In Step 3. Add User to Database click the All Privileges checkbox and click Next Step.

    6. In Step 4. Complete the task note the database name and user. Write down the values ofhostname, username, databasename, and the

    password you chose. (Note that hostname will usually be localhost.)

    Using Lunarpages.com's custom cPanel (LPCP)

    Lunarpages has developed their own version of cPanel.

    1. Log in to your account.

    2. Go to Control Panel.

    3. Click on the button on the left panel labeled 'Go to LPCP'.

    4. Go to MySQL Manager.

    5. Add the user name and database name but leave the host name as the default IP number.

    6. Note the IP address of the database on the right which is different from the default IP number of the host indicated in the above step.

    7. When modifying the WP-CONFIG.PHP file, use the DB IP number, not 'LOCALHOST'.

    8. When modifying the WP-CONFIG.PHP file, be sure to use the full name of the database and user name, typically

    'accountname_nameyoucreated'.

    9. Refer tohttp://wiki.lunarpages.com/Create_and_Delete_MySQL_Users_in_LPCP for more info.

    Using phpMyAdmin

    http://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://ftp-unzip.com/ZipDeploy/http://ftp-unzip.com/ZipDeploy/http://ftp-unzip.com/ZipDeploy/http://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/WordPress_Backups#Accessing_phpMyAdminhttp://codex.wordpress.org/WordPress_Backups#Accessing_phpMyAdminhttp://codex.wordpress.org/WordPress_Backups#Accessing_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_cPanelhttp://codex.wordpress.org/Installing_WordPress#Using_cPanelhttp://codex.wordpress.org/Installing_WordPress#Using_cPanelhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Clienthttp://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Clienthttp://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Clienthttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Glossary#cPanelhttp://wiki.lunarpages.com/Create_and_Delete_MySQL_Users_in_LPCPhttp://wiki.lunarpages.com/Create_and_Delete_MySQL_Users_in_LPCPhttp://wiki.lunarpages.com/Create_and_Delete_MySQL_Users_in_LPCPhttp://wiki.lunarpages.com/Create_and_Delete_MySQL_Users_in_LPCPhttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Glossary#cPanelhttp://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Clienthttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_phpMyAdminhttp://codex.wordpress.org/Installing_WordPress#Using_cPanelhttp://codex.wordpress.org/WordPress_Backups#Accessing_phpMyAdminhttp://codex.wordpress.org/Using_cPanelhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://ftp-unzip.com/ZipDeploy/http://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Shell
  • 7/29/2019 Things to Know Before Installing WordPress

    3/12

    If your web server hasphpMyAdmininstalled, you may follow these instructions to create your WordPress username and database.

    Note: These instructions are written for phpMyAdmin 2.6.0; the phpMyAdmin user interface can vary slightly between versions.

    1. If a database relating to WordPress does not already exist in the Database dropdown on the left, create one:

    1. Choose a name for your WordPress database ('wordpress' or 'blog' are good), enter it in the Create new database field, and

    click Create.

    2. Click the Home icon in the upper left to return to the main page, then click Privileges. If a user relating to WordPress does not already

    exist in the list of users, create one:

    1. Click Add a new User.

    2. Chose a username for WordPress ('wordpress' is good) and enter it in the User name field. (Be sure Use text field: is selected

    from the dropdown.)

    3. Choose a difficult-to-guess password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and

    enter it in the Password field. (Be sure Use text field: is selected from the dropdown.) Re-enter the password in the Re-type field.

    4. Write down the username and password you chose.

    5. Leave all options underGlobal privileges at their defaults.

    6. Click Go.

    3. Return to the Privileges screen and click the Check privileges icon on the user you've just created for WordPress. In the Database-

    specific privileges section, select the database you've just created for WordPress under the Add privileges to the following database

    dropdown. The page will refresh with privileges for that database. Click Check All to select all privileges, and click Go.

    4. On the resulting page, make note of the host name listed afterServer: at the top of the page. (This will usually be localhost.)

    Using the MySQL Client

    You can create MySQL users and databases quickly and easily by running mysql from the shell. The syntax is shown below and the dollar sign is

    the command prompt:

    $ mysql -u adminusername -p

    Enter password:

    Welcome to the MySQL monitor. Commands end with ; or \g.

    Your MySQL connection id is 5340 to server version: 3.23.54

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> CREATE DATABASE databasename;

    Query OK, 1 row affected (0.00 sec)

    mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname"

    -> IDENTIFIED BY "password";

    Query OK, 0 rows affected (0.00 sec)

    http://codex.wordpress.org/Glossary#phpMyAdminhttp://codex.wordpress.org/Glossary#phpMyAdminhttp://codex.wordpress.org/Glossary#phpMyAdminhttp://codex.wordpress.org/Glossary#phpMyAdmin
  • 7/29/2019 Things to Know Before Installing WordPress

    4/12

    mysql> FLUSH PRIVILEGES;

    Query OK, 0 rows affected (0.01 sec)

    mysql> EXIT

    Bye

    $

    The example shows:

    that root is also the adminusername. It is a safer practice to choose a so-called "mortal" account as your mysql admin, so that you are

    not entering the command "mysql" as the root user on your system. (Any time you can avoid doing work as root you decrease your chance

    of being exploited). The name you use depends on the name you assigned as the database administrator using mysqladmin.

    wordpress orblog are good values fordatabasename.

    wordpress is a good value forwordpressusername but you should realize that, since it is used here, the entire world will know it too.

    hostname will usually be localhost. If you don't know what this value should be, check with your system administrator if you are not

    the admin for your Wordpress host. If you are the system admin, consider using a non-root account to administer your database.

    passwordshould be a difficult-to-guess password, ideally containing a combination of upper- and lower-case letters, numbers, and symbols.

    One good way of avoiding the use of a word found in a dictionary, uses the first letter of each word in a phrase that you find easy to

    remember.

    If you need to write these values somewhere, avoid writing them in the system that contains the things protected by them. You need to remember

    the value used fordatabasename, wordpressusername, hostname, andpassword. Of course, since they are already in (or will be, shortly) your

    wp-config.php file, there is no need to put them somewhere else, too.

    Using Plesk

    See:Plesk 7 at tamba2.org

    Using DirectAdmin

    a. Regular "User" of a single-site webhosting account logs in normally. Then click "MySQL Management." (If this is not readily visible, perhaps

    your host needs to modify your "package" to activate MySQL.) Then follow part "c" below.

    b. "Reseller" accounts or "Admin" accounts may need to click "User Level." They also must first log-in as "Reseller" if the relevant domain is a

    Reseller's primary domain... or log-in as a "User" if the domain is not a Reseller's primary domain. If a Reseller's primary domain, then when

    logged-in as Reseller, you simply click "User Level." However if the relevant domain is not the Reseller's primary domain, then you must log-in as

    the relevant User. Then click "MySQL Management." (If not readily visible, perhaps you need to return to the Reseller or Admin level, and modify

    the "Manage user package" or "Manage Reseller package" to enable MySQL.)

    c. In "MySQL Management," click on the small words: "Create new database." Here you are asked to submit two suffixes for the database and its

    username. For maximum security, use two different sets of 4-6 random characters. Then the password field has a "Random" button that

    generates an 8-character password. You may also add more characters to the password for maximum security. "Create." The next screen will

    summarize the database, username, password and hostname. Be sure to copy and paste these into a text file for future reference.

    Step 3: Set up wp-config.php

    You can either create and edit thewp-config.php file yourself, or you can skip this step and let WordPress try to do this itselfwhen you

    run the installation script (step 5)(you'll still need to tell WordPress your database information).

    http://www.tamba2.org.uk/wordpress/plesk/http://www.tamba2.org.uk/wordpress/plesk/http://www.tamba2.org.uk/wordpress/plesk/http://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Scripthttp://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Scripthttp://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Scripthttp://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Scripthttp://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Scripthttp://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Scripthttp://www.tamba2.org.uk/wordpress/plesk/
  • 7/29/2019 Things to Know Before Installing WordPress

    5/12

    (For more extensive details, and step by step instructions for creating the configuration file and your secret key for password security, please see

    Editing wp-config.php.)

    Return to where you extracted the WordPress package in Step 1, rename the filewp-config-sample.php towp-

    config.php , and open it in a text editor.

    Enter your database informationunder the section labeled

    // ** MySQL settings - You can get this info from your web host ** //

    DB_NAME

    The name of the database you created for WordPress in Step 2 .

    DB_USER

    The username you created for WordPress in Step 2.

    DB_PASSWORD

    The password you chose for the WordPress username in Step 2.

    DB_HOST

    The hostname you determined in Step 2 (usuallylocalhost, but not always; seesome possible DB_HOST values). If a port,

    socket, or pipe is necessary, append a colon (:) and then the relevant information to the hostname.

    DB_CHARSET

    The database character set, normally should not be changed (seeEditing wp-config.php).

    DB_COLLATE

    The database collation should normally be left blank (seeEditing wp-config.php).

    Enter your secret key valuesunder the section labeled

    * Authentication Unique Keys.

    Save thewp-config.php file.

    For information on enabling SSL in WordPress 2.6, seeSSL and Cookies in WordPress 2.6.

    Step 4: Upload the files

    Now you will need to decide where on your domain you'd like your WordPress-powered site to appear:

    In the root directory of your web site. (For example, http://example.com/)

    In a subdirectory of your web site. (For example, http://example.com/blog/)

    Note: The location of your root web directory in the filesystem on yourweb serverwill vary across hosting providers and

    operating systems. Check with yourhosting provideror system administrator if you do not know where this is.

    In the Root Directory

    If you need to upload your files to your web server, use anFTPclient to upload all the contents of thewordpress directory (but not the directory itself) into the root directory of your web site.

    If your files are already on your web server, and you are usingshellaccess to install WordPress, move all of thecontents of the wordpress directory (but not the directory itself) into the root directory of your web site.

    In a Subdirectory

    http://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.php#Configure_Database_Settingshttp://codex.wordpress.org/Editing_wp-config.php#Configure_Database_Settingshttp://codex.wordpress.org/Editing_wp-config.php#Possible_DB_HOST_valueshttp://codex.wordpress.org/Editing_wp-config.php#Possible_DB_HOST_valueshttp://codex.wordpress.org/Editing_wp-config.php#Possible_DB_HOST_valueshttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.php#Security_Keyshttp://codex.wordpress.org/Editing_wp-config.php#Security_Keyshttp://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/http://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Web_serverhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Hosting_providerhttp://codex.wordpress.org/Glossary#Web_serverhttp://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/http://codex.wordpress.org/Editing_wp-config.php#Security_Keyshttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/Editing_wp-config.php#Possible_DB_HOST_valueshttp://codex.wordpress.org/Editing_wp-config.php#Configure_Database_Settingshttp://codex.wordpress.org/Editing_wp-config.php
  • 7/29/2019 Things to Know Before Installing WordPress

    6/12

    If you need to upload your files to your web server, rename the wordpress directory to your desired name,

    then use anFTPclient to upload the directory to your desired location within the root directory of your web site.

    If your files are already on your web server, and you are usingshellaccess to install WordPress, move thewordpress directory to your desired location within the root directory of your web site, and rename the

    directory to your desired name.

    Note: If your FTP client has an option to convert file names to lower case, make sure it's disabled.

    Step 5: Run the Install Script

    Point a web browser to start the installation script.

    If you placed the WordPress files in the root directory, you should visit: http://example.com/wp-

    admin/install.php

    If you placed the WordPress files in a subdirectory calledblog, for example, you should visit:

    http://example.com/blog/wp-admin/install.php

    Setup configuration file

    If WordPress can't find the wp-config.php file, it will tell you and offer to try to create and edit the file itself.

    (You can do also do this directly by loading wp-admin/setup-config.php in your web browser.)

    WordPress will ask you the database details and write them to a newwp-config.php file. If this works, you

    can go ahead with the installation; otherwise, go back andcreate, edit, and upload the wp-config.php file

    yourself (step 3).

    Enter database information

    Finishing installation

    The following screenshots show how the installation progresses. Notice in Entering the details screen, you enter your

    site title, your desired user name, your choice of a password (twice) and your e-mail address. Also displayed is a check-

    box asking if you would like your blog to appear in search engines like Google and Technorati. Leave the box checked if

    you would like your blog to be visible to everyone, including search engines, and uncheck the box if you want to block

    search engines, but allow normal visitors. Note all this information can be changed later in yourAdministration Panels.

    Version 3.0

    http://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#FTPhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Administration_Panelshttp://codex.wordpress.org/Administration_Panelshttp://codex.wordpress.org/Administration_Panelshttp://codex.wordpress.org/File:install-step3.pnghttp://codex.wordpress.org/File:install-step3.pnghttp://codex.wordpress.org/File:install-step3.pnghttp://codex.wordpress.org/File:install-step3.pnghttp://codex.wordpress.org/Administration_Panelshttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#FTP
  • 7/29/2019 Things to Know Before Installing WordPress

    7/12

    Enter site, login, and email

    All done!

    Install Script Troubleshooting

    If you get an error about the database when you run the install script:

    Go back toStep 2andStep 3, and be sure you got all the correct database information and that it was enteredcorrectly into wp-config.php.

    Be sure you granted your WordPress user permission to access your WordPress database in Step 3.

    Be sure the database server is running.

    Common Installation Problems

    http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_Userhttp://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_Userhttp://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_Userhttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step6.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/File:install-step5.pnghttp://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.phphttp://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User
  • 7/29/2019 Things to Know Before Installing WordPress

    8/12

    The following are some of the most common installation problems. For more information and troubleshooting for

    problems with your WordPress installation, check outFAQ InstallationandFAQ Troubleshooting.

    I see a directory listing rather than a web page.

    The web server needs to be told to view index.php by default. In Apache, use the DirectoryIndex

    index.php directive. The simplest option is to create a file named .htaccess in the installed directory and

    place the directive there. Another option is to add the directive to the web server's configuration files.

    I see lots ofHeaders already sent errors. How do I fix this?

    You probably introduced a syntax error in editing wp-config.php .

    1. Download wp-config.php (if you don't haveshellaccess).

    2. Open it in atext editor.

    3. Check that the first line contains nothing but , and that there is no text after it (not even whitespace).

    5. If your text editor saves as Unicode, make sure it adds no byte order mark (BOM). Most Unicode-enabled text

    editors do not inform the user whether it adds a BOM to files; if so, try using a different text editor.

    6. Save the file, upload it again if necessary, and reload the page in your browser.

    My page comes out gibberish. When I look at the source I see a lot of "" tags.

    If the tags are being sent to the browser, it means yourPHP is not working properly. All PHP code is

    supposed to be executed before the server sends the resultingHTMLto your web browser. (That's why it's called a

    preprocessor.) Make sure your web server meets the requirements to run WordPress, that PHP is installed and

    configured properly, or contact your hosting provider or system administrator for assistance.

    I keep getting an Error connecting to database message but I'm sure my configuration is

    correct.

    Try resetting your MySQL password manually. If you have access to MySQL via shell, try issuing:

    SET PASSWORD FOR 'wordpressusername'@'hostname' = OLD_PASSWORD('password');

    If you are using a version of MySQL prior to 4.1, use PASSWORD instead ofOLD_PASSWORD . If you do not

    have shell access, you should be able to simply enter the above into an SQL query in phpMyAdmin. Failing that, you

    may need to use your host's control panel to reset the password for your database user.

    My image/MP3 uploads aren't working.

    If you use the Rich Text Editor on a blog that's installed in a subdirectory, and drag a newly uploaded image into theeditor field, the image may vanish a couple seconds later. This is due to a problem with TinyMCE (the rich text editor)

    not getting enough information during the drag operation to construct the path to the image or other file correctly. The

    solution is to NOT drag uploaded images into the editor. Instead, click and hold on the image and select "Send to

    Editor."

    Automated Installation

    Although WordPress is very easy to install, you can use one of the one-click autoinstallers typically available from

    hosting companies. Four of those autoinstallers, (mt) Media Temple 1-Click Tool,Fantastico,Installatron, and

    Softaculousare described here.

    (mt) Media Temple 1-Click Tool

    http://codex.wordpress.org/FAQ_Installationhttp://codex.wordpress.org/FAQ_Installationhttp://codex.wordpress.org/FAQ_Installationhttp://codex.wordpress.org/FAQ_Troubleshootinghttp://codex.wordpress.org/FAQ_Troubleshootinghttp://codex.wordpress.org/FAQ_Troubleshootinghttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#PHPhttp://codex.wordpress.org/Glossary#PHPhttp://codex.wordpress.org/Glossary#PHPhttp://codex.wordpress.org/Glossary#HTMLhttp://codex.wordpress.org/Glossary#HTMLhttp://codex.wordpress.org/Glossary#HTMLhttp://codex.wordpress.org/Installing_WordPress#.28mt.29_Media_Temple_1-Click_Toolhttp://codex.wordpress.org/Installing_WordPress#.28mt.29_Media_Temple_1-Click_Toolhttp://codex.wordpress.org/Installing_WordPress#.28mt.29_Media_Temple_1-Click_Toolhttp://codex.wordpress.org/Installing_WordPress#Fantasticohttp://codex.wordpress.org/Installing_WordPress#Fantasticohttp://codex.wordpress.org/Installing_WordPress#Fantasticohttp://codex.wordpress.org/Installing_WordPress#Installatronhttp://codex.wordpress.org/Installing_WordPress#Installatronhttp://codex.wordpress.org/Installing_WordPress#Installatronhttp://codex.wordpress.org/Installing_WordPress#Softaculoushttp://codex.wordpress.org/Installing_WordPress#Softaculoushttp://codex.wordpress.org/Installing_WordPress#Softaculoushttp://codex.wordpress.org/Installing_WordPress#Installatronhttp://codex.wordpress.org/Installing_WordPress#Fantasticohttp://codex.wordpress.org/Installing_WordPress#.28mt.29_Media_Temple_1-Click_Toolhttp://codex.wordpress.org/Glossary#HTMLhttp://codex.wordpress.org/Glossary#PHPhttp://codex.wordpress.org/Glossary#Text_editorhttp://codex.wordpress.org/Glossary#Shellhttp://codex.wordpress.org/FAQ_Troubleshootinghttp://codex.wordpress.org/FAQ_Installation
  • 7/29/2019 Things to Know Before Installing WordPress

    9/12

    1. Log into your AccountCenter at https://ac.mediatemple.netand choose the primary domain of your (gs) Grid-

    Service.

    2. Click on "1-Click Applications", then click "Add New Application".

    3. Click the "Start" button for WordPress.

    4. Input various setup details and click "Install".

    5. Then click on "Finish" and your Wordpress installation is complete!

    (mt) KnowledgeBase

    Fantastico

    1. Login to your cPanel account and click on the Fantastico (or Fantastico Deluxe) option

    2. Once you enter Fantastico on the left hand side there is a 'Blogs' Category under which WordPress is there. Click

    on it.

    3. Click on the 'New Installation' Link in the WordPress Overview

    4. Fill in the various details and Submit.

    5. That's it you are done!

    Fantastico Home Page

    Installatron

    Installatron is a popular automation company that provides multiple methods to automatically install and upgrade

    WordPress. Most commonly, Installatron is available through web hosting provider's control panel software. Installatron

    also provides a tool on its website that enables WordPress to be installed to any website using the website's FTP

    information.

    To install WordPress through your web hosting provider's control panel:

    1. Login to your web host's control panel, navigate to "Installatron", click "WordPress", and choose the "Install this

    application" option.

    2. After customizing the WordPress install by editing any of the prompts, click the "Install" button.

    3. That's it! WordPress will be installed within a few seconds to your website.

    To install using your FTP account information on Installatron.com:

    1. Navigate toWordPress @ Installatronand choose the "Install this application" option.

    https://ac.mediatemple.net/https://ac.mediatemple.net/https://ac.mediatemple.net/http://kb.mediatemple.net/questions/913/How+do+I+install+WordPress+using+the+1-Click+Applications+toolhttp://kb.mediatemple.net/questions/913/How+do+I+install+WordPress+using+the+1-Click+Applications+toolhttp://www.netenberg.com/fantastico.phphttp://www.netenberg.com/fantastico.phphttps://secure.installatron.com/apps/wordpresshttps://secure.installatron.com/apps/wordpresshttps://secure.installatron.com/apps/wordpresshttp://codex.wordpress.org/File:fant.jpghttp://codex.wordpress.org/File:1-click_WPv.jpghttp://codex.wordpress.org/File:fant.jpghttp://codex.wordpress.org/File:1-click_WPv.jpghttps://secure.installatron.com/apps/wordpresshttp://www.netenberg.com/fantastico.phphttp://kb.mediatemple.net/questions/913/How+do+I+install+WordPress+using+the+1-Click+Applications+toolhttps://ac.mediatemple.net/
  • 7/29/2019 Things to Know Before Installing WordPress

    10/12

    2. Enter your hosting account's FTP and MySQL database information. For increased security, create a separate FTP

    account and MySQL database for your WordPress installation. Once this information is entered, click "Install".

    3. That's it! You will be redirect to a progress page where you can watch as WordPress is installed within a few

    seconds to your website.

    Installatron Home Page

    Softaculous

    1. Login to your host and look for Software/Services

    2. In Softaculous there is a 'Blogs' Category. Collapse the category and WordPress will be there. Click on it.

    3. You will see an 'Install' TAB. Click it.

    4. Fill in the various details and Submit.

    5. That's it, you are done!

    Softaculous Home Page

    Installation Instructions in Other Languages

    For installation instructions in other languages, seeWordPress in Your Language.

    Installing Multiple Blogs

    Detailed information aboutInstalling Multiple Blogsis available.

    Installing WordPress on your own Computer

    Local Installation Instructions

    Use these instruction for setting up a local server environment for testing and development.

    DesktopServer Limited: Free Windows/Macintosh server, creates multiple virtual servers with fictitious top level

    domains (i.e. www.example.dev) specifically for working on multiple WordPress projects.

    Installing WordPress Locally on Your Mac With MAMP

    User:Beltranrubo/BitNamiFree all-in-one installers for OS X, W indows and Linux. There are also available installers

    for WordPress MultisiteUser:Beltranrubo/BitNami_Multisiteusing different domains or subdomains.

    Instant WordPress is a free, standalone, portable WordPress development environment for Windows that will runfrom a USB key.

    http://www.installatron.com/http://www.installatron.com/http://www.softaculous.com/http://www.softaculous.com/http://codex.wordpress.org/WordPress_in_Your_Languagehttp://codex.wordpress.org/WordPress_in_Your_Languagehttp://codex.wordpress.org/WordPress_in_Your_Languagehttp://codex.wordpress.org/Installing_Multiple_Blogshttp://codex.wordpress.org/Installing_Multiple_Blogshttp://codex.wordpress.org/Installing_Multiple_Blogshttp://serverpress.com/products/desktopserverhttp://serverpress.com/products/desktopserverhttp://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMPhttp://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMPhttp://codex.wordpress.org/User:Beltranrubo/BitNamihttp://codex.wordpress.org/User:Beltranrubo/BitNamihttp://codex.wordpress.org/User:Beltranrubo/BitNami_Multisitehttp://codex.wordpress.org/User:Beltranrubo/BitNami_Multisitehttp://codex.wordpress.org/User:Beltranrubo/BitNami_Multisitehttp://www.instantwp.com/http://www.instantwp.com/http://codex.wordpress.org/File:soft.jpghttp://www.instantwp.com/http://codex.wordpress.org/User:Beltranrubo/BitNami_Multisitehttp://codex.wordpress.org/User:Beltranrubo/BitNamihttp://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMPhttp://serverpress.com/products/desktopserverhttp://codex.wordpress.org/Installing_Multiple_Blogshttp://codex.wordpress.org/WordPress_in_Your_Languagehttp://www.softaculous.com/http://www.installatron.com/
  • 7/29/2019 Things to Know Before Installing WordPress

    11/12

    Software Appliance - Ready-to-Use

    You may find that using a pre-integratedsoftware applianceis a great way to get up and running with WordPress,

    especially in combination with virtual machine software (e.g., VMWare, VirtualBox, Xen HVM, KVM).

    A software appliance allows users to altogether skip manual installation of WordPress and its dependencies, and

    instead deploy a self-contained system that requires little to no setup, in just a couple of minutes.

    TurnKey WordPress Appliance: a free Ubuntu-based appliance that just works. It bundles a collection of popular

    WordPress plugins and features a small footprint, automatic security updates, SSL support and a Web administration

    interface.

    BitNami WordPress Appliance: free WordPress appliances based on Ubuntu or Open Suse. Native installer and

    Cloud images also available. There are also virtual machines for WordPress Multisite already configured.

    UShareSoft WordPress Appliance: free WordPress appliance for many of the major virtualization and cloud platforms

    (Cloud.com, Xen, VMware, OVF, Abiquo)

    Easy 5 Minute WordPress Installation on WindowsDownload, install, and configure WordPress with theMicrosoft Web Platform Installer(Web PI). Installation is very easy

    and takes on average about 5 minutes to complete. For other Windows installers, checkthis section

    Step 1. Things you need to know before starting.

    1. These steps will work on Windows versions which include IIS, such as Windows XP professional, Windows Vista,

    Windows 7 and Windows Server.

    2. You must be able to install programs on your machine (i.e. have administrator rights).

    Step 2. Navigate to theWordPress Installation Page

    1. Choose the "Install" button.

    2. If you haveWeb PIalready installed, it will automatically be launched and you can skip to the next step.

    3. If you do not have theWeb Platform Installer, you will be prompted to install it.

    4. Web PIis a tool from Microsoft that downloads and installs the latest components you need to develop or host Web

    applications on Windows. Everything in the tool is free.Web PIwill install and configure IIS, PHP, MySQL and

    anything else you may need.

    Step 3. Choose to Install WordPress

    1. WhenWeb PI launches, you will see an information page for WordPress. Start installing WordPress by pressing the

    "Install" button in the lower right hand corner.

    Step 4. Installation of WordPress and its requirements

    1. Finding Dependencies: Web PIwill determine the minimum set of components and modules you need on your

    machine to run WordPress. It will only install what youre missing. For example, PHP will be installed and configured

    to run WordPress.

    2. Configure the Database: After accepting the terms, if you need to install MySQL, you will be asked to create a

    password for the root account database account. Keep this password safe. WordPress will ask for this information

    later.

    3. Choose the site: Choose a site to install WordPress to. You may install to an existing Web site in IIS or create a new

    site. Use the default setting if you do not have advanced configuration needs.

    4. WordPress Setup: WordPress will need answers to a few specific questions such as the username (in the case of a

    new MySQL install is root) and password for your MySQL database to complete the install.

    Step 5. Completion

    http://en.wikipedia.org/wiki/Software_appliancehttp://en.wikipedia.org/wiki/Software_appliancehttp://en.wikipedia.org/wiki/Software_appliancehttp://www.turnkeylinux.org/wordpresshttp://www.turnkeylinux.org/wordpresshttp://bitnami.org/stack/wordpresshttp://bitnami.org/stack/wordpresshttps://sourceforge.net/projects/usharesoftvapps/files/uss-wordpresshttps://sourceforge.net/projects/usharesoftvapps/files/uss-wordpresshttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://codex.wordpress.org/Installing_WordPress#Local_Installation_Instructionshttp://codex.wordpress.org/Installing_WordPress#Local_Installation_Instructionshttp://codex.wordpress.org/Installing_WordPress#Local_Installation_Instructionshttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://codex.wordpress.org/Installing_WordPress#Local_Installation_Instructionshttp://www.microsoft.com/web/gallery/wordpress.aspxhttp://www.microsoft.com/web/gallery/wordpress.aspxhttps://sourceforge.net/projects/usharesoftvapps/files/uss-wordpresshttp://bitnami.org/stack/wordpresshttp://www.turnkeylinux.org/wordpresshttp://en.wikipedia.org/wiki/Software_appliance
  • 7/29/2019 Things to Know Before Installing WordPress

    12/12

    1. Once you enter the WordPress setup information, Web PI will finish the installation.

    2. Click, Launch in Browser and WordPress will launch.

    Alternatively, theBitNami WordPress installeris a free, self-contained native installer for WordPress that includes

    Apache, MySQL and PHP so it works out of the box.

    WAMP

    If you don't have IIS on your computer or don't want to use it, you could use a WAMP installation.WAMP Server, or

    WAMP Server at SourceForge, orBitNami WAMPStackcan be downloaded freely and set up all the bits you need on

    your computer to run a web site. Once you have downloaded and installed WAMP, you can point your browser at

    localhostand use the link to phpmyadmin to create a database.

    Then, in order to install WordPress, download the zip file, and extract it into the web directory for your WAMP

    installation (this is normally installed as c:\wamp\www). Finally visithttp://localhost/wordpressto start the WordPress

    install. (Assuming you extracted into c: \wamp\www\wordpress).

    Tip: If you want to use anything other than the default permalink structure on your install, make sure you enable the

    mod_rewrite module in WAMP. This can be enabled by clicking on the WAMP icon in the taskbar, then hover over

    Apache in the menu, then Apache modules and ensure that the rewrite_module item has a checkmark next to it.

    http://bitnami.org/stack/wordpresshttp://bitnami.org/stack/wordpresshttp://bitnami.org/stack/wordpresshttp://www.wampserver.com/en/download.phphttp://www.wampserver.com/en/download.phphttp://www.wampserver.com/en/download.phphttp://sourceforge.net/projects/wampserver/http://sourceforge.net/projects/wampserver/http://bitnami.org/stack/wampstackhttp://bitnami.org/stack/wampstackhttp://bitnami.org/stack/wampstackhttp://localhost/http://localhost/http://localhost/wordpresshttp://localhost/wordpresshttp://localhost/wordpresshttp://localhost/wordpresshttp://localhost/http://bitnami.org/stack/wampstackhttp://sourceforge.net/projects/wampserver/http://www.wampserver.com/en/download.phphttp://bitnami.org/stack/wordpress