Files
varlog/_cache/articles/78e1e6cf-2b5e-4d54-9bef-0d0ac21757b9.json
T
2026-05-15 10:37:48 +02:00

1 line
1.9 KiB
JSON

{"uuid":"78e1e6cf-2b5e-4d54-9bef-0d0ac21757b9","slug":"lamp","title":"[OBSOLÈTE] Linux Apache MySQL PHP sous Fedora Core 24","author":"cedric@abonnel.fr","published":true,"published_at":"2023-02-09 16:12:19","created_at":"2023-02-09 16:12:19","updated_at":"2023-02-09 16:12:19","revisions":[],"cover":"","files_meta":[],"external_links":[],"seo_title":"","seo_description":"","og_image":"","category":"Informatique","content":"# [OBSOLÈTE] Linux Apache MySQL PHP sous Fedora Core 24\n\n<note important>Article OBSOLÈTE\\\\\nJe vous conseille d'installer une solution Web sur un serveur **Debian**. </note>\n\nJe vous présente (rapidement) comment installer un serveur Linux Apache MySQL PHP sous **Linux Fedora 24 Desktop**.\\\\\nToutes les commandes sont a exécuter dans une fenêtre **terminal**.\n\n## - Installer sous Linux\n### - Linux Fedora\nOn commence à par installer **Apache httpd**.\n\n```bash\ndnf install httpd\n```\n\nAjouter des règles dans le firewall:\n```bash\nsudo firewall-cmd --permanent --add-service=http\nsudo firewall-cmd --permanent --add-service=https\nsudo systemctl reload firewalld\n```\n\nActiver Apache automatiquement :\n```bash\nsudo systemctl enable httpd.service\n```\n\nDémarrer le service apache :\n```bash\nsudo service httpd start\n```\n\nOn continue avec l'installation du SGBD **MariaDB**.\n\n```bash\nsudo dnf install mariadb-server\n```\n\nDémarrage de MariaDB\n```bash\nsudo service mariadb start\n```\n\nActiver MariaDB automatiquement :\n```bash\nsudo systemctl enable mariadb\n```\n\nSécuriser l'installation de MariaDB :\n```bash\nmysql_secure_installation\n```\n\nEt enfin, on installe l'interpréteur **PHP**\n\n```bash\nsudo dnf install php-mysql php-gd php-cli php-mbstring php-cli php-fpm\n```\n\nActiver PHP FPM automatiquement :\n```bash\nsudo systemctl enable php-fpm\n```\n\nDémarrer le service php-fpm et apache :\n```bash\nsudo service php-fpm start\n```","featured":false,"tags":[]}