Lamp

718 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
718
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Lamp

  1. 1. LAMPLAMP acronym for Linux,Apache,Mysql and PHP(sometimes perl or python) is a open source softwareLinux- Linux is a open source software meaningwhich can be edited according to specific needs.Apache-Apache is an open source web serverMySQL-MySQL is a multithreaded, multi-user, SQL database management system (DBMS)
  2. 2. PHP-PHP is programming language originally designed for producing dynamic web pages. PHP is used mainly in server-side application software.
  3. 3. Advantages of LAMPEasy to code with PHP and Mysql.Easy to deploy a PHP application.Cheap
  4. 4. Why LinuxNo need to buy officeExcellent security as it is free from virusesPlatform independantOpen source
  5. 5. Basic Commands of Linux$who- Show who is logged in$mkdir- To create a directory$rm- To remove the directory$ls- To list files and directory$date- To display current date$mv- To rename a file or directory also to movefile from one location to another
  6. 6. Linux Architecture
  7. 7. User Space- This is where the user application is executedGNU C Library – It provides a mechanism to transition between the user-space application and the kernel.System call interface-The SCI is a thin layer that provides the means to perform function calls from user space into the kerneleg. read(),write(),close(),exit(),fork(),dup2() etc
  8. 8. Kernel- kernel is really nothing more than a resource manager. Whether the resource being managed is a process, memory, or hardware device.
  9. 9. subsystems of the Linux kernel
  10. 10. System call interface- system calls are used to request a resource from operating system.Process management-Process management is focused on the execution of processes. In the kernel, these are called threads.Memory management-Memory is managed in what are called pages .pages can be moved out of memory and onto the disk. This process is called swapping
  11. 11. Virtual file system-The purpose of a VFS is to allow client applications to access different types of file systemNetwork stack- provides a standardized way to manage connections and move data .Device drivers-The vast majority of the source code in the Linux kernel exists in device drivers that make a particular hardware device usable.
  12. 12. ApacheApache web server hasHTTPSSLIIS
  13. 13. HTTP- Acts as a communication media between web browser and web server.It is a application layer protocolHTTP client and server communicate via HTTPrequest and response messagesTwo main message types are GET and POSTHTTP utilizes port 80 by default
  14. 14. SSLSSL helps to improve the safety of internet communicationsSSL is a standard for encrypted client/server communication between network devices
  15. 15. IISInternet Information Server(IIS) is a web server application created by microsoft to use with Microsoft Windows.IIS 7.5 supports HTTP,HTTPS,FTP,FTPS,SMTP
  16. 16. MySqlThe most popular database mgmt system.It is used to add, access and process the data.It is very fast, reliable and easy to use due to connectivity, speed and securityUsed in client/server application
  17. 17. Why MySqlIt is freeOpensourceFast comparing to other database sysyem
  18. 18. Basic queriesCreate- It is used to create database/table.Insert- It is used to insert data into the database/table.Delete- It is used to delete database/table.Select- It is used to retrive data from database.Update- It is used to update data in database/table.Drop- It is used to drop table from database.
  19. 19. PHPIt is opensource software and free to use.It is a server side scripting language and script are executed on server.It supports many database like oracle,mysql, sybase etcIt suppots both structural and oops programming
  20. 20. Advantages of PHPIt is fast, stable, opensource, secure and easy to use.It is used for building dynamic web sites.PHP is fully object oriented language.PHP can run on both UNIX and Windows servers.
  21. 21. Basic PHP syntaxSyntax of php- <? php code ?>Output statements- echo and printThe file must have a .php extension
  22. 22. PHP.ini fileIt is a configuration file in which the settings forregister global variables, log errors, maximum time to execute a script is written
  23. 23. WAMPWAMPs are packages of independently-created programs installed on computers that use a Microsoft Windows operating system.WAMP is an acronym formed from the initials of the operating system Microsoft Windows and the principal components of the package: Apache, MySQL and one of PHP, Perl or Python.
  24. 24. MAMPThe acronym MAMP refers to a set of free software programs commonly used together to run dynamic web sites on servers running the Apple Macintosh operating system( Mac OS )
  25. 25. Thank You

×