0
Lecture 01 Introduction Background Survey Course Overview Jargon Buster Intro to LAMP Filesystem Hierarchy Standard Absolu...
<ul><li>Ajay Rungta </li></ul><ul><ul><li>Project Assistant, SDET Unit / CSIS Group </li></ul></ul><ul><ul><li>Webmaster, ...
<ul><li>LAMP </li></ul><ul><ul><li>Linux </li></ul></ul><ul><ul><li>Apache </li></ul></ul><ul><li>HTML </li></ul><ul><li>C...
<ul><li>Details </li></ul><ul><ul><li>Tue & Thu 5:30 to 7 pm, 5101 [LTC]  </li></ul></ul><ul><ul><li>http://sdetu/csd/cour...
<ul><li>Lectures </li></ul><ul><ul><li>Sets pace of Course </li></ul></ul><ul><ul><li>Highlights important points </li></u...
<ul><li>Evaluation </li></ul><ul><ul><li>Quiz –  4 [10%] </li></ul></ul><ul><ul><li>Labs </li></ul></ul><ul><ul><ul><li>Pr...
<ul><li>TB1:  Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass:  Beg...
<ul><li>Linux </li></ul><ul><ul><li>Fundamentals </li></ul></ul><ul><ul><li>File Handling Commands </li></ul></ul><ul><ul>...
<ul><li>MySQL </li></ul><ul><ul><li>MySQL Databases & Tables </li></ul></ul><ul><ul><li>Value Types </li></ul></ul><ul><ul...
<ul><ul><li>Technocrat Era:  Programmers serving programmers   </li></ul></ul><ul><ul><li>Early Business Era:  Programmers...
8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
<ul><li>A group of users that solves a difficult program far ahead of the mass market </li></ul><ul><ul><li>The first was ...
<ul><li>Free and open source software </li></ul><ul><li>Used to run dynamic websites or servers </li></ul><ul><ul><li>Linu...
<ul><li>Open source doesn't just mean access to the source code. </li></ul><ul><li>Distribution must comply with the follo...
<ul><li>Unix-like OS based on Linux kernel </li></ul><ul><li>Written in 1991 by Linus Torvalds </li></ul><ul><li>Developed...
<ul><li>Developed and maintained under Apache Software Foundation </li></ul><ul><li>1 st  version was created by Robert Mc...
<ul><li>Relational Database Management System </li></ul><ul><li>It is  My   S tructured  Q uery  L anguage </li></ul><ul><...
<ul><li>It is  P HP:  H ypertext  P reprocessor </li></ul><ul><li>Scripting language to produce dynamic web pages </li></u...
8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP Defines the main directories and their contents in most software systems using...
8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP Directory Description /mnt Mount point for mounting a filesystem temporarily /...
<ul><li>User Program </li></ul><ul><ul><li>Set of instructions written by the user </li></ul></ul><ul><li>Process </li></u...
<ul><li>The Absolute Path </li></ul><ul><ul><li>The entire pathname starting from root(/) </li></ul></ul><ul><ul><li>Eg - ...
<ul><li>Man Pages - Applications, utilities, and shell prompt commands usually have corresponding manual pages </li></ul><...
<ul><li>Left Blank Intentionally </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
<ul><li>Left Blank Intentionally </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
<ul><li>Questions </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
Upcoming SlideShare
Loading in...5
×

Slides - BITS, Pilani - The Official Homepage

2,994

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,994
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Slides - BITS, Pilani - The Official Homepage"

  1. 1. Lecture 01 Introduction Background Survey Course Overview Jargon Buster Intro to LAMP Filesystem Hierarchy Standard Absolute & Relative Path Shell Commands
  2. 2. <ul><li>Ajay Rungta </li></ul><ul><ul><li>Project Assistant, SDET Unit / CSIS Group </li></ul></ul><ul><ul><li>Webmaster, BITS Website </li></ul></ul><ul><ul><li>Pursuing M. E. in Software Systems </li></ul></ul><ul><ul><li>Software Engineer, Infosys [2 years] </li></ul></ul><ul><ul><li>M. Sc. (Hons.) Physics, BITS Pilani [Class of 2006] </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul><ul><ul><li>3258 [IBM Lab] </li></ul></ul><ul><li>Enough of me, lets talk about you now… </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  3. 3. <ul><li>LAMP </li></ul><ul><ul><li>Linux </li></ul></ul><ul><ul><li>Apache </li></ul></ul><ul><li>HTML </li></ul><ul><li>CSS </li></ul><ul><li>JavaScript </li></ul><ul><li>PHP </li></ul><ul><ul><li>Fundamentals </li></ul></ul><ul><ul><li>Session / Cookies </li></ul></ul><ul><ul><li>PEAR </li></ul></ul><ul><ul><li>PHP Frameworks </li></ul></ul><ul><li>MySQL </li></ul><ul><ul><li>RDBMS </li></ul></ul><ul><ul><li>SQL Queries </li></ul></ul><ul><ul><li>DB Connections </li></ul></ul><ul><li>XML </li></ul><ul><li>AJAX </li></ul><ul><li>Prithvi Account </li></ul><ul><li>Desktop / Laptop </li></ul><ul><li>Expectation </li></ul>
  4. 4. <ul><li>Details </li></ul><ul><ul><li>Tue & Thu 5:30 to 7 pm, 5101 [LTC] </li></ul></ul><ul><ul><li>http://sdetu/csd/courses/CSDL0101/ </li></ul></ul><ul><ul><li>http://groups.google.com/group/lamp_csd_bitspilani/ </li></ul></ul><ul><ul><li>CCH: Mon 5.30 to 6.30 pm, 3258 [IBM Lab] </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul><ul><li>Handout </li></ul><ul><ul><li>Download Handout soft copy from course website </li></ul></ul><ul><ul><ul><li>Likely to change in time </li></ul></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  5. 5. <ul><li>Lectures </li></ul><ul><ul><li>Sets pace of Course </li></ul></ul><ul><ul><li>Highlights important points </li></ul></ul><ul><ul><li>Demo/Sample Programs presented [ Ensure that you understand them fully ] </li></ul></ul><ul><li>Course Material </li></ul><ul><ul><li>Either on course website or IntraBITS </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  6. 6. <ul><li>Evaluation </li></ul><ul><ul><li>Quiz – 4 [10%] </li></ul></ul><ul><ul><li>Labs </li></ul></ul><ul><ul><ul><li>Practice & Evaluative Labs [20%] </li></ul></ul></ul><ul><ul><ul><li>Each 60 Min </li></ul></ul></ul><ul><ul><ul><li>Date, Time & Venue – TBD </li></ul></ul></ul><ul><ul><li>Assignments/Projects – Take Home [20%] </li></ul></ul><ul><ul><ul><li>Submission Dates – 1 st Oct, 2009 & 5 th Nov 2009 </li></ul></ul></ul><ul><ul><li>Mid Sem– 12 th Oct 2009, Monday [90 Min][20%] </li></ul></ul><ul><ul><li>End Sem– 21 st Nov 2009, Saturday [120 Min][30%] </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  7. 7. <ul><li>TB1: Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass: Beginning PHP6, Apache, MySQL Web Development , Wrox 2009 </li></ul><ul><li>TB2: W. Jason Gilmore: Beginning PHP & MySQL - From Novice to Professional, Apress , 3rd Edition, 2008 </li></ul>
  8. 8. <ul><li>Linux </li></ul><ul><ul><li>Fundamentals </li></ul></ul><ul><ul><li>File Handling Commands </li></ul></ul><ul><ul><li>Shell and vi </li></ul></ul><ul><li>Apache </li></ul><ul><ul><li>Configuration </li></ul></ul><ul><ul><li>Files Hierarchy </li></ul></ul><ul><ul><li>User Webpages </li></ul></ul><ul><ul><li>Virtual Hosts and aliases </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  9. 9. <ul><li>MySQL </li></ul><ul><ul><li>MySQL Databases & Tables </li></ul></ul><ul><ul><li>Value Types </li></ul></ul><ul><ul><li>SQL Queries </li></ul></ul><ul><li>PHP </li></ul><ul><ul><li>Fundamentals </li></ul></ul><ul><ul><li>Forms, Sessions, Cookies </li></ul></ul><ul><ul><li>AJAX </li></ul></ul><ul><ul><li>PEAR and PHP Frameworks </li></ul></ul><ul><ul><li>Security </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  10. 10. <ul><ul><li>Technocrat Era: Programmers serving programmers </li></ul></ul><ul><ul><li>Early Business Era: Programmers attempt to serve others </li></ul></ul><ul><ul><li>Late Business Era: Programmers and artists meet and do battle </li></ul></ul><ul><ul><li>Product Design Era: Can programmers and artists learn to work together? </li></ul></ul><ul><ul><li>Lead users </li></ul></ul><ul><ul><ul><li>*Source: http://www.lostgarden.com/2006/02/software-developments-evolution.html </li></ul></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  11. 11. 8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  12. 12. 8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  13. 13. 8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  14. 14. 8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  15. 15. <ul><li>A group of users that solves a difficult program far ahead of the mass market </li></ul><ul><ul><li>The first was the game industry </li></ul></ul><ul><ul><li>The second were companies like Apple </li></ul></ul><ul><ul><li>The third were web design companies </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  16. 16. <ul><li>Free and open source software </li></ul><ul><li>Used to run dynamic websites or servers </li></ul><ul><ul><li>Linux – the Operating System </li></ul></ul><ul><ul><li>Apache - the Web Server </li></ul></ul><ul><ul><li>MySQL – the Database Management System </li></ul></ul><ul><ul><li>PHP – the server side scripting language </li></ul></ul><ul><ul><ul><li>LAM P - Perl, PHP or Python </li></ul></ul></ul><ul><ul><li>Coined by Michael Kunze in an article in German computing magazine c’t  in April 1998 * </li></ul></ul><ul><ul><li>*Link http://www.heise.de/kiosk/archiv/ct/1998/12/230_kiosk </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  17. 17. <ul><li>Open source doesn't just mean access to the source code. </li></ul><ul><li>Distribution must comply with the following: </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP <ul><ul><li>Free Redistribution </li></ul></ul><ul><ul><li>Source Code </li></ul></ul><ul><ul><li>Derived Works </li></ul></ul><ul><ul><li>Integrity of The Author's Source Code </li></ul></ul><ul><ul><li>No Discrimination Against Persons or Groups </li></ul></ul><ul><ul><li>No Discrimination Against Fields of Endeavor </li></ul></ul><ul><ul><li>Distribution of License </li></ul></ul><ul><ul><li>License Must Not Be Specific to a Product </li></ul></ul><ul><ul><li>License Must Not Restrict Other Software </li></ul></ul><ul><ul><li>License Must Be Technology-Neutral </li></ul></ul>*Source: http://www.opensource.org/docs/osd
  18. 18. <ul><li>Unix-like OS based on Linux kernel </li></ul><ul><li>Written in 1991 by Linus Torvalds </li></ul><ul><li>Developed on Minix using the GNU ^ C compiler </li></ul><ul><li>Announced on 25 Aug ‘91 on Usenet newsgroup ”comp.os.minix.” $ </li></ul><ul><ul><li>Kernel – Central Component </li></ul></ul><ul><ul><li>Apache HTTP Server </li></ul></ul><ul><ul><li>X Window System – GUI </li></ul></ul><ul><ul><li>Desktop Environments – GNOME, KDE, etc </li></ul></ul><ul><ul><li>Utilities and Libraries, etc </li></ul></ul><ul><li>$Announcement http://groups.google.com/group/comp.os.minix/msg/b813d52cbc5a044b </li></ul><ul><li>Pronounce Linux http://groups.google.com/group/comp.os.linux/msg/53a76cbbbcb6e1c8 </li></ul><ul><li>^GNU's Not Unix http://www.gnu.org/ </li></ul><ul><li>*Why Tux? http://lkml.indiana.edu/hypermail/linux/kernel/9605/0855.html </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP Tux * Linus Torvalds
  19. 19. <ul><li>Developed and maintained under Apache Software Foundation </li></ul><ul><li>1 st version was created by Robert McCool known as NCSA ^ HTTPd </li></ul><ul><li>Became first web server to surpass the 100 million web site milestone in Feb ‘09 * </li></ul><ul><li>Served over 46% of all websites & over 66% of the million busiest as of Aug ‘09 # </li></ul><ul><li>Why Apache? http://httpd.apache.org/docs/1.3/misc/FAQ.html#name </li></ul><ul><li>Apache Software Foundation http://www.apache.org/ </li></ul><ul><li>Apache HTTP Server Project http://httpd.apache.org/ </li></ul><ul><li>^National Center for Supercomputing Applications http://www.ncsa.illinois.edu/ </li></ul><ul><li>* http://news.netcraft.com/archives/2009/02/18/february_2009_web_server_survey.html </li></ul><ul><li># http://news.netcraft.com/archives/2009/08/31/august_2009_web_server_survey.html </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  20. 20. <ul><li>Relational Database Management System </li></ul><ul><li>It is My S tructured Q uery L anguage </li></ul><ul><li>Runs as a server providing multi-user access to a number of databases </li></ul><ul><li>Eg - Flickr, Facebook, Wikipedia, Google (not for searches), Nokia, YouTube, etc </li></ul><ul><li>Originally developed by Michael Widenius and David Axmark beginning in 1994 </li></ul><ul><li>Created by MySQL AB [Founded in 1995] </li></ul><ul><li>Sun Microsystems acquired MySQL AB in 2008 </li></ul><ul><li>Oracle deal to acquire Sun Microsystems is open </li></ul><ul><li>*MySQL http://www.mysql.com/ </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  21. 21. <ul><li>It is P HP: H ypertext P reprocessor </li></ul><ul><li>Scripting language to produce dynamic web pages </li></ul><ul><li>Created by Rasmus Lerdorf in 1995 </li></ul><ul><li>Succeeds an older product, named PHP/FI – Personal Home Page/ Form Interpreter </li></ul><ul><li>Now managed by The PHP Group </li></ul><ul><li>*PHP http://www.php.net/ </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  22. 22. 8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP Defines the main directories and their contents in most software systems using UNIX and Unix-like operating systems Directory Description / Primary hierarchy root & root directory of the entire file system hierarchy /bin Essential command binaries for all users, e.g., cat, ls, cp. /boot Static files of the boot loader e.g., kernels, initrd; often separate partition /dev Essential Device files /dev/ttyX, /dev/hdaX /etc Host-specific system-wide configuration files /etc/bashrc /home Users' home directories - saved files, personal settings, etc /lib Essential shared libraries and kernel modules /media Mount point for removeable media such as CD-ROMs
  23. 23. 8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP Directory Description /mnt Mount point for mounting a filesystem temporarily /opt Add-on/Optional  application software packages /proc Virtual filesystem documenting kernel and process status as text files, e.g., uptime, network /root Home directory for the root user /sbin Essential system binaries /srv Data for services provided by this system /tmp Temporary files. Often not preserved between system reboots. /usr Secondary hierarchy for read-only user data /var Variable files—files whose content is expected to continually change during normal operation of the system—such as logs, spool files, and temporary e-mail files
  24. 24. <ul><li>User Program </li></ul><ul><ul><li>Set of instructions written by the user </li></ul></ul><ul><li>Process </li></ul><ul><ul><li>Instance of a program under execution </li></ul></ul><ul><li>Shell </li></ul><ul><ul><li>Provides a processing environment for the user programs </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  25. 25. <ul><li>The Absolute Path </li></ul><ul><ul><li>The entire pathname starting from root(/) </li></ul></ul><ul><ul><li>Eg - /home/students/grad/h2008123 </li></ul></ul><ul><li>The Relative Path </li></ul><ul><ul><li>The path relative to your present working directory </li></ul></ul><ul><ul><ul><li>. – Current Directory </li></ul></ul></ul><ul><ul><ul><li>.. – Parent Directory in hierarchy </li></ul></ul></ul><ul><ul><ul><li>~ - User Home Directory </li></ul></ul></ul><ul><ul><ul><li>~username – username Home Directory </li></ul></ul></ul><ul><ul><li>Eg – cd, cd ., cd .., cd ../../, cd ~, cd ~user </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  26. 26. <ul><li>Man Pages - Applications, utilities, and shell prompt commands usually have corresponding manual pages </li></ul><ul><li>Man Pages show the reader the available options and values of file or executable </li></ul><ul><ul><li>Eg man whoami </li></ul></ul><ul><li>Word Search in Man Pages </li></ul><ul><ul><li>man –k <word> </li></ul></ul><ul><ul><li>apropos <word> </li></ul></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  27. 27. <ul><li>Left Blank Intentionally </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  28. 28. <ul><li>Left Blank Intentionally </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  29. 29. <ul><li>Questions </li></ul>8-Sep-09 Ajay Rungta, CSD, BITS Pilani LAMP
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×