Installing Joomla on 4.0-Mona

From The Uniform Server Wiki
Revision as of 08:56, 15 February 2009 by Ric (talk | contribs) (New page: <span id="top"></span> {| cellpadding="2" |__TOC__||'''Installing Joomla on 4.0-Mona''' |} '''Introduction''' This step-by-step guide shows how to install Joomla on Uniform Server V4.0-Mo...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing Joomla on 4.0-Mona

Introduction

This step-by-step guide shows how to install Joomla on Uniform Server V4.0-Mona and resolve a portability issue.

Pre-Installation

Install Uniform server

  1. A) Create a new folder named joomla_b (Can be any name)
  2. Extract a new copy of Uniform Server V4.0-Mona to this folder
  3. Start Uniform Server.

Download Joomla

  1. B) Create a new folder joomla_a (Can be any name its only a temporary folder)
  2. Download the latest version (Joomla_1.5.9-Stable-Full_Package.zip) of Joomla from download page
  3. Copy the file dowloaded (Joomla_1.5.9-Stable-Full_Package.zip) to joomla_a
  4. C) Unzip Joomla_1.5.9-Stable-Full_Package.zip into this folder.

Copy files to Uniform Server

  1. D) Copy folder Joomla_1.5.9-Stable-Full_Package to Uniform Servers's root folder www
  2. E) Rename the copied folder Joomla_1.5.9-Stable-Full_Package to joomla (can be any name)

Top

Create a Joomla Database

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

  1. Start Uniform Server (Double click on Server_Start.bat in folder UniServer).
  2. 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.
  3. A) We want to create a new database. Name it joomla (or something easy to remember if you change this make sure you change the configuration file to match)
  4. B) Click on Create to create the database

Top

Installation

To start the installation process type the following http://localhost/joomla/ into your browser and follow the instructions.

There are seven pages to the process as follows:

  1. Language
  2. Pre-installation Check
  3. License
  4. Database
  5. FTP Configuration
  6. Configuration
  7. Finish

For completeness, I have reproduced the steps and added a few extra notes.

Top

Language

You are presented with a list of languages, the default selection is English.

Select your required language and Click Next (top right)

Top

Pre-installation Check

Uniform Server passes the pre-installation check, Click Next

The following are checked:
If any of these items are not supported (marked as No), your system does not meet the minimum requirements for installation. Please take appropriate actions to correct the errors. Failure to do so could lead to your Joomla! installation not functioning properly.

PHP Version >= 4.3.10 Yes
- Zlib Compression Support Yes
- XML Support Yes
- MySQL Support Yes
MB Language is Default Yes
MB String Overload Off Yes
configuration.php Writable Yes

Recommended Settings:
These are the recommended settings for PHP in order to ensure full compatibility with Joomla!. Joomla! will still operate even if your settings do not match.

Directive Recommended Actual
Safe Mode: Off Off
Display Errors: Off On
File Uploads: On On
Magic Quotes Runtime: Off Off
Register Globals: Off Off
Output Buffering: Off Off
Session Auto Start: Off Off

Top

License

After reading the GNU General Public License: - Click Next

Top

Database

I have shown Uniform Server's default password (MySQL password = root) and database name (joomla) as create above.

If you are going to put the server on-line change the MySQL password.

Database Type: mysql - Do not change
Host Name: localhost - Do not change
Username: root - Do not change
Password: root - Use the MySQL password you set using Apanel
Database Name: joomla - Use the name you set during pre-configuration
  Click Next - That's all the database info required hence continue

Note: You do not need to change any of the advanced features.

Top

FTP Configuration

Click Next

Note: For a Windows Operating System, the FTP layer is not required.

Top

Configuration

Site configuration is straightforward, I have shown example entries in bold just substitute for your real data.

Site Name: MPG TEST - Use your real site name
Your E-mail: fred@fred.com - Use your real email address
Admin Password: root66 - Use your real password
Confirm Admin Password: root66 - Enter it again
Install Default Sample Data Click Install button - Optional
Load Migration Script: Not required - No action
  Click Next - That completes the site information

Top

Finish

That essentially completes the installation, you will receive the following warning:

PLEASE REMEMBER TO COMPLETELY
REMOVE THE INSTALLATION DIRECTORY.
You will not be able to proceed beyond this point
until the installation directory has been removed.
This is a security feature of Joomla!.

Delete the folder: UniServer\udrive\www\joomla\installation

From your browser refresh the page, the above warning disappears.

Click Either Site or Admin

Top

General Information

  • Admin login name: admin
  • Admin password: root66 - One you set above
  • Site address: http://localhost/joomla/
  • Admin address: http://localhost/joomla/administrator/

Top

Portability

Once Joomla is installed, it becomes a fixed installation running on the drive letter that was automatically selected (generally drive Z).

Two paths (Z:) are hard coded these need to be converted to relative paths as follows:

Edit file: UniServer\udrive\www\joomla\configuration.php

Search for lines similar to this:

var $log_path = 'Z:\\www\\joomla\\logs';
var $tmp_path = 'Z:\\www\\joomla\\tmp';

Change to look similar to the following (remove Z:):

var $log_path = '\\www\\joomla\\logs';
var $tmp_path = '\\www\\joomla\\tmp';

Top

Conclusion

From the above you have seen how easy it is to install Joomla and make it fully portable.

Related links:

How to install Joomla on Uniform Server 3.5-Apollo

Joomla (Version 1.0.13 ) portability on Uniform Server 3.5-Apollo.

Mini Servers


Top