Linux Apache Mysql PHP (LAMP) pada debian

1. mula-mula update & upgrade sistem anda

# aptitude update && aptitude upgrade
2.install mysql

#  aptitude install mysql-server mysql-client libmysqlclient15-dev

3.  install apache2

# aptitude install apache2 apache2-doc

4. install The "P" part
#install php
aptitude install php5 php5-mysql libapache2-mod-php5
aptitude install perl libapache2-mod-perl2
aptitude install python libapache2-mod-python       

5. configuration
# Apache2 configuration file: /etc/apache2/apache2.conf
nano /var/www/apache2-default/test.php lalu masukkan  <?php phpinfo(); ?>

6. test php
edit  file /var/www/apache2-default/test.php:

7. phpmyadmin
# aptitude install phpmyadmin

referensi :

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s