# Instalasi Nextcloud 24.09

# Instalasi

---

##### Install webserver | Apache 2

1. Install update and upgrade  
    ```bash
    apt update && apt upgrade -y
    ```
2. Install webserver and dependencies  
    ```bash
    apt install apache2 -y
    ```
    
    ```bash
    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:
    
    ```bash
    root@nc:~# apache2ctl -M
    Loaded Modules:
     core_module (static)
     so_module (static)
     watchdog_module (static)
     http_module (static)
     log_config_module (static)
    
    ```

---

source:

[https://mailserverguru.com/install-nextcloud-on-ubuntu-24-04-lts/](https://mailserverguru.com/install-nextcloud-on-ubuntu-24-04-lts/)