Home > Linux > Install Apache2, PHP5, MySQL di Ubuntu

Install Apache2, PHP5, MySQL di Ubuntu


Sung gini langkah-langkah install web Apache, PHP dan server database MySQL langkah-langkahnya sebagai berikut:

Instalasi web server Apache
# apt-get install apache2

Instalasi database server MySQL
# apt-get install mysql-server

Instalasi php untuk web server Apache
# apt-get install php5

Instalasi MySQL untuk Apache
# apt-get install libapache-mod-acct-mysql
# apt-get install php5-mysql

dah gitu restart apache2nye ya,, gini caranya:
/etc/init.d/apache2 restart

Default htdocs terletak di /var/www/
Default Mysql-data di /var/lib/mysql/mysql/

Oke semoga bisa membantu

Categories: Linux Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: