Zero logo

WordPress

WordPress is a free and open source application designed primarily for blogging and creating websites. It is a content-management system (CMS) based on PHP and MySQL the following page provides detailed information for installing WordPress on Uniform Server Zero XI.

Note: At step 5 you are required to enter your e-mail address this is the e-mail address you set as default when configuring MSMTP, for details see Edit MSMTP Configuration

Step 1: Download and Extract

Download and unzip the WordPress package.

  • Download the latest version of Wordpress from http://wordpress.org/download/. currently 3.6.1
  • Save the downloaded file wordpress-3.6.1.zip to a temporary folder for example C:\wordpress_temp
  • Extract, right click on file wordpress-3.6.1.zip, select Extract All, click next and next again.

Before Wordpress can be installed a MySQL user and database are required for details see step2.

Step 2: Create the Database and a User using phpMyAdmin

Follow these instructions to create your WordPress username and database using phpMyAdmin.

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

  • Start UniController.
  • Start Apache and MySQL servers.
  • Click phpMyAdmin button - Opens phpMyAdmin in default browser.
  1. If a WordPress database does not already exist in the Database list on the left, create one:
    1. Click Databases button top left menu bar.
    2. Choose a name for your WordPress database ('wordpress' or 'blog' are good), enter it in the Create database field, and click Create.
      Note: Database name added to list on the left.
  2. Click the Users button top menu bar. If a user relating to WordPress does not already exist in the list of users, create one:
    1. Click Add user this opens the add user menu, navigate to the Login Information section:
    2. Choose 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. From the Host dropdown select Use text field: in the Host field enter 127.0.0.1
    4. 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.
    5. Write down the username and password you chose.
    6. Leave all options under Database for user and Global privileges at their defaults.
    7. Click Go.
  3. You are returned to the Users screen.
    1. Click Edit privileges for the user you've just created for WordPress.
    2. In the Database-specific privileges section, select the database you've just created for WordPress.
    3. The page will refresh with privileges for that database. Click Check All to select all privileges
    4. Click Go.

Note: Other parts of this documentation assume you have set the following: WordPress database name = wordpress Username for WordPress = wordpress Password = fred123 remember to replace these with the values you have set in the above.

Step 3: Set up wp-config.php

Create and edit the wp-config.php

  • Return to where you extracted the WordPress package in Step 1 (folder C:\wordpress_temp\wordpress-3.6.1\wordpress).
  • Rename the file wp-config-sample.php to wp-config.php, and open it in a text editor.

Replace the following using information from Step-2

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

To give the following:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'wordpress');

/** MySQL database password */
define('DB_PASSWORD', 'fred123');

/** MySQL hostname */
define('DB_HOST', '127.0.0.1');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

Enter your secret key values

Replace the following section:

define('AUTH_KEY',         'put your unique phrase here');
define('SECURE_AUTH_KEY',  'put your unique phrase here');
define('LOGGED_IN_KEY',    'put your unique phrase here');
define('NONCE_KEY',        'put your unique phrase here');
define('AUTH_SALT',        'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT',   'put your unique phrase here');
define('NONCE_SALT',       'put your unique phrase here');

With the following example section:

define( 'AUTH_KEY',         't`DK%X:>xy|e-Z(BXb/f(Ur`8#~UzUQG-^_Cs_GHs5U-&Wb?pgn^p8(2@}IcnCa|' );
define( 'SECURE_AUTH_KEY',  'D&ovlU#|CvJ##uNq}bel+^MFtT&.b9{UvR]g%ixsXhGlRJ7q!h}XWdEC[BOKXssj' );
define( 'LOGGED_IN_KEY',    'MGKi8Br(&{H*~&0s;{k0<S(O:+f#WM+q|npJ-+P;RDKT:~jrmgj#/-,[hOBk!ry^' );
define( 'NONCE_KEY',        'FIsAsXJKL5ZlQo)iD-pt??eUbdc{_Cn<4!d~yqz))&B D?AwK%)+)F2aNwI|siOe' );
define( 'AUTH_SALT',        '7T-!^i!0,w)L#JK@pc2{8XE[DenYI^BVf{L:jvF,hf}zBf883td6D;Vcy8,S)-&G' );
define( 'SECURE_AUTH_SALT', 'I6`V|mDZq21-J|ihb u^q0F }F_NUcy`l,=obGtq*p#Ybe4a31R,r=|n#=]@]c #' );
define( 'LOGGED_IN_SALT',   'w<$4c$Hmd%/*]`Oom>(hdXW|0M=X={we6;Mpvtg+V.o<$|#_}qG(GaVDEsn,~*4i' );
define( 'NONCE_SALT',       'a|#h{c5|P &xWs4IZ20c2&%4!c(/uG}W:mAvy<I44`jAbup]t=]V<`}.py(wTP%%' );

Note: Do not use the above as is either change these to different unique phrases by changing a few characters in each line (keep the line length the same) or use the online generator.

Save the wp-config.php file

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 www will vary depending where Uniform Server was installed.
A default installation assumes the following path C:\UniServerZ\www

In the Root Directory

Copy all the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.

  • Copy all the contents of folder C:\wordpress_temp\wordpress-3.6.1\wordpress to folder C:\UniServerZ\www

In a Subdirectory

Rename the wordpress directory to your desired name, then copy the directory to your desired location within the root directory of your web site

  • Rename folder C:\wordpress_temp\wordpress-3.6.1\wordpress to C:\wordpress_temp\wordpress-3.6.1\blog
  • Copy folder C:\wordpress_temp\wordpress-3.6.1\blog to folder C:\UniServerZ\www

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://localhost/wp-admin/install.php
  • If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://localhost/blog/wp-admin/install.php

Finishing installation

The details screen is displayed 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. 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 your Administration Panels

  • http://localhost/blog/wp-login.php

--oOo--