Install LAMP di Ubuntu 12.04

Catatan instalasi LAMP di Ubuntu 12.04 di komputer lokal untuk latihan:

  1. Install lamp: sudo apt-get install lamp-server^
  2. Install phpMyAdmin: sudo apt-get install phpmyadmin
  3. Install ftp/vsftpd: sudo apt-get install vsftpd
  4. Ganti lokasi “root folder”: sudo gedit /etc/apache2/sites-available/default
  5. ubah /var/www dengan path atau folder yang diinginkan (buat dulu foldernya).

  6. Edit setting vsftpd: sudo gedit /etc/vsftpd.conf
  7. cek setting berikut ini:
    anonymous_enable=YES
    local_enable=YES
    write_enable=YES
    local_umask=022

  8. Restart vsftpd: sudo /etc/init.d/vsftpd restart
  9. Restart apache: sudo /etc/init.d/apache2 restart

Semoga bermanfaat.

Bahan bacaan:

Advertisements

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