SlideShare une entreprise Scribd logo
1  sur  10
LAMP
Introduction
Prima Yogi Loviniltra | yogi@numoss.org
What is LAMP?



LAMP > Linux (operating system), Apache HTTP Server, MySQL
(database software) and PHP (or sometimes Perl or Python)

*Similar terms exist for essentially the same software suite (AMP) running on
other operating systems, such as Microsoft Windows (WAMP), Mac OS
(MAMP), Solaris (SAMP), iSeries (iAMP), or OpenBSD (OAMP).
Apache HTTP Server



The Apache HTTP Server > web server software notable for playing a
key role in the initial growth of the World Wide

* The Hypertext Transfer Protocol (HTTP) is a networking protocol for
distributed, collaborative, hypermedia information systems. HTTP is the
foundation of data communication for the World Wide Web.
MySQL




MySQL (MySQL (Structured Query Language) > is a relational
database management system (RDBMS) that runs as a server
providing multi-user access to a number of databases.
PHP



PHP > is a general-purpose server-side scripting language originally
designed for web development to produce dynamic web pages.

* PHP code is embedded into the HTML source document and interpreted by a
web server with a PHP processor module, which generates the web page
document
phpMyAdmin




phpMyAdmin > is an open source tool written in PHP intended to
handle the administration of MySQL with the use of a Web browser. It
can perform various tasks such as creating, modifying or deleting
databases, tables, fields or rows; executing SQL statements; or
managing users and permissions.
Install MySQL


Install MySQL 5 :


1. Install MySQL


      $ yum install mysql mysql-server


2. Make a system startup links untuk MySQL dan start MySQL :


      $ chkconfig --levels 235 mysqld on


      $ /etc/init.d/mysqld start


3. Run :


      $ mysql_secure_installation
Install Apache2


Install Apache2


1. Apache2 is available in Fedora 16 :


      # yum install httpd


2. Set Apache run on boot :


      # chkconfig --levels 235 httpd on


.3. Start Apache :


      # /etc/init.d/httpd start


      Open browser http://localhost/
Install PHP5

Install PHP5


1. Install PHP5, dependenciesnya dan Apache PHP5 module :
      # yum install php mysql-php


2. Restart Apache :
      # /etc/init.d/httpd restart


3. Tes info.php
- make file info.php > /var/www/html
      # vi /var/www/html/info.php
- Fill with :
<?php phpinfo(); ?>
- open browser :
  http://localhost/info.php
Install phpMyAdmin

1. Install phpMyAdmin :
      # yum -y install phpMyAdmin php-mysql php-mcrypt


2. Lihat konfigurasi-ny :
      # vi /etc/httpd/conf.d/phpMyAdin.conf


See this :
<Directory /usr/share/phpMyAdmin/>
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</Directory>


3. Open browser http://localhost/phpmyadmin
  username : root
  password : password mysql

Contenu connexe

Tendances

Config websocket on apache
Config websocket on apacheConfig websocket on apache
Config websocket on apachebaran19901990
 
Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hostingwebhostingguy
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
WordPress 3.0 MultiSite Features
WordPress 3.0 MultiSite FeaturesWordPress 3.0 MultiSite Features
WordPress 3.0 MultiSite FeaturesPete Mall
 
Apache ds building_from_source
Apache ds building_from_sourceApache ds building_from_source
Apache ds building_from_sourcemervettt
 
Apache Tutorial
Apache TutorialApache Tutorial
Apache TutorialGuru99
 
Doc quickinstall 3.x
Doc quickinstall 3.xDoc quickinstall 3.x
Doc quickinstall 3.xsetankecos
 
How to install r1 soft
    How to install  r1 soft    How to install  r1 soft
How to install r1 softIdeastack
 

Tendances (20)

Apache Web Server Setup 2
Apache Web Server Setup 2Apache Web Server Setup 2
Apache Web Server Setup 2
 
Config websocket on apache
Config websocket on apacheConfig websocket on apache
Config websocket on apache
 
Basic Linux Configurations
Basic Linux ConfigurationsBasic Linux Configurations
Basic Linux Configurations
 
Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hosting
 
Webim152
Webim152Webim152
Webim152
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
Api gateway migration
Api gateway migrationApi gateway migration
Api gateway migration
 
WordPress 3.0 MultiSite Features
WordPress 3.0 MultiSite FeaturesWordPress 3.0 MultiSite Features
WordPress 3.0 MultiSite Features
 
Apache ds building_from_source
Apache ds building_from_sourceApache ds building_from_source
Apache ds building_from_source
 
Apache
ApacheApache
Apache
 
Apache
ApacheApache
Apache
 
บทที่3
บทที่3บทที่3
บทที่3
 
Apache Tutorial
Apache TutorialApache Tutorial
Apache Tutorial
 
Doc quickinstall 3.x
Doc quickinstall 3.xDoc quickinstall 3.x
Doc quickinstall 3.x
 
Apache
ApacheApache
Apache
 
Apache Web Server Setup 1
Apache Web Server Setup 1Apache Web Server Setup 1
Apache Web Server Setup 1
 
File handling
File handlingFile handling
File handling
 
Jones_Lamp_Tutorial
Jones_Lamp_TutorialJones_Lamp_Tutorial
Jones_Lamp_Tutorial
 
How to install r1 soft
    How to install  r1 soft    How to install  r1 soft
How to install r1 soft
 
Sql installation
Sql installationSql installation
Sql installation
 

En vedette (20)

Apache
ApacheApache
Apache
 
Fedora g11n-presentation-template-v0.2
Fedora g11n-presentation-template-v0.2Fedora g11n-presentation-template-v0.2
Fedora g11n-presentation-template-v0.2
 
Fedora 4 :Introduction and Overview
Fedora 4 :Introduction and OverviewFedora 4 :Introduction and Overview
Fedora 4 :Introduction and Overview
 
Introduction to Fedora project and Fedora.Next
Introduction to Fedora project and Fedora.NextIntroduction to Fedora project and Fedora.Next
Introduction to Fedora project and Fedora.Next
 
Intro to linux os
Intro to linux osIntro to linux os
Intro to linux os
 
Basics of-foss-fedora-introduction
Basics of-foss-fedora-introductionBasics of-foss-fedora-introduction
Basics of-foss-fedora-introduction
 
Fedora 12 Introduction
Fedora 12 IntroductionFedora 12 Introduction
Fedora 12 Introduction
 
Zararfa SummerCamp 2012 - Debian packaging Giraffe and D-push
Zararfa SummerCamp 2012 - Debian packaging Giraffe and D-pushZararfa SummerCamp 2012 - Debian packaging Giraffe and D-push
Zararfa SummerCamp 2012 - Debian packaging Giraffe and D-push
 
LINUX/FEDORA
LINUX/FEDORALINUX/FEDORA
LINUX/FEDORA
 
Fedora17 presentation
Fedora17 presentationFedora17 presentation
Fedora17 presentation
 
Presentation fedora
Presentation fedoraPresentation fedora
Presentation fedora
 
Fedora Introduction
Fedora IntroductionFedora Introduction
Fedora Introduction
 
Introduction to fedora 20cat
Introduction to fedora   20catIntroduction to fedora   20cat
Introduction to fedora 20cat
 
Fedora
FedoraFedora
Fedora
 
Presentacion Proyecto Fedora
Presentacion Proyecto FedoraPresentacion Proyecto Fedora
Presentacion Proyecto Fedora
 
Fedora
FedoraFedora
Fedora
 
Fedora Linux
Fedora LinuxFedora Linux
Fedora Linux
 
Introduction to Ubantu
Introduction to UbantuIntroduction to Ubantu
Introduction to Ubantu
 
Fedora exposicion
Fedora exposicionFedora exposicion
Fedora exposicion
 
Introduction To Fedora
Introduction To FedoraIntroduction To Fedora
Introduction To Fedora
 

Similaire à Lamp introduction in Fedora

Similaire à Lamp introduction in Fedora (20)

Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04
 
Slide 1 - The University of Mississippi
Slide 1 - The University of MississippiSlide 1 - The University of Mississippi
Slide 1 - The University of Mississippi
 
Php Presentation
Php PresentationPhp Presentation
Php Presentation
 
Php myadmin
Php myadminPhp myadmin
Php myadmin
 
Php introduction and configuration
Php introduction and configurationPhp introduction and configuration
Php introduction and configuration
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Php intro
Php introPhp intro
Php intro
 
Php intro
Php introPhp intro
Php intro
 
Php intro
Php introPhp intro
Php intro
 
Lamp
LampLamp
Lamp
 
Create dynamic sites with PHP & MySQL
Create dynamic sites with PHP & MySQLCreate dynamic sites with PHP & MySQL
Create dynamic sites with PHP & MySQL
 
Installing WampServer
Installing WampServerInstalling WampServer
Installing WampServer
 
zLAMP
zLAMPzLAMP
zLAMP
 
Anthony McKeown Drupal Presentation
Anthony McKeown Drupal PresentationAnthony McKeown Drupal Presentation
Anthony McKeown Drupal Presentation
 
Apache - Quick reference guide
Apache - Quick reference guideApache - Quick reference guide
Apache - Quick reference guide
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
 
Linux advanced concepts - Part 2
Linux advanced concepts - Part 2Linux advanced concepts - Part 2
Linux advanced concepts - Part 2
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lamp
 
Supercharging your PHP pages with mod_lsapi in CloudLinux OS
Supercharging your PHP pages with mod_lsapi in CloudLinux OSSupercharging your PHP pages with mod_lsapi in CloudLinux OS
Supercharging your PHP pages with mod_lsapi in CloudLinux OS
 

Dernier

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Dernier (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Lamp introduction in Fedora

  • 2. What is LAMP? LAMP > Linux (operating system), Apache HTTP Server, MySQL (database software) and PHP (or sometimes Perl or Python) *Similar terms exist for essentially the same software suite (AMP) running on other operating systems, such as Microsoft Windows (WAMP), Mac OS (MAMP), Solaris (SAMP), iSeries (iAMP), or OpenBSD (OAMP).
  • 3. Apache HTTP Server The Apache HTTP Server > web server software notable for playing a key role in the initial growth of the World Wide * The Hypertext Transfer Protocol (HTTP) is a networking protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web.
  • 4. MySQL MySQL (MySQL (Structured Query Language) > is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases.
  • 5. PHP PHP > is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. * PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document
  • 6. phpMyAdmin phpMyAdmin > is an open source tool written in PHP intended to handle the administration of MySQL with the use of a Web browser. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; or managing users and permissions.
  • 7. Install MySQL Install MySQL 5 : 1. Install MySQL  $ yum install mysql mysql-server 2. Make a system startup links untuk MySQL dan start MySQL :  $ chkconfig --levels 235 mysqld on  $ /etc/init.d/mysqld start 3. Run :  $ mysql_secure_installation
  • 8. Install Apache2 Install Apache2 1. Apache2 is available in Fedora 16 :  # yum install httpd 2. Set Apache run on boot :  # chkconfig --levels 235 httpd on .3. Start Apache :  # /etc/init.d/httpd start  Open browser http://localhost/
  • 9. Install PHP5 Install PHP5 1. Install PHP5, dependenciesnya dan Apache PHP5 module :  # yum install php mysql-php 2. Restart Apache :  # /etc/init.d/httpd restart 3. Tes info.php - make file info.php > /var/www/html  # vi /var/www/html/info.php - Fill with : <?php phpinfo(); ?> - open browser : http://localhost/info.php
  • 10. Install phpMyAdmin 1. Install phpMyAdmin :  # yum -y install phpMyAdmin php-mysql php-mcrypt 2. Lihat konfigurasi-ny :  # vi /etc/httpd/conf.d/phpMyAdin.conf See this : <Directory /usr/share/phpMyAdmin/> Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 </Directory> 3. Open browser http://localhost/phpmyadmin username : root password : password mysql