info:serveur_ubuntu

Installation serveur Apache/PHP/MySQL

Pour installer un serveur web avec Apache, PHP et MySQL sur ubuntu

IMPORTANT: sécuriser avec ufw ou iptables

dépôts

Installer le dépôt d'ondrej, qui contient un grand nombre de soft utiles

add-apt-repository ppa:ondrej/php
add-apt-repository ppa:ondrej/apache2
apt-get update
apt-get upgrade

programmes

Et maintenant les programmes

sudo apt-get install apache2 mysql-server mysql-common php-common php-fpm php7.3-cli php7.3-common php7.3-fpm php7.3-intl php7.3-json  php7.3-mysql   php7.3-opcache php7.3-readline php7.3-xml php8.1-cli  php8.1-common php8.1-fpm php8.1-intl php8.1-mysql php8.1-opcache php8.1-readline  php8.1-xml  php8.2-cli  php8.2-common     php8.2-fpm  php8.2-gd   php8.2-mbstring   php8.2-mysql      php8.2-opcache    php8.2-readline   php8.2-xml  php8.2-zip 		
  • info/serveur_ubuntu.txt
  • Dernière modification : 2023/03/09 07:27
  • de radeff