Skip to content

Install Joomla on Your WampServer

August 5, 2009
tags:

What is Joomla?

Joomla is an open-source content management system (CMS) used for building web sites and other online applications. While WordPress is mostly a blogging platform with basic CMS capabilities, Joomla is primarily about CMS with blogging? being a CMS feature you can add to a Joomla installation. Based on my Joomla and WordPress experience I prefer WordPress for blog specific or small simple purpose web sites. Anything on a medium to large scale, with limited to no blogging requirements, is better served by a CMS application such as Joomla.

Installing Joomla

If you havent setup a WampServer on your home computer, start with my article detailing the necessary steps for installing your own WampServer. After reading that article, you are ready to install Joomla.

Step 1: Download Joomla

Start by downloading the latest stable build of Joomla. At the time of this article version 1.0 & 1.5 was the latest stable build; however, follow the Joomla download link and you quickly see several download options. Assuming you plan to install Joomla on a WampServer, and you haven’t installed a previous version of Joomla, download the latest full package? with a zip extension. Link: http://www.joomla.com

Step 2: Create a Joomla Installation Directory and Uncompress

Next, use Windows Explorer and navigate to the www? directory under your WampServer installation directory (in my case the complete path was c:\wamp\www). Now, create a new directory called joomla? in the www? directory (that left me with a complete path of c:\wamp\www\joomla). Using whatever method you choose, uncompress the downloaded file into this new directory.

Once the download is uncompressed, start your WampServer, open a browser, and enter localhost? in the URL address and press enter. You should now see the WampServer welcome page and a new option under your projects section: Joomla

Step 3: Joomla Pre-installation Check List

Once you select Joomla? from the available projects section of the WampServer screen, the Joomla pre-installation check list screen appears. On this screen you should see four sections:

1. Required Settings Check

2. Security Check

3. Recommended Settings Check

4. Directory and File Permissions Check

Depending on any customizations you may or may not have made to your WampServer installation the pre-installation check list will display different items that might need adjustment. In my case I needed to turn off the Regular Global Emulation option in the Joomla global.php file. I knew that because under the Security Check section I saw a message instructing me to disable this setting.

To disable this setting I located the global.php file in the Joomla directory (in my case c:\wamp\www\joomla), opened it in a simple text editor (I used WordPad because it formats the file better than NotePad), and searched for RG_EMULATION.

Near the top of the global.php file I found where the RG_EMULATION gets enabled and disabled. The default setting appeared as follows:

define ( ‘RG_EMULATION’, 1 );

Going with typical boolean logic, I assumed that 1 meant on? (aka true) so I switched it to 0 (aka false) to turn it off as instructed. My edits appeared as follows:

define ( ‘RG_EMULATION’, 0 );

I continued to search the global.php file for other occurrences of this setting and only found it one other time. This other appearance was part of a conditional statement and did not need any alteration.

Once you have made all the necessary edits, click check again? in the upper right portion of the screen. If you adjusted everything as instruction (in my case it was just the one RG_EMULATION change), the Security Check section disappears and all other sections have nothing but green? on the right hand side signifying everything is good to go. Click next? to continue and the general license screen appears. Click next? again on this screen to continue.

Step 4: Joomla MySQL Configuration

On the MySQL configuration screen you are prompted to enter five pieces of information:

* Hostname: Enter localhost.
* MySQL User Name: Since Joomla is getting installed on top of an active WampServer installation on your home computer, just enter root?
* MySQL Password: Leave this blank
* MySQL Database Name: Originally I tried to call it joomla? but that caused this part of the installation to fail. To correct the problem I changed the name to joomtest? and everything worked fine. You can call your database anything you want except for Joomla.

MySQL Table Prefix: Accept the default prefix

Click next? to continue.

Provided everything was entered correctly, you get a success? screen and an option to give your site a name. Don’t confuse the site name with the URL of your site. In my case, I called the site Joomla Test Site? and pressed next? to continue.

Step 5: Confirm Installation Settings

In this step you are prompted to confirm the URL? (in my case http://localhost/joomla yours may differ if you selected a different installation directory) and the path? (in my case c:\wamp\www\joomla). On this screen you can also enter the email for the Joomla administrator. You can put a real email address in there or something fake. In either case, email notifications wont get sent because you probably havent configured an SMTP outbound mail server. Finally, an auto generated admin password is displayed. I suggest you change the password here to something simple. Again, since Joomla will be running on a WampServer on your home computer, most likely, go ahead and use something simple such as password? for the actual password. Leave the file and directory permission settings to the default settings and click next? to continue.

A final screen appears and reminds you of the username and password for the administrator account and instructs you to remove the Joomla installation directory.

You also have two options on this screen:

1. view the site

2. administer the site

I selected “view site”? and was reminded again to delete the installation directory.

Open Windows Explorer and navigate to the Joomla directory under the www? directory of your WampServer installation (in my case c:\wamp\www\joomla). In this directory look for the installation? directory, select it, and press delete. Now, go back to the browser and refresh the page. If you did everything correct, youll see a generic Joomla server index page.

At this point I suggest you refer to the Joomla web site for further information about this CMS application. Also, for anyone interested read these books for more information.

* Building Websites with Joomla! by H. Graf
* Beginning Joomla!: From Novice to Professional (Beginning: from Novice to Professional) by Dan Rahmel

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: