1 00:00:00 --> 00:00:04 Welcome to this spoken tutorial on XAMPP Installation on Linux 2 00:00:05 --> 00:00:18 XAMPP is a free and open source web server package. XAMPP consists of Apache HTTP Server MySQL database Interpreters for scripts written in PHP and Perl programming languages. 3 00:00:19 --> 00:00:26 In the past, this software was called LAMPP. But to avoid misconceptions it was renamed XAMPP for Linux. 4 00:00:27 --> 00:00:34 XAMPP is easy to install.XAMPP is available for Windows, Linux, Mac OSX and Solaris. 5 00:00:35 --> 00:00:38 I am using Ubuntu Linux version 10.04 6 00:00:39 --> 00:00:40 You should have admin access. 7 00:00:41 --> 00:00:43 The first step is to download XAMPP for Linux. 8 00:00:44 --> 00:00:47 XAMPP for Linux can be downloaded at from following link 9 00:00:48 --> 00:00:57 http://www.apachefriends.org/en/xampp.html] 10 00:00:58 --> 00:00:58 Switch to the website. 11 00:00:59 --> 00:01:08 Links are also available to download XAMPP for Windows, for Mac OSX and Solaris. 12 00:01:09 --> 00:01:12 We will choose the XAMPP for Linux link. 13 00:01:13 --> 00:01:13 Let us click here. 14 00:01:14 --> 00:01:18 Scroll down and click on Step1 to Download 15 00:01:19 --> 00:01:25 Now click on XAMPP Linux 1.7.7 and follow the steps to download it. 16 00:01:26 --> 00:01:29 I have already downloaded this file on Desktop in order to save time. 17 00:01:30 --> 00:01:36 Now open a terminal by pressing the keys Ctrl, Alt and T simultaneously. 18 00:01:37 --> 00:01:39 A terminal window appears on the screen. 19 00:01:40 --> 00:01:47 Type the command.cd space Desktop and press Enter to change the directory to Desktop 20 00:01:48 --> 00:01:54 Type the command.lsand press Enter to display the content of the Desktop. 21 00:01:55 --> 00:01:57 XAMPP installation file is available on Desktop. 22 00:01:58 --> 00:02:12 Type the command.sudo space tar space xvfz space xampp-linux-1.7.7.tar.gz space -C space /opt 23 00:02:13 --> 00:02:15 Type the sudo password and press Enter. 24 00:02:16 --> 00:02:22 Sorry I typed the wrong password that is why it giving me the error "Sorry, try again" 25 00:02:23 --> 00:02:32 Type the correct sudo password and press Enter.So, we have successfully extracted the downloaded archive. 26 00:02:33 --> 00:02:42 Now, type the command.cd space /opt and press Enter to change the directory to opt. 27 00:02:43 --> 00:02:49 Type the command.ls and press Enter to display the content of the directory opt. 28 00:02:50 --> 00:02:56 XAMPP is now installed under the /opt/lampp directory. 29 00:02:57 --> 00:03:01 Type the command.cd space lampp 30 00:03:02 --> 00:03:08 Type the command.ls and press Enter to display the content of the directory lampp. 31 00:03:09 --> 00:03:12 The next step is to start XAMPP. 32 00:03:13 --> 00:03:26 Type the command.sudo space /opt/lampp/lampp space startand press Enter 33 00:03:27 --> 00:03:31 Enter the sudo password and Press Enter 34 00:03:32 --> 00:03:35 XAMPP for Linux has sucsessfully started. 35 00:03:36 --> 00:03:39 Now let us test our XAMPP installation. 36 00:03:40 --> 00:03:42 I will switch to the Firefox browser for this purpose. 37 00:03:43 --> 00:03:54 Type the URL http://localhost in address bar and press Enter. 38 00:03:55 --> 00:04:06 You will see the URL http://localhost/xampp splash.php in your web browser. 39 00:04:07 --> 00:04:14 This shows that the Apache server is running.Now I will create my home page in html. 40 00:04:15 --> 00:04:17 It will be displayed on the web browser 41 00:04:18 --> 00:04:35 Switch to the terminal.Type the command.cd space /opt/lampp/htdocsand Press Enter to change the directory to /opt/lampp/htdocs 42 00:04:36 --> 00:04:38 This is the path of our web directory 43 00:04:39 --> 00:04:50 Type the command.sudo space mkdir space myhomepageand Press Enter to create the directory myhomepage 44 00:04:51 --> 00:04:57 Type the command.ls and press Enter to display the content of the directory htdocs. 45 00:04:58 --> 00:05:07 Type the command.cd space myhomepagePress Enter to change the directory to myhomepage 46 00:05:08 --> 00:05:11 Now I will create my home page in html 47 00:05:12 --> 00:05:31 Type the command.sudo space gedit space index.htmlPress Enter to create index.html using gedit text editor. 48 00:05:32 --> 00:05:36 To learn HTML, please watch the tutorials available on our website. 49 00:05:37 --> 00:05:42 In order to save time, I will copy-paste an HTML code here 50 00:05:43 --> 00:05:48 Text written between the title tag will be displayed on the title bar of the browser. 51 00:05:49 --> 00:05:53 Text written between the body tag will be displayed in the browser. 52 00:05:54 --> 00:05:58 Click on "Save" button to save the file.Close the gedit window. 53 00:05:59 --> 00:06:01 Switch back to Firefox browser 54 00:06:02 --> 00:06:12 Type the URL http://localhost/myhomepage and press Enter. 55 00:06:13 --> 00:06:19 You can see the welcome message is displayed in the web browser. 56 00:06:20 --> 00:06:25 So that's how we install, start and test XAMPP. 57 00:06:26 --> 00:06:30 Switch back to slide.I will now talk about the Spoken Tutorial Project 58 00:06:31 --> 00:06:41 Watch the video available at http://spoken- tutorial.org/What_is_a_Spoken_Tutorial 59 00:06:42 --> 00:06:45 It summarises the Spoken Tutorial project. 60 00:06:46 --> 00:06:50 If you do not have good bandwidth, you can download and watch it. 61 00:06:51 --> 00:06:56 The Spoken Tutorial Project Team.Conducts workshops using spoken tutorials. 62 00:06:57 --> 00:07:00 Gives certificates to those who pass an online test. 63 00:07:01 --> 00:07:05 For more details, contact sptutemail@gmail.com 64 00:07:06 --> 00:07:10 Spoken Tutorial Project is a part of the Talk to a Teacher project. 65 00:07:11 --> 00:07:16 It is supported by National Mission on Education through ICT, MHRD, Government of India 66 00:07:17 --> 00:07:26 More information on this mission is available at, http://spoken-tutorial.org/NMEICT-Intro 67 00:07:27 --> 00:07:29 We have come to the end of this tutorial. 68 00:07:30 --> 00:07:31 Thanks for joining. 69 00:07:32 --> 00:07:37 This is Shahid Farooqui from IIT Bombay signing off. Good Bye