ubuntu:install:lamp
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| ubuntu:install:lamp [2022/11/09 14:03] – [Fichier bash] 82.64.116.81 | ubuntu:install:lamp [2024/06/26 08:47] (Version actuelle) – [Fichier bash] sbestel | ||
|---|---|---|---|
| Ligne 2: | Ligne 2: | ||
| + | ====== Mise à jour 20.04 à 22.04 ====== | ||
| + | |||
| + | Erreur lancement Appache2 = pb de php7.4 et 8 | ||
| + | sudo apt install php8.1-cli php8.1-common php8.1-imap php8.1-redis php8.1-xml php8.1-zip php8.1-mbstring | ||
| + | |||
| + | |||
| + | sudo a2dismod php7.4 | ||
| + | sudo a2enmod php8.1 | ||
| + | | ||
| + | (This is php ver. you have after upgrade. Please verify the exact version by looking into / | ||
| + | |||
| + | systemctl restart apache2 | ||
| + | sudo apachectl configtest | ||
| ===== Fichier bash ===== | ===== Fichier bash ===== | ||
| sudo apt update && sudo apt upgrade | sudo apt update && sudo apt upgrade | ||
| - | sudo apt install apache2 apache2-utils php libapache2-mod-php | + | sudo apt install apache2 apache2-utils |
| - | sudo apt install php-curl php-gd php-intl | + | sudo apt install |
| - | sudo apt install phpmyadmin -y | + | sudo apt install |
| - | + | ||
| + | * A checker si 8.1 : | ||
| + | sudo apt install php7.4 libapache2-mod-php7.4 php7.4-mysql php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline | ||
| + | | ||
| + | sudo apt install phpmyadmin -y | ||
| + | |||
| + | * | ||
| + | | ||
| read -p "votre reponse oui/non " reponse | read -p "votre reponse oui/non " reponse | ||
| if [[ " | if [[ " | ||
| Ligne 23: | Ligne 43: | ||
| sudo mysql_secure_installation | sudo mysql_secure_installation | ||
| - | + | ||
| - | sudo mysql | + | mariadb -u root -p |
| | | ||
| GRANT ALL ON *.* TO ' | GRANT ALL ON *.* TO ' | ||
ubuntu/install/lamp.1668002624.txt.gz · Dernière modification : 2022/11/09 14:03 de 82.64.116.81
