• Yang Baru Ditulis

  • Kategori

  • Archives

  • Blog Stats

    • 195,439 hits
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 11 other followers

Install LAMP pada Ubuntu 12.04 Server 64 bit

Berikut langkah-2 untuk instal LAMP ( Linux Mysql PHP ) di Ubuntu 12.04 server.

1. Install mysql
apt-get install mysql-server mysql-client

2. Install apache2
apt-get install apache2

3. Install php5
apt-get install php5 libapache2-mod-php5

4. Restart apache2
/etc/init.d/apache2 restart

5. Install mysql support
apt-get install php5-mysql

6. Restart apache2
/etc/init.d/apache2 restart

7. Install phpmyadmin
apt-get install phpmyadmin

8. Restart apache2
/etc/init.d/apache2 restart



1).  Ketika restart apache2, ada error seperti ini:

“apache2 : Could not reliably determine the server’s fully qualified domain name, using for ServerName .. ”

Untuk memperbaiki error ini, kita perlu edit  file /etc/apache2/httpd.conf

Buka  terminal dan ketikan :

sudo nano /etc/apache2/httpd.conf

Tambahkan baris berikut ini :

ServerName  localhost

Simpan file dan restart apache2

sudo /etc/init.d/apache2 restart

Thank you


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 )

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: