LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Wednesday, July 15, 2020

Install LAMP Stack on Ubuntu 20.04 (Focal Fossa)

1 comments
Step 1: Update Ubuntu 20.04 (Focal Fossa)

As always it is recommended to keep the repository and packages up to date. Run the commands below to update your system.

sudo apt update && sudo apt -y upgrade

Step 2: Install Apache, MariaDB, and PHP

sudo apt install apache2 apache2-utils software-properties-common mariadb-server mariadb-client php

Step 3: Run the command below to secure your database server.

sudo mysql_secure_installation

Step 4: Install standard php extensions which are commonly used.

sudo apt install libapache2-mod-php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath

1 comment:

  1. Hey this is awesome, you are spreading very informative blog, I am very happy to read this. Keep sharing
    Switzerland VPS Hosting

    ReplyDelete