Joomla/C2/Installing-Joomla-on-a-local-server/English-timed

From Script | Spoken-Tutorial
Revision as of 11:06, 14 February 2018 by Venuspriya (Talk | contribs)

Jump to: navigation, search
Time Narration
00.01 Welcome to the Spoken Tutorial on Installing Joomla on local server
00.07 In this tutorial, we will learn to: Obtain Joomla, Create database, Permissions and Install Joomla
00.17 To install Joomla in your system, you should have a system supporting: Apache 2.x plus or IIS 7 plus, MySQL 5.0.4 plus and PHP 5.2.4 plus
00.17 Please note that MySQL 6 and higher versions are currently not supported.
00:42 You can either install these separately or together, using a web-server distribution like XAMPP WAMP or LAMPP.
00:52 Web-server distributions give you Apache, MySQL and PHP bundled in one.
01:00 Refer to the PHP & MySQL spoken tutorials, for more details on XAMPP installation.
01:08 For this tutorial, we will be using:Ubuntu 14.04, Joomla 3.4.1, Apache, MySQL and PHP obtained through XAMPP 5.5.19
01:25 First of all, let me check if XAMPP is installed on my machine.
01:30 Lets open the terminal by pressing Ctrl + Alt + T keys.
01:37 Alternately, click on the “Terminal” icon in the launcher bar.
01:42 Start XAMPP by typing sudo space slash opt slash lampp slash lampp space start
01:53 Enter the administrative password when prompted and press Enter.
01:59 Now, switch to the browser, and type http colon double slash localhost
02:08 For the very first time of installation, you have to select language.
02:15 So, here let us select English.
02:19 In the menu on the left of the screen, click on phpinfo().
02:26 Now press Ctrl + F keys and search for DOCUMENT underscore ROOT.
02:35 It will be found in the table "Apache Environment".
02:40 Value of DOCUMENT underscore ROOT will be either slash opt slash lampp slash htdocs or slash var slash www
02:54 In my machine, it is slash opt slash lampp slash htdocs.
03:01 Please moove this path. We are going to install Joomla here.
03:06 First let us download Joomla.
03:10 So, go to the official website of Joomla, which is www dot joomla dot org.
03:20 Click on Download button on this webpage.
03:24 We will be redirected to another webpage
03:28 Here, we see a button that says “Download Joomla 3.4.1 Full Package, ZIP”.
03:37 Click on that button.
03:39 Immediately, a small dialog box will open.
03:43 Here click on Save File option and then click on OK.
03:49 This will download Joomla.
O3:52 At the time of making of this tutorial, latest stable version is 3.4.1.
03:59 The content covered in this tutorial is suitable for 3.4.x version.
04:06 I have already downloaded this file and it is in my Downloads folder.
04:12 Next, we have to create a new folder named joomla in DOCUMENT underscore ROOT.
04:20 Go to the terminal window.
04:22 So, at the prompt, type sudo space mkdir space slash opt slash lampp slash htdocs slash joomla
04:37 And press Enter.
04:39 Enter your admin password, if prompted.
04:43 You will have to do so whenever prompted, as we proceed.
04:48 We now change directory to Downloads.
04:52 To see the required path, come to the folder window.
04:57 Move the cursor on Downloads folder in the Home folder and see the tool-tip.
05:04 On my system it is, slash home slash fossee slash Downloads
05:10 So, in the terminal, I will type the command: cd space slash home slash fossee slash Downloads
05:20 And press Enter.
05:22 You will have to type the path shown on your system.
05:26 Now we will extract the contents of the zip file into the joomla folder.
05:32 At the command prompt, type: sudo space unzip space name of the Joomla file space hyphen d space slash opt slash lampp slash htdocs slash joomla slash
05:50 And press Enter.
05:53 Let me clear the terminal by pressing Ctrl + L.
06:00 To specify the permissions of the folder joomla, we will go to DOCUMENT underscore ROOT.
06:08 Type, cd space slash opt slash lampp slash htdocs
06:16 And press Enter.
06:18 To list the files in this directory, type ls and press Enter.
06:25 Let's give read, write and execute permissions to the owner and the group members of joomla folder.
06:34 So type -

sudo space chmod space 777 space joomla slash

06:44 And press Enter.
06:47 Before we go ahead with the installation, we need to create a database for Joomla.
06:54 We will do this in phpmyadmin.
06:58 Phpmyadmin is the graphical user interface for MySQL.
07:04 It comes along with XAMPP installation.
07:08 Switch to the browser and type

http colon double slash localhost

07:17 On the XAMPP page, in the menu on the left, under Tools, click on phpmyadmin.
07:27 Click on Users in the top menu and then click on Add User.
07:34 Enter a username, say, Joomla hyphen 1
07:39 From Host dropdown list, select Local.
07:44 Enter a password in the Password text-box, say joomla123.
07:51 You can enter any password of your choice.
07:55 Enter the same password in the Re-type textbox.
07:59 Please do not respond to Generate Password prompt for now.
08:06 Under Database for user, we can see the option Create a database with the same name and grant all privileges.
08:16 We will check that option and click the button Go at the bottom right of this page.
08:25 This will create a new database with the name Joomla hyphen 1 and with a user Joomla hyphen 1.
08:35 Make a note of the username, password and database names.
08:42 These will be required later to complete the Joomla installation.
08:49 Please note: Database name and username need not be the same.
08:55 To have different names, you can first create the database and then create a user for that database.
09:04 Also, as per naming convention, username should not have any spaces in between.
09:12 We are now ready to install Joomla.
09:15 We have XAMPP running and our database is ready.
09:20 And we have extracted Joomla into the folder joomla in DOCUMENT underscore ROOT.
09:28 Go to the browser. Type http colon double slash localhost slash joomla
09:38 Please note that joomla is the folder into which we extracted.
09:44 Press Enter and you will see the Joomla installation page.
09:50 By default, we are in step number one, that is, Configuration.
09:56 Joomla can be installed in multiple languages.
10:00 We will select English (United states) here.
10:05 Click on Next button at the top right.
10:08 We are now on the main configuration page
10:12 Enter the sitename that you want your website to have.
10:18 I will have it as "Digital India".
10:22 Email-id is a compulsory field.
10:25 Please enter a valid email-id here.
10:29 I will give the id as "priyanka@spoken-tutorial.org"
10:37 Next, enter the username that you want for the Joomla Administrative page.
10:44 I will enter the username as admin.
10:48 Enter a password for the Joomla Administrator.
10:52 I will enter admin123 as my admin password.
10:58 Re-type the password in the confirmation box.
11:02 Please select No option for Site Offline (Yes/No).
11:08 The site can be set online later on through the global configuration.
11:14 We will leave the description blank.
11:17 Now, click on the Next button at the top-right.
11:21 So, we come to the Database Configuration page now.
11:26 Select "MySQL" as the Database Type.
11:31 Enter "localhost" as the Host Name
11:34 Now, we have to enter the username, password and database names.
11:41 These are the ones we created earlier, in phpmyadmin.
11:46 I will enter Joomla hyphen 1 as the username.
11:51 Then joomla123 as the password
11:55 And Joomla hyphen 1 as the database name.
11:59 Leave the Table Prefix as it is.
12:02 In Old Database Process, select Backup.
12:08 This is to take backup of tables, with identical names as in the database, when Joomla is upgraded.
12:17 Click on Next button at the top right.
12:21 We are now in the Finalisation and Overview page.
12:26 In the Finalisation section, locate Install Sample Data.
12:32 By default, one of the radio buttons will be selected.
12:37 The options listed here, will install some sample articles, menus, plugins etc. on the site.
12:47 These are useful for a beginner to understand Joomla.
12:52 You may choose one of the options, when you are installing Joomla for the first time.
12:58 I do not wish to do so. So, I will choose the None option.
13:04 Scroll the page below and check the Overview information displayed here.
13:10 Now click on the Install button on the top-right.
13:15 This step may take some time.
13:18 Now we will see the message "Congratulations! Joomla is now installed".
13:26 Under the message, there is a Remove Installation Folder button.
13:31 Click on it to remove the installation folder.
13:35 If we get an error in this step, we must remove the folder manually.
13:41 I got an error because I am not logged-in as linux superuser.
13:47 I don't have delete permission either.
13:51 So, now let us switch to the terminal.
13:55 We will delete the installation folder manually from the joomla folder.
14:01 This is mandatory. So please do not skip this step.
14:06 Type cd joomla.
14:10 Then type sudo space rm space hyphen rf space installation slash.
14:20 Press Enter.
14:22 Enter the administrative password, when prompted.
14:26 After successful removal of the installation folder, switch to the browser.
14:32 Type localhost slash joomla
14:36 We have reached our website!
14:40 Since I did not install sample data, I do not see menus, articles etc., right now.
14:48 Let's go to the administrator page from where we can administer our website.
14:56 So, go to localhost slash joomla slash administrator
15:02 Press Enter.
15:05 Login with the administrator login and password.
15:09 I will type admin as username and admin123 as password.
15:16 As our website is installed, we have the administrator access.
15:22 Let us summarize. In this tutorial, we learnt to: Install Joomla from Joomla website, Create database in phpmyadmin and, Install Joomla on local server
15:38 Let's come to the assignment now.
15:41 Install Joomla with the sample data, Uninstall Joomla and then Install a fresh Joomla without sample data. Compare the difference.
15:55 The video at this link, summarizes the Spoken Tutorial project. If you do not have good bandwidth, you can download and watch it.
16:05 The Spoken Tutorial Project Team conducts workshops using spoken tutorials and gives certificates on passing online tests.
16:15 For more details, please write to us.
16:19 Spoken Tutorial Project is supported by NMEICT, MHRD, Government of India.
16:27 This script has been contributed by Priyanka and this is Ashwini Patil from IIT Bombay signing off. Thank you for joining.

Contributors and Content Editors

PoojaMoolya, Sandhya.np14, Venuspriya