SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque (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
 

Semelhante a Lamp introduction in Fedora

Semelhante a 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
 

Último

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Último (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

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