Categories: Uncategorized

Install LAMP Manjaro / Arch Linux

Instalasi LAMP pada manjaro sedikit berbeda jika dibandingkan dengan instalasi pada debian based maupun RHEL based. Berikut adalah langkah-langkah yang dibutuhkan.

Update pacman

sudo pacman -Syu

Install Apache

sudo pacman -S apache

Jalankan dan enable apache 

sudo systemctl start httpd
sudo systemctl enable httpd

Install mariadb

sudo pacman -S mariadb

Jalankan dan enable mariadb

sudo systemctl start mariadb
sudo systemctl enable mariadb

Install php

sudo pacman -S php php-apache

Tambahkan config ke  /etc/httpd/conf/httpd.conf

Cek versi php dengan perintah php -v . Jika versi php adalah php 7, tambahkan baris berikut

# Use for PHP 7.x:
LoadModule php7_module       modules/libphp7.so
AddHandler php7-script php
Include conf/extra/php7_module.conf

Jika versi php adalah versi 5, tambahkan baris berikut

# Use for PHP 5.x:
LoadModule php5_module       modules/libphp5.so
AddHandler php5-script php
Include conf/extra/php5_module.conf

Restart apache

sudo systemctl restart httpd

Troubleshoot

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.

Untuk install phpmyadmin, kunjungi link ini.

[1] [2] [3]

Akhmad Fakhoni Listiyan Dede

View Comments

Share
Published by
Akhmad Fakhoni Listiyan Dede

Recent Posts

Install kubernetes cluster using kubeadm

Hello everyone! 👋 Welcome to our step-by-step guide on using kubeadm to install Kubernetes. It's…

10 months ago

Meningkatkan Efisiensi Memory Proxmox Lebih dari 20%

Proxmox adalah hypervisor yang populer digunakan karena penggunaannya yang cukup simpel jika dibandingkan dengan hypervisor…

4 years ago

Longhorn Failed Upgrade from v0.8.1 to v1.0.0 caused by pv created before v0.6.2

This post is mirror of https://forums.rancher.com/t/failed-upgrade-from-v0-8-1-to-v1-0-0-caused-by-pv-created-before-v0-6-2/17586 I scale down all pods that has vpc to…

4 years ago

Cara Setup Network Ubuntu Server 18.04 pada Proxmox

Ubuntu Konfigurasi network pada Ubuntu Server 18.04 berbeda dengan ubuntu versi sebelumnya. Versi sebelumnya menggunakan…

5 years ago

VSCode Terminal Font Fix on MacOS

For detailed problems, see https://notulensiku.com/2019/02/fix-integrated-terminal-font-vscode/ To solve on mac, you need to install powerline fonts…

5 years ago

Enable Forward Secrecy pada Apache

Untuk mengaktifkan Forward Secrecy pada web browser Apache, versi minimum yang dibutuhkan adalah: OpenSSL 1.0.1c+Apache…

5 years ago