Lamp introduction in Fedora

1,513 views

Published on

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

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

No notes for slide

Lamp introduction in Fedora

  1. 1. LAMPIntroductionPrima Yogi Loviniltra | yogi@numoss.org
  2. 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 onother operating systems, such as Microsoft Windows (WAMP), Mac OS(MAMP), Solaris (SAMP), iSeries (iAMP), or OpenBSD (OAMP).
  3. 3. Apache HTTP ServerThe Apache HTTP Server > web server software notable for playing akey role in the initial growth of the World Wide* The Hypertext Transfer Protocol (HTTP) is a networking protocol fordistributed, collaborative, hypermedia information systems. HTTP is thefoundation of data communication for the World Wide Web.
  4. 4. MySQLMySQL (MySQL (Structured Query Language) > is a relationaldatabase management system (RDBMS) that runs as a serverproviding multi-user access to a number of databases.
  5. 5. PHPPHP > is a general-purpose server-side scripting language originallydesigned for web development to produce dynamic web pages.* PHP code is embedded into the HTML source document and interpreted by aweb server with a PHP processor module, which generates the web pagedocument
  6. 6. phpMyAdminphpMyAdmin > is an open source tool written in PHP intended tohandle the administration of MySQL with the use of a Web browser. Itcan perform various tasks such as creating, modifying or deletingdatabases, tables, fields or rows; executing SQL statements; ormanaging users and permissions.
  7. 7. Install MySQLInstall MySQL 5 :1. Install MySQL  $ yum install mysql mysql-server2. Make a system startup links untuk MySQL dan start MySQL :  $ chkconfig --levels 235 mysqld on  $ /etc/init.d/mysqld start3. Run :  $ mysql_secure_installation
  8. 8. Install Apache2Install Apache21. Apache2 is available in Fedora 16 :  # yum install httpd2. Set Apache run on boot :  # chkconfig --levels 235 httpd on.3. Start Apache :  # /etc/init.d/httpd start  Open browser http://localhost/
  9. 9. Install PHP5Install PHP51. Install PHP5, dependenciesnya dan Apache PHP5 module :  # yum install php mysql-php2. Restart Apache :  # /etc/init.d/httpd restart3. 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. 10. Install phpMyAdmin1. Install phpMyAdmin :  # yum -y install phpMyAdmin php-mysql php-mcrypt2. Lihat konfigurasi-ny :  # vi /etc/httpd/conf.d/phpMyAdin.confSee this :<Directory /usr/share/phpMyAdmin/>Order Deny,AllowDeny from AllAllow from 127.0.0.1Allow from ::1</Directory>3. Open browser http://localhost/phpmyadmin username : root password : password mysql

×