Install Webserver LAMP (Linux, Apache, MySQL, PHP) di Ubuntu 16.04

Kam, 04/28/2016 - 09:21 -- bonny
LAMP

Berikut cara install Webserver LAMP (Linux, Apache, MySQL, PHP) di Ubuntu 16.04 beserta beberapa extension yang sering digunakan:

$ sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mbstring php7.0-imap phpmyadmin php7.0-cli php7.0-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear php-auth php7.0-mcrypt mcrypt imagemagick libruby libapache2-mod-python php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-dev memcached php-memcache php-imagick php-gettext mysql-client mysql-server

... Reading package lists...

Do you want to continue? [Y/n] Y

Kemudian jawab Yes dengan mengetik "Y" kemudian Enter.

Get:1 http://id.archive.ubuntu.com/ubuntu xenial/main amd64 libapr1 amd64 1.5.2-3 [86,0 kB] ...

Dan tunggu hingga selesai, setelah selesai untuk mencoba buka Browser dan ketik alamat http://localhost