Joomla Tutorials and Blog Posts

How to Install Joomla 1.6 Tutorial

One of our students asked us how to install Joomla 1.6. He said he couldn't find any instructions or documentation about it. I did a quick check in the Joomla docs and sure enough, the documentation for it wasn't completed, so we created this tutorial for him.

Check Your System Requirements

Save yourself a lot of time and headaches by first checking out the system requirements and getting your server up to speed:
http://www.joomla.org/technical-requirements.html

Download Joomla 1.6

tutuploadsmedia_1295932137234.png

Go to http://www.joomla.org/download.html and click on the Download link.

tutuploadsmedia_1295932485714.png

Click on the Joomla_1.6.x-Stable-Full_Package.zip.

If your internet is not relatively fast, you may want to download the smaller tar.bz2 file or tar.bz2 file, which each have two layers of compression to make the file smaller and easier to download. If you choose this file, then you would have to unzip the file twice rather than just once in the subsequent step.

tutuploadsmedia_1295933180900.png

Select Save File and then click OK.

Upload and Extract to Server

tutuploadsmedia_1295933912425.png

In these next two steps we are going to upload our zipped folder onto the server and then extract all the files within the zipped folder. I will be using cPanel, which is a file manager. However, your hosting provider may not have cPanel, so you may have to unzip the folder on your Desktop and then upload using a FTP client, or if your host has another file manager you can use it if it has an extraction feature.

Access the folder in which you want to install Joomla 1.6. Then upload Joomla_1.6.0-Stable-Full_Package.zip.

tutuploadsmedia_1295934072175.png

Wait for the entire file to upload. It may take a while.

Extract Files

tutuploadsmedia_1295934289715.png

Select the file and then Extract.

tutuploadsmedia_1295934392053.png

Close out of the results.

Getting to Installation Screen

tutuploadsmedia_1295934540371.png

Open a new tab or window and then type in the address to the folder in which you uploaded Joomla 1.6

Step 1: Language

tutuploadsmedia_1295934655945.png

Select your Language.

tutuploadsmedia_1295934710010.png

In the top right click Next.

Step 2: Required Configuration

tutuploadsmedia_1295934966698.png

If any of these items are not supported (marked as No) then please take actions to correct them. Failure to do so could lead to your Joomla! installation not functioning correctly.

Recommended Configuration

tutuploadsmedia_1295935167746.png

Depending on your server setup, you may have issues if the server configuration is not the same as the recommended settings. However if you have a good host, it is rare to have any issues.

tutuploadsmedia_1295935390286.png

If you corrected any of the configuration, check the output again. If everything is ok, click Next.

Step 3: GNU GPL License

tutuploadsmedia_1295935572284.png

Make sure you read through the license if you have not before.

tutuploadsmedia_1295935726280.png

If you agree to the license, click Next.

Step 4: Enter Database Information

tutuploadsmedia_1295938481424.png

The next part is a bit tricky because much of depends on your host and their server configuration.

If you have not setup a database and assigned a user, now is the time to do. You will have to access your host's control panel to set it up. If you need help, find your host's documentation or ask them how to set up a database and assign a user to it. We wish we could give you detailed instructions for this part, but it varies too much between hosts. As an e.g., here is the documentation for Cpanel and which is fairly straight forward.

The basic steps for all hosts:

  1. Create the database 
  2. Create the database user 
  3. Assign the database user to the database 
  4. Give permissions to the database user

Lets take a look at a few of these settings that often cause issues.

  • Username: This is not the same as your account's username. It is the username of the user of the database. The user should have all permissions to the database. Also, the username should be the full username. Do not use just the part that you created if your host assigns a prefix to create a full username.
  • Password: Password of the user to the database. Make sure the password is not simple or easy to guess.
  • Database Name: This should be the full database name. Do not use just the part that you created if your host assigns a prefix to create a full database name.
  • Table Prefix: The default Joomla table prefix is jos_ however, it is more secure if you change the prefix so that hackers have an additional big hurdle to overcome.
tutuploadsmedia_1295938349138.png

When you have correctly entered all settings, click Next.

Step 5: FTP - Optional

tutuploadsmedia_1295938754034.png

For most users it is generally recommended to skip this step.

tutuploadsmedia_1295938349138_1.png

Click Next.

tutuploadsmedia_1295939213054.png

Enter information appropriately.

  • Note: Please change your Admin username from the default Admin to something else. More than half the work is already done for a hacker if your username is left as Admin.
  • Note: If you want to just test Joomla 1.6, then install the sample data so that it allows you to get a look and feel of what Joomla 1.6 is all about.
tutuploadsmedia_1295938349138_1_1.png

Click Next.

Step 6: Remove the Installation Directory

tutuploadsmedia_1295939304313.png

For security reasons we need to go back to the file manager and remove the installation directory.

tutuploadsmedia_1295939409174.png

Delete the installation directory and you are done!

You can now check your site.

 

Comments

 
jb3134967
#1 jb3134967 2011-02-26 18:50

Ouch! I cannot seem to view the site properly. All I get is a site map.
 
 
Nick
#2 Nick 2011-02-27 00:26

Hi jb3134967,

Can you give it a try now? The server may have been having some issues.

Kind regards,
Nick
 
 
pdlokoton
#3 pdlokoton 2011-03-18 05:25

Great tutorial.. its working. Thanks :)
 
 
Nick
#4 Nick 2011-03-24 02:22

You're welcome! :)
 
 
David_A
#5 David_A 2011-04-25 07:05

Hi Nick,
Thanks for this great step by step tutorial. Got everything working great.
 
 
Nick
#6 Nick 2011-04-25 12:32

You're very welcome, David! I'm glad it worked out great for you :)
 
 
Asif Ullah
#7 Asif Ullah 2011-06-07 09:52

Thanks Dear.
for this great step by step tutorial.
Once again Thanks
 
 
DustinS
#8 DustinS 2011-06-10 18:46

Thank you very much for this. I was lost trying to figure out what to do next!

:)

DustinS
 
 
Techi
#9 Techi 2011-06-23 09:28

I got following error on last step
Notice: Undefined property: JObject::$db_ty pe in /home/directory name/public_htm l/joomlasitekar /installation/m odels/configura tion.php on line 62


Notice: Undefined property: JObject::$db_pr efix in /home/directory name/public_htm l/joomlasitekar /installation/m odels/configura tion.php on line 197

JError: JLIB_DATABASE_E RROR_LOAD_DATAB ASE_DRIVER
 
 
Nick
#10 Nick 2011-06-27 20:45

You're welcome, Asif!

Kind regards,
Nick
 
 
Nick
#11 Nick 2011-06-27 20:45

You're welcome, Dustin!

Kind regards,
Nick
 
 
Nick
#12 Nick 2011-06-27 20:46

Hi and welcome, Techi!

Sorry for the inconvenience, but if you're a student at OSTraining,
could you copy and paste this into the support forum so one of our
support techs can look into it for you? Here's the direct link to it:
www.ostraining.com/.../

Please see the support FAQ for more information:
www.ostraining.com/.../

Kind regards,
Nick
 
 
newtech-ltd.co.uk
#13 newtech-ltd.co.uk 2011-06-28 09:36

It was a great tutorial.Helped me a lot.
 
 
Nick
#14 Nick 2011-06-28 16:05

You're very welcome! :)

Kind regards,
Nick
 
 
#Ross
#15 #Ross 2011-06-30 22:16

Thanks. This was useful.

Database details were a devil,
(host support required), but hey!
not that hard once that worked.
 
 
Nick
#16 Nick 2011-06-30 23:56

You're welcome! :)

Kind regards,
Nick
 
 
Flavio
#17 Flavio 2011-07-01 05:00

That helped ma alot.
I have just a question.
I want to access my website from www.domain.com.br (root) and not www.domain.com/joomla.
Would you please tell me how to do it?
Thank you.
 
 
Nick
#18 Nick 2011-07-01 21:31

Hi Flavio,

The easiest option is to put the Joomla installation in the site's www root rather than a subfolder named "joomla". Would that be possible for you or do you have other files in the root that would be overwritten?

Kind regards,
Nick
 
 
Chuksokezie
#19 Chuksokezie 2011-07-03 08:31

Hi guys, I am not a pro so I need your help me on these, how do I fix the followings.

1.Cpanel button that displays on my site at the top right.

2. Why is it that my homepage menu does not show on Mozilla Firefox browser?

Thanks
 
 
Nick
#20 Nick 2011-07-05 14:00

Hi and welcome, Chuksokezie!

Our apologies for any delay in responding over the weekend and Monday. In the U.S., Monday was a national holiday (Independence Day) so we took the whole weekend off as well as Monday. We're just now catching up on received emails.

Sorry for the inconvenience, but if you're a student at OSTraining, could you copy and paste this into the support forum so one of our support techs can look into it for you? Here's the direct link to it:
www.ostraining.com/.../

Please see the support FAQ for more information:
www.ostraining.com/.../

Kind regards,
Nick
 
 
jim shirkey
#21 jim shirkey 2011-07-06 13:52

Nick,

Very nice info. I never got the joomla page for checklist configuration. Any ideas. Keep up the good work.

regards,

jim
 
 
Nick
#22 Nick 2011-07-06 15:13

Hi Jim,

I'm not sure what you're referring to as a checklist. Could you clarify which step (the steps are labeled above) that you're stuck on? Are you getting any error messages?

Kind regards,
Nick
 
 
jim shirkey
#23 jim shirkey 2011-07-07 00:01

i never got to step 1 as seen above. i uploaded the joomla 1.6.4 and the deals plaza template, extracted, and then clicked on the url to open the site. the docs say joomla page will open as seen above, but i just got the error of needing to delete the intallation file. i did that buy it didn't work.
 
 
reyhaneh
#24 reyhaneh 2011-07-07 06:05

Thanks Great tutorial
 
 
Frederic
#25 Frederic 2011-07-07 08:15

thanks ! It was of great help for me. I'm a newbie.
 
 
Nick
#26 Nick 2011-07-09 16:04

Hi and welcome, Jim!

Our apologies for any delay in responding. It's hard to keep track of support requests in blog posts. Sorry for the inconvenience, but if you're a student at OSTraining, could you copy and paste this into the support forum so one of our support techs can look into it for you? Here's the direct link to it:
www.ostraining.com/.../

Please see the support FAQ for more information:
www.ostraining.com/.../

Kind regards,
Nick
 
 
Nick
#27 Nick 2011-07-09 16:05

You're very welcome, Reyhaneh! :)

Kind regards,
Nick
 
 
Nick
#28 Nick 2011-07-09 16:05

You're very welcome, Frederic! :)

Kind regards,
Nick
 
 
abdul
#29 abdul 2011-07-12 05:29

Lor of Thank's ,
dear for step by step tutorial.
Again Thank's
 
 
Nick
#30 Nick 2011-07-13 05:35

You're very welcome, abdul! :)

Kind regards,
Nick
 
 
kadal
#31 kadal 2011-07-13 21:39

Many thanks from Indonesia!
 
 
Nick
#32 Nick 2011-07-14 00:04

Hi Kadal,

You're welcome from USA! :)

Kind regards,
Nick
 
 
J Dev
#33 J Dev 2011-07-14 03:44

I have just install joomla 1.6 and want to create local business directory as new project how to start.
 
 
Nick
#34 Nick 2011-07-14 18:01

Hi J Dev,

If you're not a student at OSTraining.com you can start learning Joomla 1.6 by taking our online class:
www.ostraining.com/.../

If you are a student, copy and paste the question in our support forum, www.ostraining.com/forum, so that one of our support techs can give their advice :)

Kind regards,
Nick
 
 
chirag
#35 chirag 2011-07-20 10:58

hi
how should i connect to the database in the 4th step? i entered the folder name in htdocs where i have extracted joomla files and then when i click next it displays
Could not connect to the database. Connector returned number: 2

plz help
 
 
Jasmeet
#36 Jasmeet 2011-08-02 12:45

I am getting error "Instl_Error_DB " at the fourth step.
Let me know how to overcome from it, i have everything from my side.
Regards.
 
 
Nick
#37 Nick 2011-08-02 19:07

Hi chirag,

For the 4th step, you shouldn't enter the folder name but rather the database. You can create a database in phpMyAdmin. Please try going over the information for step 4 again and let me know what specific part gives you trouble.

Kind regards,
Nick
 
 
Nick
#38 Nick 2011-08-02 19:10

Hi Jasmeet,

Have you created the database and the database user? Have you assigned the database user to the database and given the database user permissions?

Are you using a windows server or linux? If Windows, try turning off strict mode in mySQL

Kind regards,
Nick
 
 
Jasmeet
#39 Jasmeet 2011-08-03 04:58

Yeah sir, i have created the database. I'm not having any password for it, so, i left the field blank. Rest of the fields are proper, like localhost, root, and my database name.
I'm using windows.
Okay, let me off strict mode first, i hope it'll work.

Thanks a lot,
Regards.
 
 
Nick
#40 Nick 2011-08-03 21:45

Sounds good. Let me know if turning strict mode off helps.

Kind regards,
Nick
 
 
maaz
#41 maaz 2011-08-09 10:43

thank you dude .......
very effective steps to installation
 
 
Nick
#42 Nick 2011-08-09 15:55

You're very welcome, Maaz! :)

Kind regards,
Nick
 
 
luis
#43 luis 2011-08-24 22:25

Hello,

I´m in step 4:database, and I enter everything as it is, the hostname, username, password, database name.
Actually that way i´m connecting, I´m in phpMyAdmin, and it appears an error message that says "Could not connect to the database. Connector returned number:2"
I have also changed MySQLi to MySQL but same message.

What can I do?
 
 
Nick
#44 Nick 2011-08-25 17:47

Hi and welcome, Luis!

Try recreating the database, database user, and assigning the database user to the database while giving the database user full permission.

Also, make sure you're using the full username and database name.

Kind regards,
Nick
 
 
Gabriel
#45 Gabriel 2011-09-11 17:48

Hi, i tried everything posted here... but i can pass step 4, always get "Could not connect to the database. Connector returned number: 2", it is with Joomla 1.7, i have a joomla 1.5 and work fine, with diferent db.
Any ideas?
thanks
 
 
Nick
#46 Nick 2011-09-11 20:38

Hi and welcome, Luis!

Make sure you're using the full username and database name. e.g. cpanelusername_yourdatabasename.

Kind regards,
Nick
 
 
Michael Jones
#47 Michael Jones 2011-09-22 23:43

Great advice with the database naming conventions. That has frustrated me for several days.

Thanks!
 
 
Nick
#48 Nick 2011-09-23 22:44

You're very welcome, Michael! I'm glad to have been of help! :)

Kind regards,
Nick
 
 
Arnas
#49 Arnas 2011-09-29 16:37

I have saame problem, checked mysql info like 5 times, its all correct, i can login to mysql myself with that info, other sites works on that hosting perfectly, but installer gives: Could not connect to the database. Connector returned number: 2
tried both mysql and mysqli...
 
 
Nick
#50 Nick 2011-09-29 21:31

Hi and welcome, Arnas!

Make sure you're using the full username and database name. e.g. cpanelusername_yourdatabasename.

Kind regards,
Nick
 
 
Javed
#51 Javed 2011-10-07 02:42

Thanks brother. Great help for me.
i m new in joomla and wants to learn it from scratch.
 
 
Nick
#52 Nick 2011-10-09 20:12

You're very welcome, Javed! :)
 
 
Nick
#53 Nick 2011-10-09 20:13

p.s. You should really become a student at OSTraining and you'll be able to learn everything that you need and ask questions if you need help: See www.ostraining.com/online for more information
 
 
yana
#54 yana 2011-10-13 04:19

i having this error
Could not connect to the database. Connector returned number: 2
please help!!
 
 
Nick
#55 Nick 2011-10-13 17:37

Hi and welcome, yana!

Make sure you're using the full username and database name. For example: cpanelusername_yourdatabasename

Kind regards,
Nick
 
 
what the
#56 what the 2011-10-18 17:29

What do you MEAN by cpanelusername_yourdatabasename

OK I FIGURED IT OUT

Use domain.com as the hostname instead of localhost
 
 
Nick
#57 Nick 2011-10-19 18:50

I'm glad that you got things sorted! :)

Kind regards,
Nick
 
 
travis
#58 travis 2011-11-02 00:03

what do u mean by cpanel username and where do i find it?(using xampp, and joomla)
 
 
Nick
#59 Nick 2011-11-02 01:00

Hi Travis,

In that case just use the database that you created in phpMyAdmin and username root with no password. That should work for XAMPP

Kind regards,
Nick
 
 
Daan
#60 Daan 2011-12-29 18:34

i still got the error, dunno why,
checked all information and it's correct,
earlier this day is had another error INSTL_ERROR_INITIALISE_SCHEMA
and know Could not connect to the database. Connector returned number: 2... help please..
 
 
Daan
#61 Daan 2011-12-30 18:44

could you please help me?
 
 
steve
#62 steve 2011-12-31 15:18

Hi Daan

Sorry, these tutorials aren't the right place to get support. These tutorials are given out free. ostraining.com/support-forum is where we provide full support for our members.
 

Add comment


Security code
Refresh

blog-ad

Start Online Training

Members get access to all our video training. That's 1,142 training sessions in Joomla, Drupal, WordPress and Coding.

Latest Comments

The License for Our Tutorials

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:

  • You can re-use these tutorials.
  • You can modify these tutorials.
  • You must link back to our original tutorial.
  • You can't use these tutorials commercially.

Click here to read the full license.

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.