Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Installing Joomla On Local Computer(localhost)


20 replies to this topic

#1 xpress

    XPRESSing the XPRESSion

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 709 posts
  • Gender:Male
  • Location:X Universe
  • Interests:Computer Security
    Java and PHP
    Music
  • myCENT:93.53
  • Spam Patrol

Posted 22 October 2008 - 07:33 PM

Installing Joomla on local computer (localhost)


First to install joomla you need a webserver, php and mysql installed on your computer. If you don't have these installed..download WAMP (Windows Apache MySql PHP) server and install it. I am writing this tutorial using WAMP
as my server. But these steps are almost same in all other servers.

Follow the steps below

1. First you need joomla package. Goto joomla website and download the latest version of joomla.
Follow this link download joomla. This tutorial is based on Joomla 1.5.x

2. unzip(extract) the file and rename it to joomla.

3. Then place it on www directory of the WAMP server.(or htdocs directory if you are using XAMPP server)

4. Now type http://localhost/joomla on your browser address bar. You'll see the installation page of joomla...

5. select your language and Click on next.

6. you'll see a pre-installation check page. Click Next.

7. You'll see the licence page. Click Next.

8. Database(MySQL) configuration page.

Database type: leave it mysql

hostname: type localhost

username: type root (or your mysql username)

password: type password of your mysql account (the default is empty for root)

Database name: type joomla (or anything you wish)

(Now the database joomla will be automatically created in your mysql.)

Click Next

9. Ftp configuration page. Leave it and click Next.

10.Main configuraion page.

Site Name: anything you like

Your email: type your email address.

Admin password:type any password you like (this will be the password for the admin account)

confirm password: type the above password again.

Next, click on Install Sample Data. You'll see Sample data installed successfully.

Click Next.

11. Finish.... Now go to "joomla" folder in www directory and delete the "installation" folder. This is for security reasons.

Note: If you don't delete the installation folder, you can't access joomla home page.

Success...Now type http://localhost/joomla in your browser and you'll see the joomla home page.


Editing the content..
Login as the administrator.
To login as administrator go to http://localhost/joomla/administrator.

You'll see a login page. Type "admin" as username and type in your admin password you used at registration. Now you will see administrator page. Now you can edit cms, install templates and extesnions etc...

Installing Templates and extensions:
In the administrators page, move your mouse over exentsions link, you'll see a drop down menu. Select "install/uninstall". Extension manager will open. You can upload templates and extensions from this page.

After installing a template....go to Extensions at the top....and click on Template Manager from the drop down menu. Now select the template you install and click on "default" to make it the default template.

#2 Mr Inviso

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 53 posts

Posted 02 December 2008 - 12:44 PM

I'm getting this error during the database creationphase of the install.


Cookies do not appear to be enabled on your browser client. You will not be able to install the application with this feature disabled. Alternatively, there could also be a problem with the server's session.save_path. If this is the case, please consult your hosting provider if you don't know how to check or fix this yourself.


Do you have any ideas?

I'm using WampServer Version 2.0. Also the Wamp icon in the task bar says that Wamp is offline, even though I;ve restarted all services. and turned off Avast(my anti virus software)

opps.....Posted Image


Sorry to bother you express. I didn't follow your instructions to the tee. I put a password for "root" while creating the data base. I'm used to doing this online and creating the data base(using cpanel mysql). This is my first time using wamp and I'm sure I'll be back later with more blunders. Have a great day. And thanks again.

#3 xpress

    XPRESSing the XPRESSion

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 709 posts
  • Gender:Male
  • Location:X Universe
  • Interests:Computer Security
    Java and PHP
    Music
  • myCENT:93.53
  • Spam Patrol

Posted 02 December 2008 - 01:20 PM

View PostMr Inviso, on Dec 2 2008, 06:14 PM, said:

I'm using WampServer Version 2.0. Also the Wamp icon in the task bar says that Wamp is offline, even though I;ve restarted all services. and turned off Avast(my anti virus software)
No need to worry about that offline mode in WAMP server. Offline mode means only you can access your web server.
While online mode means any one in the internet can access your server(means working as a real webserver).

Any way did your problem solved? or do you need any further assistance?

#4 erk

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 11 posts
  • Gender:Male
  • myCENT:39.99

Posted 02 December 2008 - 05:57 PM

Props !! nice tut. keep them comming

#5 juwan

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 21 posts
  • Gender:Male
  • myCENT:9.21

Posted 03 December 2008 - 01:47 AM

View PostMr Inviso, on Dec 2 2008, 08:44 AM, said:

I'm getting this error during the database creationphase of the install.


Cookies do not appear to be enabled on your browser client. You will not be able to install the application with this feature disabled. Alternatively, there could also be a problem with the server's session.save_path. If this is the case, please consult your hosting provider if you don't know how to check or fix this yourself.


Do you have any ideas?

I'm using WampServer Version 2.0. Also the Wamp icon in the task bar says that Wamp is offline, even though I;ve restarted all services. and turned off Avast(my anti virus software)
go to php.ini and edit :
session.save_path =
to
session.save_path = /tmp


#6 veerumits

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 63 posts
  • Gender:Male
  • Location:Delhi
  • myCENT:67.96

Posted 05 December 2008 - 11:49 PM

Dear i install joomla from my wamp (localhost), it install without error. and work fine as i see.
but i have problem with how we use all feature of joomla.because i dont have idea of joomla could anybody guide me. by reading help . i create one article and published it but what i see that the header and footer and powered by is not change what i saw in template it was as it is. could it possible. that header and footer and powered by statement changed.

#7 juwan

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 21 posts
  • Gender:Male
  • myCENT:9.21

Posted 06 December 2008 - 12:28 AM

View Postveerumits, on Dec 5 2008, 07:49 PM, said:

Dear i install joomla from my wamp (localhost), it install without error. and work fine as i see.
but i have problem with how we use all feature of joomla.because i dont have idea of joomla could anybody guide me. by reading help . i create one article and published it but what i see that the header and footer and powered by is not change what i saw in template it was as it is. could it possible. that header and footer and powered by statement changed.
you have joomla 1.5.x ? go to Extensions / Template manager / choose u template, press edit, after press botton edit HTML

#8 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 11 December 2008 - 08:41 AM

Hi, I am using xampp 1.6.1 as localhost.I was following your instruction but I got problem at step 8: Database(MySQL) configration page.

I did exactly what you wrote and also name joomla for database name but when I click next it say ERROR:

Unable to connect to the database: could not connect to MySQL.

I did check MySQL and apache still running so I go to myphpadmin and create joomla database and come back to step 8 but still the same problem.

I import joomla.Sql from instalation directory but nothing change, still cannot connect to database..

Can you help me please?

Thanks for your time.

-reply by Mike

#9 xpress

    XPRESSing the XPRESSion

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 709 posts
  • Gender:Male
  • Location:X Universe
  • Interests:Computer Security
    Java and PHP
    Music
  • myCENT:93.53
  • Spam Patrol

Posted 20 December 2008 - 05:16 AM

View Post(G)Mike, on Dec 11 2008, 02:11 PM, said:

Hi, I am using xampp 1.6.1 as localhost.
I was following your instruction but I got problem at step 8: Database(MySQL) configration page.
<p>I did exactly what you wrote and also name joomla for database name but when I click next it say ERROR:</p>
<p>Unable to connect to the database: could not connect to MySQL.</p>

-reply by Mike

Well...What is your mysql username? Is it root? or something else? If you are using a different user account for MySQL then you have to enter that username instead of root in step 8. And also check your password to connect your database.. you have to enter the exact username and password you are using to connect mysql... use root and root account's password, only if you are using root as your defalut account....still having problem? post the exact error here :)

#10 y4nzi

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 230 posts
  • Gender:Female
  • Location:United States
  • myCENT:11.06

Posted 24 December 2008 - 05:12 AM

I haven't used Joomla in a while and wanted a test run to brush up on some stuff before creating a website. Thanks for this tutorial, exactly what I was looking for.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users