Installing Joomla in Localhost ?

First, I hope you've heard something about CMS ( Content Management Systems). If not , I prefer you better learn about the importance of having CMS & what are the choices that somebody can make when pursuing a proper one or else, you're in the right place to know easy steps to install Joomla in localhost, one of the most popular CMS available.


Well, installing anything in Linux based Operating System (Ubuntu in my case) is somewhat tricky & often frustrating, yet challenging. So, Joomla is no exception. For those, who're having Windows, Most of the descriptions here won't make sense to you.

Anyway for others, Let's Begin. 

1. First, Download & install XAMPP in Linux Operating System, which is explained here alongside other related articles.

2. When you're done with XAMPP. Go to Joomla Download Page & get a zip of necessary Version of Joomla.

3. Press Ctr l+alt+T & start your terminal. Type Following Commands.

$ sudo cp /Download Location/Joomla_X.X.XX-Stable-Full_Package.zip /opt/lampp/htdocs/


Move zip to 'htdocs' directory. 'htdocs' is where you must place your files, in order to run them with local server.

Then, create a Directory to keep your Joomla Files & type 'nautilus'.

$ mkdir myJoomla

$ sudo nautilus

6. Go to 'htdocs' & Extract, previously copied Joomla Joomla_x.x.xx-Stable-Full_Package.zip file in to the created Directory. Use Archive Manager.


7. Launch a Separate terminal & Type following commands.

$ sudo find /opt/lampp/htdocs/myJoomla/ -type d -exec chmod 755 {} \;

$ sudo find /opt/lampp/htdocs/myJoomla/ -type f -exec chmod 644 {} \;
$ sudo chown -R root:root /opt/lampp/htdocs/myJoomla/
 

Set, Files Permission to 644 & directory permissions to 755 inside your Joomla installation directory.

8. Then, type http://localhost/myJoomla/ in the Browser address bar & press Enter.

9. Now, you've come to the crucial point where, you've to install Joomla like any other software, using your browser, & launch with your test site.

      9.1 First, Pick a language.



   
      9.2 Then, click next and move to the next step. In the next Page, you'll be seeing a list of settings under 'Pre - Installation Check' & look for configuration.php writable. If it's No, then you've to create configuration.php manually.



                  To do that, press Ctrl+alt+T & take a terminal window, move into the Joomla directory where the action is & type the following command.

$ sudo gedit configuration.php

                  save & close the file & type following in the terminal. Press 'Check Again' & Move to the next step.

$ sudo chmod 777 configuration.php 


       9.3  Accept the license agreement & move to the 'Database Configuration' Step. You've to admit that, in order to proceed from this, you've to create User name, Password, Database to serve Joomla Purposes using http://localhost/phpmyadmin. If you're done with it, provide those details into the form & click 'next'.


     9.4 It's recommended to leave the next which is 'FTP Configuration' blank. So, that you can enter your user name & password whenever you transfer any content. Click Next.

      9.5 'Main Configuration' is crucial as you've to enter Administrator Details like User name, Password & Email. If you're new to Joomla You can 'Install Sample Data'. So, you'll be seeing an example site at the beginning of your first Joomla experience.

      9.6 So, that's it. When you hit next after step 9.5 you'll be seeing a message to delete installation directory for security reasons. You can either delete it by clicking the button provided (Which more often won't work) or  go to the Joomla directory & find installation directory & manually delete.

10 . Now, Enter http://localhost/myJoomla/administrator/ into the address bar & proceed.

Thank You have fun with Joomla.

No comments: