Install apache2 php5 mysql dan phpmyadmin di linux
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Install apache2 php5 mysql dan phpmyadmin di linux

on

  • 5,615 views

 

Statistics

Views

Total Views
5,615
Views on SlideShare
5,615
Embed Views
0

Actions

Likes
0
Downloads
81
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Install apache2 php5 mysql dan phpmyadmin di linux Document Transcript

  • 1. Install Apache2, PHP5, MySQL dan PHPMyAdmin di Linux (Based Ubuntu) Notes: Muhamad Rifki http://rifkilabs.net
  • 2. 1. Masuk sebagai root: sudo su2. Install apache2 apt-get install apache23. Install paket php apt-get install php5 libapache2-mod-php5
  • 3. 4. Membuat file info.php untuk memastikan phpsudah berjalan. gedit /var/www/info.php5. Install mysql. apt-get install mysql-servermysql-client6. Install pendukung untuk mysql dan php apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmpphp5-sqlite php5-tidy php5-xmlrpcphp5-xsl php5-json
  • 4. 7. Restart apache2 /etc/init.d/apache2 restart8. Install Phpmyadmin: apt-get install phpmyadmin • * Configuring phpmyadmin pada tahap instalasi phpmyadmin ada 2 pilihan 1. apache2 <– pilih ini dan enter 2. lighttpd • * Configure database for phpmyadmin with dbconfig-common? Pilih NO dan Enter
  • 5. 9.Berhubung http://localhost/phpmyadmin NOT FOUND / tidak ada maka kita punya 2 cara untuk solusi ini: a. Cara pertama perlu me-link kan caranya:ln -s /etc/phpmyadmin/apache.conf/etc/apache2/conf.d/phpmyadmin.conf b. Cara kedua yaitu di share ke lokasi /var/www/ln -s /usr/share/phpmyadmin//var/www/phpmyadminAtau jika keduanya dijalankan pun tidak masalah,hanya saja di directory terdapat file phpmyadmin(/var/www/phpmyadmin) untuk cara yang kedua (b).10. Dan terakhir Reload apache2 dan jalankan: /etc/init.d/apache2 reload