Joomla/C2/Installing-Joomla-on-a-local-server/English
Visual Cue | Narration |
Show Slide 1
Welcome to the Spoken Tutorial on Installing Joomla on local server |
Welcome to the Spoken Tutorial on Installing Joomla on local server |
Show Slide 2
Learning Objectives
|
In this tutorial, we will learn to:
|
Show Slide 3
Systems Prerequisites |
To install Joomla in your system, you should have a system supporting:
Please note that MySQL 6 and higher versions are currently not supported. |
Show Slide 4
Installation of Apache, MySQL and PHP |
You can either install these separately or together, using a web-server distribution like
|
Show Slide 5
Versions and OS |
For this tutorial, we will be using:
|
First of all, let me check if XAMPP is installed on my machine. | |
Open terminal by pressing Ctrl+T | Lets open the terminal by pressing Ctrl + Alt + T keys.
Alternately, click on the “Terminal” icon in the launcher bar. |
Type sudo /opt/lampp/lampp start | Start XAMPP by typing sudo space slash opt slash lampp slash lampp space start |
It will prompt for your administrative password. | |
Let me enter my administrative password and press Enter. | |
Switch to browser http://localhost | Now, switch to the browser, and type http colon double slash localhost |
Select English | You may require to select language if you are proceeding with it for the first time.
|
In the left menu >> click on phpinfo() | In the menu on the left of the screen, click on phpinfo(). |
Type Ctrl+F and write DOCUMENT_ROOT in the search window >> Press Enter | Now press Ctrl + F keys and search for DOCUMENT underscore ROOT. |
It will be found in the table “Apache Environment”. | |
Value of DOCUMENT underscore ROOT will be either
| |
Point or highlight /opt/lampp/htdocs. | In my machine, it is slash opt slash lampp slash htdocs. |
Please note this path.
We are going to install Joomla here. | |
Download Joomla (Browser) | First we will download Joomla.
So, go to the official website of Joomla, which is www dot joomla dot org. |
Point to the Download button >>Click on it. | You will find a Download button on this webpage. Click on it. |
You will be redirected to another webpage. | |
Point to the “Download Joomla 2.5.22 Full Package, ZIP”. >>Click on it. | Here, you will see a button that says “Download Joomla 2.5.22 Full Package, ZIP”.
|
Click on Save File >> then on OK | Immediately, a small dialog box will open.
Here click on Save File option and then click on OK.
|
At the time of making of this tutorial, latest stable version is 2.5.22. | |
Switch to the Downloads folder >> Point to the file | I have already downloaded this file and it is in my Downloads folder. |
Extracting Joomla | Let's create a new folder by the name joomla in our DOCUMENT underscore ROOT. |
Type
sudo mkdir /opt/lampp/htdocs/joomla |
Go to the terminal window.
So, at the prompt, type sudo space mkdir space slash opt slash lampp slash htdocs slash joomla and press Enter. |
If prompted, enter your admin password. You will have to do so whenever prompted, as we proceed. | |
We now change directory to Downloads. | |
Click on the folder window. | To see the required path, come to the folder window. |
Keep the cursor on Downloads in the Home folder >> see the tool-tip. | Move the cursor on Downloads folder in the Home folder and see the tool-tip.
|
Switch to the Terminal.
Type cd /home/Downloads |
So, in the terminal, I will type the command:
cd space slash home slash ravi slash Downloads and press Enter. You will have to type the path shown on your system. |
Now we will extract the contents of the zip file of this folder into the joomla folder. | |
Type
sudo unzip Joomla_2.5.22-Stable-Full_Package.zip -d /opt/lampp/htdocs/joomla |
At the command prompt, type the command:
sudo space unzip space name of the Joomla file space hyphen d space slash opt slash lampp slash htdocs slash joomla slash and press Enter. |
Type cd /opt/lampp/htdocs | To specify the permissions of the folder joomla, let's go to DOCUMENT underscore ROOT.
Type, cd space slash opt slash lampp slash htdocs and press Enter. |
Type ls | Let us list the files in this directory. So, type ls and press Enter. |
Type sudo chmod 777 joomla/ | Let's give read, write and execute permissions to the owner and the group members of joomla folder. |
So type -
sudo space chmod space 777 space joomla slash and press Enter. | |
Show Slide 6:
Creating database |
Before we go ahead with the installation, we need to create a database for Joomla.
Phpmyadmin is the graphical user interface for MySQL.
|
Switch to the browser and type http://localhost | Switch to the browser and type
http colon double slash localhost |
Creating Database:
Click on phpmyadmin |
On the XAMPP page, in the menu on the left, under Tools, click on phpmyadmin.
|
We can also create the database and user on MySQL command line. | |
However, phpmyadmin is much simpler and user friendly. | |
Click on Users >> click on Add User | Click on Users in the top menu and then click on Add User. |
Type Joomla-1 | Enter a username, say, Joomla hyphen 1 |
Select Local from the dropdown | From Host dropdown list, select Local. |
In Password textbox >> Type joomla123 | Enter a password in the Password text-box, say joomla123.
You can enter any password of your choice. |
Re-type joomla123 | Enter the same password in the Re-type textbox. |
Point to the option | Pls do not respond to Generate Password prompt for now. |
Point to Create a database with the same name and grant all privileges | Under Database for user, we can see the option
Create a database with the same name and grant all privileges. |
Click on it >> Click on Go button | We will check that option and click the button Go at the bottom right of this page. |
This will create a new database with the name Joomla hyphen 1 and with a user Joomla hyphen 1. | |
Make a note of the username, password and database names.
These will be required later to complete the Joomla Installation. | |
Show Slide 7:
Rules and Naming Conventions |
Please note:
|
Show Slide 8:
Prerequisites completed |
We are now ready to install Joomla.
|
(Switch to browser) | Go to the browser.
Type http colon double slash localhost slash joomla Pls note that joomla is the folder into which we extracted.
|
Press Enter | Press Enter and you will see the Joomla installation page. |
By default, we are in step number one, that is, Language.
Joomla can be installed in multiple languages. | |
Select English' >> click on Next button. | We will select English (United states) here.
|
Click on Next button. | We are at the Pre-Installation Check stage.
Let’s go with the default options.
|
Click on Next button. | Now we are on the Licence page.
|
Database (browser):
Select MySQL from DropDownList |
So, we come to the Database Configuration page now.
Select “MySQL” as the Database Type. |
Type localhost | Enter “localhost” as the Host Name |
Point to username, password and database name. | Now, we have to enter the username, password and database names.
|
Type Joomla-1 | I will enter Joomla hyphen 1 as the username.
|
Type joomla123 | Then joomla123 as the password
|
Type Joomla-1 | and Joomla hyphen 1 as the database name.
|
Leave the Table Prefix as it is.
| |
Select Backup >> Click Next | In Old Database Process, select Backup.
|
This step may take some time.
It is because the server tries to connect to the database and check the configurations.
| |
FTP Configurations (browser) | Next step is the FTP Configuration.
We don’t need to enable FTP because we are installing Joomla on our local server.
|
Main configuration (browser):
Type Digital India |
We are now on the Main Configuration page.
I will write it as Digital India |
Type priyanka@spoken-tutorial.org | Email id is a compulsory field. Please enter a valid email id here.
|
Type admin | Next, enter the username that you want for the Joomla administrative page.
|
Type admin123 | Enter a password for the Joomla administrator.
I will enter admin123 as the Admin password. |
Retype admin123 | Retype the password in the confirmation box. |
Point to the button Install Sample data | There is a button named Install Sample Data below the admin details.
|
Click Next | You may press this button if you wish, when you are installing Joomla for the first time.
Click Next button at the top right. |
Final Step (browser and terminal) | We are on the Finish page, the final step in the installation process.
|
Click Remove Installation Folder button | Under the message, there is a Remove Installation Folder button.
|
If you get an error in this step, you must remove the folder manually.
| |
Switch to terminal.
|
So, now let us switch to the terminal.
We will delete the installation folder manually from the joomla folder. This is mandatory.
Press Enter. |
Switch to browser
Type localhost/joomla
|
After successful removal of the installation folder, switch to the browser.
|
Since I did not install sample data, I do not see menus, articles etc., right now. | |
Type localhost/joomla/administrator/ | Lets go to the administrator page from where we can administer our website.
Press Enter. |
Type admin
Type admin123
|
Login with your administrator login and password.
|
As your website is installed, you have the administrator access. | |
Show Slide 9:
(Summary) |
Let us summarize.
In this tutorial, we learnt to:
|
Show Slide 10:
|
Let's come to the assignment now.
|
Show Slide 11:
(About Spoken Tutorial Project) |
The video at this link, summarizes the Spoken Tutorial project.
If you do not have good bandwidth, you can download and watch it. |
Show Slide 12:
(About Spoken Tutorial Project) Slide will be as given earlier |
The Spoken Tutorial Project Team
For more details, please write to us. |
Show Slide 13:
(Acknowledgement)
|
Spoken Tutorial Project is supported by NMEICT, MHRD, Government of India. |
This is Priyanka signing off. Thank you for joining. |