LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Sunday, January 30, 2022

Install LAMP Stack on Debian 11 (Bullseye)

0 comments

PC: www.geekboots.com
Step 1: Update Debian 11 (Bullseye)


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, 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-{bcmath,bz2,intl,gd,mbstring,mysql,zip,cli,fpm,opcache,xml,curl,intl,xsl,soap,json,apcu,imap,xmlrpc}


No comments:

Post a Comment