Installing WordPress

From The Uniform Server Wiki
Jump to navigation Jump to search

MPG UniCenter

How to install WordPress on Uniform Server 3.5-Apollo

WordPress is easy to install on Uniform Server 3.5-Apollo, do you need a portable version, no problem. New to blogging and want to get a feel for it in your own time and not be embarrassed by making mistakes on-line. Then this page is probably what you are looking for.

It shows you how to install WordPress on UniServer allowing you to explore WordPress’s features, test plugins and widgets.

Pre-Installation 1

Download files and copy to their correct location.

To begin, I have assumed you have downloaded Uniform Server 3.5-Apollo from SourceForge and unzipped it to your computer.
If you intend going live check out this page first security check list.

Note: You will need a database user name and password in this tutorial I use the Uniform defaults name=root password=root.

  • Database user name root - No need to change this
  • Database password root - Before installing WordPress I recommend changing this using apanel

A) Next you need to download WordPress 2.3.1 (or newer version) from here click on Download .ZIP and save to a convenient folder for example c:\wordpress_temp

B) Extract this file to the current folder (right click on the file to be extracted wordpress-2.3.1.zip and select Extract All... click Next and Next again).

This creates a new folder named: wordpress-2.3.1 inside this folder is the main WordPress folder wordpress it contains all files required for installtion.

C) Copy folder wordpress and all its contents to Uniform Server's root folder *\Uniform Server\udrive\www

Top

Pre-Installation 2

Create a WordPress configuration file . Download files and copy to their correct location.

D) Inside the wordpress folder locate the file named: wp-config-sample.php Rename it to: wp-config.php

After renaming open file in a text editor (such as Notepad) locate the following three lines:

define('DB_NAME', 'putyourdbnamehere'); // The name of the database
define('DB_USER', 'usernamehere'); // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password

Change the lines as shown in bold:

define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', 'root'); // ...and password

Save the file, this configuration file is used by WordPress to locate and access the database which we create in the next step.

Top

Installation - Create a WordPress Database

Creating the WordPress database is straight forward, tables are automatically inserted during installation

Start Uniform Server (Double click on Server_Start.bat in folder Uniform Server).

From apanel (displayed in your browser when the server starts) click on the phpMyAdmin link. (left menu under tools) Note you can always return to apanel by typing http://localhost/apanel/ into your browser address bar.

A) We want to create a new database. Name it wordpress (or something easy to remember if you change this make sure you change the configuration file to match)

B) Click on Create to create the database

Top

Installation

To start the WordPress installation process type http://localhost/wordpress/wp-admin/install.php into your browser and follow the instructions.

There are two pages to the process as follows:

1) Welcome page requires the following information:

  • Blog title: UniCenter Test -- (Choose whatever you like you can change this in WordPress)
  • Your e-mail: test@unicenter_test.com -- (Any email will do you can change this in WordPress)
  • Un-Check, "Allow my blog to appear in search engines ..." -- (Not required for testing)
  • Click on Install WordPress


2) Success page (I liked the final comment)

Note: username "admin" and password "a1f096". (the password is random make this the first thing you change in WordPress)

Top

Change your WordPress Password

Login to WordPress either using the link on the Success page or type type the following into your browser http://localhost/wordpress/wp-login.php

Use the username "admin" and password "see step 2 above"

Click on Users (top menu bar) select click on Your Profile, scroll down the page to Update Your Password and enter your new password twice. Click Update Profile (bottom right)

Note: The above is not necessary however it is niece to have a password you can remember!

Top

Access Information

Login to WordPress by typing the following into your browser: http://localhost/wordpress/wp-login.php
To view your Blog type the following into your browser: http://localhost/wordpress/

Portability

If you want a portable version of WordPress copy the folder Uniform Server and all its content to your USB memory stick that’s it. Don’t expect fantastic speeds however it is usable.

Conclusion

WordPress is extremely easy to install on UniServer, if you want to have a go at blogging give it a spin on your own PC. Need more information pop over to WordPress.org when you feel confident get a free blog on WordPress.com.

Top


Ric