Debian 11
Debian 11
Cette dernière version de Debian doit cependant être complétée pour être exploitable avec certaines applications
NEttoyage
Composants indispensables
En mode root
apt install ca-certificates apt-transport-https software-properties-common wget curl lsb-release
PHP 8.2
apt update apt install lsb-release apt-transport-https ca-certificates software-properties-common wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' apt update
PHP 8.1
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x apt-get update apt-get install php8.1 libapache2-mod-php8.1
Quelques extensions souvent indispensables :
apt install php8.1-common php8.1-curl php8.1-bcmath php8.1-intl php8.1-mbstring php8.1-xmlrpc php8.1-mcrypt php8.1-mysql php8.1-gd php8.1-xml php8.1-cli php8.1-zip
Pour optimiser Apache2
apt install php8.1-fpm libapache2-mod-fcgid a2enmod proxy_fcgi setenvif a2enconf php8.1-fpm systemctl restart apache2 systemctl status php8.1-fpm
MariaDB
Sécurisation
mysql_secure_installation