487
edits
mNo edit summary |
(Punctuation and grammatical changes; some clarification.) |
||
Line 7: | Line 7: | ||
The following instructions show you how to install WordPress on a clean version of 5-Nano. | The following instructions show you how to install WordPress on a clean version of 5-Nano. | ||
WordPress is easy to install on Uniform Server 5-Nano | WordPress is easy to install on Uniform Server 5-Nano. Do you need a portable version? No problem. Are you 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. | ||
It shows you how to install WordPress on UniServer allowing you to explore WordPress’s features, test plugins and widgets. | |||
== Pre-Installation 1 == | == Pre-Installation 1 == | ||
Line 18: | Line 16: | ||
# '''A)''' Create a new folder named '''wordpress_b''' (Can be any name) | # '''A)''' Create a new folder named '''wordpress_b''' (Can be any name) | ||
# Extract a new copy of Uniform Server V5-Nano to this folder<br>'''''Note'':''' You will need a database user name and password | # Extract a new copy of Uniform Server V5-Nano to this folder<br>'''''Note'':''' You will need a database user name and password. In this tutorial I use the UniServer defaults: name='''root''' password='''root'''.<br> --- Database user name '''root''' - No need to change this<br> --- Database password '''root''' - Before installing WordPress, I recommend changing this using [[5.0-Nano: Security & passwords#MySQL Password | apanel]] | ||
'''''Download WordPress''''' | '''''Download WordPress''''' | ||
<ol start="4"> | <ol start="4"> | ||
<li> '''B)''' Create a new folder '''wordpress_a''' (Can be any name | <li> '''B)''' Create a new folder '''wordpress_a''' (Can be any name; it's only a temporary folder)</li> | ||
<li> Download WordPress 2.9 (or newer version) from [http://wordpress.org/download/ here] | <li> Download WordPress 2.9 (or newer version) from [http://wordpress.org/download/ here]. Click on Download .ZIP and save to a convenient folder, like '''wordpress_a'''</li> | ||
<li> Extract this file to the current folder ('''right click''' on the file to be extracted wordpress-2.9.zip and select '''Extract All'''... click '''Next''' and '''Next''' again).</li> | <li> Extract this file to the current folder ('''right click''' on the file to be extracted wordpress-2.9.zip and select '''Extract All'''... click '''Next''' and '''Next''' again).</li> | ||
<li> This creates a new folder named | <li> This creates a new folder named wordpress-2.9 '''(C)''' which contains the main WordPress folder''' wordpress''' '''(D)''' that has all files required for installation.</li> | ||
</ol> | </ol> | ||
'''''Copy files to Uniform Server''''' | '''''Copy files to Uniform Server''''' | ||
Line 35: | Line 33: | ||
|} | |} | ||
== Pre-Installation 2 == | == Pre-Installation 2 == | ||
Line 73: | Line 70: | ||
|} | |} | ||
Save the file | Save the file. This configuration file is used by WordPress to locate and access the database, which we create in the next step. | ||
|} | |} | ||
|valign="top"| | |valign="top"| | ||
[[Image:Nano_wordpress_1.gif]] | [[Image:Nano_wordpress_1.gif]] | ||
|} | |} | ||
== Installation - Create a WordPress Database == | == Installation - Create a WordPress Database == | ||
Creating the WordPress database is straight forward | Creating the WordPress database is straight forward. The tables are automatically built during installation. | ||
{| | {| | ||
|- | |- | ||
Line 88: | Line 85: | ||
|- | |- | ||
|valign="top"| | |valign="top"| | ||
# Start UniTray | # Start UniTray: In folder UniServer double click on '''Start.exe''' which creates a tray icon. | ||
# Start Uniform Server. Left click '''tray icon > click Start UniServer ''' | # Start Uniform Server. Left click '''tray icon > click Start UniServer ''' | ||
# Left click tray icon > click phpMyAdmin - This opens phpMyAdmin in your browser | # Left click tray icon > click phpMyAdmin - This opens phpMyAdmin in your browser. | ||
# '''A)''' We want to create a new database. Name it '''wordpress''' | # '''A)''' We want to create a new database. Name it '''wordpress''' | ||
# '''B)''' Click on '''Create''' to create the database | # '''B)''' Click on '''Create''' to create the database. | ||
|} | |} | ||
|valign="top"| | |valign="top"| | ||
Line 98: | Line 95: | ||
|} | |} | ||
'''''Note'':''' | '''''Note'':''' | ||
* You can start phpMyAdmin from Apanel | * You can also start phpMyAdmin from Apanel. Start Apanel by typing <nowiki>http://localhost/apanel/</nowiki> into your browser address bar. | ||
* From Apanel click on the '''phpMyAdmin''' link. (left menu under tools) | * From Apanel, click on the '''phpMyAdmin''' link. (left menu under tools) | ||
== Installation == | == Installation == | ||
To start the WordPress installation process type '''<nowiki>http://localhost/wordpress/wp-admin/install.php</nowiki>''' into your browser and follow the instructions. | To start the WordPress installation process, type '''<nowiki>http://localhost/wordpress/wp-admin/install.php</nowiki>''' into your browser and follow the instructions. | ||
There are two pages to the process as follows: | There are two pages to the process as follows: | ||
Line 110: | Line 106: | ||
'''1)''' Welcome page requires the following information: | '''1)''' Welcome page requires the following information: | ||
* '''''Blog title:''''' UniCenter Test -- (Choose whatever you like you can change this in WordPress) | * '''''Blog title:''''' UniCenter Test -- (Choose whatever you like; you can change this later in WordPress) | ||
* '''''Your e-mail:''''' test@ztest.com -- (Any email will do you can change this in WordPress) | * '''''Your e-mail:''''' test@ztest.com -- (Any email will; do you can change this later in WordPress) | ||
* '''Un-Check''', "''Allow my blog to appear in search engines ...''" -- (Not required for testing) | * '''Un-Check''', "''Allow my blog to appear in search engines ...''" -- (Not required for testing) | ||
* Click on '''Install WordPress''' | * Click on '''Install WordPress''' | ||
Line 118: | Line 114: | ||
'''2)''' Success page (I liked the final comment) | '''2)''' Success page (I liked the final comment) | ||
'''''Note'':''' username "admin" and password "XA6T%h9y*EFE". ( | '''''Note'':''' username "admin" and generated password "XA6T%h9y*EFE". (The password is random; make this the first thing you change in WordPress) | ||
'''3)''' Login and change your WordPress Password | '''3)''' Login and change your WordPress Password | ||
Line 131: | Line 127: | ||
* Click '''Update Profile''' | * Click '''Update Profile''' | ||
'''''Note'':''' The above is not necessary however it is | '''''Note'':''' The above is not necessary, however it is nice to have a password you can remember! | ||
== Accessing WordPress == | == Accessing WordPress == | ||
Line 143: | Line 138: | ||
|To view your Blog type the following into your browser:||'''<nowiki>http://localhost/wordpress/</nowiki>''' | |To view your Blog type the following into your browser:||'''<nowiki>http://localhost/wordpress/</nowiki>''' | ||
|} | |} | ||
== Permalinks == | == Permalinks == | ||
Line 154: | Line 149: | ||
The following example shows how to enable custom permalinks (Pretty Permalinks). | The following example shows how to enable custom permalinks (Pretty Permalinks). | ||
# Log into Wordpress select '''Dashboard > Settings > Permalinks''' | # Log into Wordpress and select '''Dashboard > Settings > Permalinks''' | ||
# Click '''Custom''' radio button and enter '''/%postname%/%post_id%/'''<br> For a full list of variables check the WordPress Wiki | # Click '''Custom''' radio button and enter '''/%postname%/%post_id%/'''<br> For a full list of variables check the WordPress Wiki | ||
# Click '''Save Changes''' | # Click '''Save Changes''' | ||
== Portability == | == Portability == | ||
If you want a portable version of WordPress copy the folder '''UniServer''' and all its content to your USB memory stick | If you want a portable version of WordPress, copy the folder '''UniServer''' and all its content to your USB memory stick. That’s it. Don’t expect fantastic speeds, however it is usable. | ||
== Move Servers == | == Move Servers == | ||
One of Uniform Server’s unique features is the capability to run more than one complete server on the same PC. When running a server from a USB memory stick you can use this to great advantage and prevent server | One of Uniform Server’s unique features is the capability to run more than one complete server on the same PC. When running a server from a USB memory stick, you can use this to great advantage and prevent server collisions. You will have noticed UniTray’s icon displays a one (meaning standard ports). Moving UniServer increments this digit for each server move. In reality it’s not just a port change but a complete server update. Running '''server status''' displays the server characteristics. | ||
'''''Move Servers'':''' | '''''Move Servers'':''' | ||
# Assumes a | # Assumes a newly extracted server. | ||
# '''Stop all''' running Uniform Servers | # '''Stop all''' running Uniform Servers | ||
# Start UniTray | # Start UniTray: In folder UniServer, double click on '''Start.exe''' and the tray icon is created. | ||
# Move servers | # Move servers: Left click '''tray icon > Advanced > click Move Servers multi-server operation'''. | ||
# In the pop-up window at '''all''' prompts '''press enter''' to accept defaults. | # In the pop-up window, at '''all''' prompts '''press enter''' to accept defaults. | ||
# The tray icon will display 2 | # The tray icon will display 2. If you already use a server with this number '''repeat steps 4 and 5'''. each server must have a '''unique number'''. | ||
Line 180: | Line 174: | ||
* To find these: Left click '''tray icon > Server Status''' | * To find these: Left click '''tray icon > Server Status''' | ||
I moved the servers to icon 3, so Apache port = '''82''' and MySQL port = '''3308''' | |||
I moved the servers to icon 3 | |||
=== At Pre-Installation 2 === | === At Pre-Installation 2 === | ||
Line 220: | Line 213: | ||
|define('DB_HOST', ''''localhost:3308'''');||/** MySQL hostname */ | |define('DB_HOST', ''''localhost:3308'''');||/** MySQL hostname */ | ||
|} | |} | ||
Save the file | Save the file. This configuration file is used by WordPress to locate and access the database.. | ||
|} | |} | ||
To start the WordPress installation process type '''<nowiki>http://localhost:82/wordpress/wp-admin/install.php</nowiki>''' into your browser and follow the instructions. | To start the WordPress installation process, type '''<nowiki>http://localhost:82/wordpress/wp-admin/install.php</nowiki>''' into your browser and follow the instructions. | ||
After installation | After installation, access requires the addition of a port number as shown: | ||
* Login to WordPress by typing the following into your browser: '''<nowiki>http://localhost:82/wordpress/wp-login.php</nowiki>''' | * Login to WordPress by typing the following into your browser: '''<nowiki>http://localhost:82/wordpress/wp-login.php</nowiki>''' | ||
Line 231: | Line 224: | ||
'''''Note'':''' The plugin contains the following code that automatically tracks the MySQL port. | '''''Note'':''' The plugin contains the following code that automatically tracks the MySQL port. There's no need to change the DB_HOST line if using the plugin: | ||
{| | {| | ||
Line 266: | Line 259: | ||
== Plugin == | == Plugin == | ||
The above instructions are generic allowing you to install the latest version of WordPress. | The above instructions are generic allowing you to install the latest version of WordPress. | ||
If you prefer a click and go solution go to [http://sourceforge.net/projects/miniserver/files/Plugins/UniServer% | If you prefer a click and go solution, go to [http://sourceforge.net/projects/miniserver/files/Plugins/UniServer%2056-Nano%20Plugins/Applications/ '''SourceForge'''] | ||
* Under '''Plugins''' | * Under '''Plugins''' | ||
* Navigate to sub-folder '''Uniform Server 5-Nano Plugins''' | * Navigate to sub-folder '''Uniform Server 5-Nano Plugins''' | ||
* Download file [http://sourceforge.net/projects/miniserver/files/Plugins/UniServer% | * Download file [http://sourceforge.net/projects/miniserver/files/Plugins/UniServer%2056-Nano%20Plugins/Applications/V56_WordPress/V56_Wordpress_2_9_2.exe/download V56_Wordpress_2_9_2.exe] | ||
Save this to folder UniServer | Save this to folder UniServer; to install, double click on file. WordPress is pre-configured and ready to go. Check out the read me file for more information. | ||
'''''Note'':''' This plugin is intended to quickly get WordPress up and running allowing you to explore the software. If you intend running a production server delete the folders installed and perform a manual install | '''''Note'':''' This plugin is intended to quickly get WordPress up and running, allowing you to explore the software. If you intend running a production server, delete the folders installed and perform a manual install. This allows you to tailor WordPress and include any missing modules. | ||
== MySQL Security == | == MySQL Security == | ||
The above installation guide and associated downloadable plugin are intended to get the application up and running purely for testing. | The above installation guide and associated downloadable plugin are intended to get the application up and running purely for testing. | ||
If you are intending to put the application on line make sure to read any security advice provided with the application and check providers web site. | If you are intending to put the application on line, make sure to read any security advice provided with the application and check providers web site. | ||
More importantly, the above installation is an extreme security risk if put online as is. | |||
It's imperative that you secure the MySQL server before putting your servers online. | |||
Please read the following page [[MySQL Security | '''MySQL Security''']] and restrict privileges to any user that has connection access to your server. | |||
== Conclusion == | == 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. | 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. | ||
If you need more information, pop over to [http://wordpress.org/ WordPress.org]. When you feel confident, get a free blog on [http://wordpress.com/ WordPress.com]. | |||
---- | ---- |