Skip to main content

Instalasi


Install webserver | Apache 2
  1. Install update and upgrade
    apt update && apt upgrade -y
  2. Install webserver and dependencies
    apt install apache2 -y
    apt install php php-common libapache2-mod-php php-bz2 php-gd php-mysql \
    php-curl php-mbstring php-imagick php-zip php-common php-curl php-xml \
    php-json php-bcmath php-xml php-intl php-gmp zip unzip wget -y
    a2enmod env rewrite dir mime headers setenvif ssl

    check module Apahce installed:

    root@nc:~# apache2ctl -M
    Loaded Modules:
     core_module (static)
     so_module (static)
     watchdog_module (static)
     http_module (static)
     log_config_module (static)