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)
PHP-PHP is programming language originally designed for producing dynamic web pages. PHP is used mainly in server-side application software.
Advantages of LAMPEasy to code with PHP and Mysql.Easy to deploy a PHP application.Cheap
Why LinuxNo need to buy officeExcellent security as it is free from virusesPlatform independantOpen source
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
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
Kernel- kernel is really nothing more than a resource manager. Whether the resource being managed is a process, memory, or hardware device.
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
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.
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
SSLSSL helps to improve the safety of internet communicationsSSL is a standard for encrypted client/server communication between network devices
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
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
Why MySqlIt is freeOpensourceFast comparing to other database sysyem
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.
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
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.
Basic PHP syntaxSyntax of php- <? php code ?>Output statements- echo and printThe file must have a .php extension
PHP.ini fileIt is a configuration file in which the settings forregister global variables, log errors, maximum time to execute a script is written
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.
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 )