Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imannovv/lamp-stack-centos-ansible
Demo/playground RHEL/CentOS 7 servers with a LAMP stack (with multiple versions of PHP), set up using Ansible
https://github.com/imannovv/lamp-stack-centos-ansible
ansible apache lamp lamp-setup lamp-stack linux mariadb php php56 php56-fpm php72-fpm php74 php74-fpm
Last synced: about 2 months ago
JSON representation
Demo/playground RHEL/CentOS 7 servers with a LAMP stack (with multiple versions of PHP), set up using Ansible
- Host: GitHub
- URL: https://github.com/imannovv/lamp-stack-centos-ansible
- Owner: imannovv
- License: apache-2.0
- Created: 2023-10-17T22:45:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T11:45:01.000Z (about 1 year ago)
- Last Synced: 2024-10-12T12:21:04.261Z (3 months ago)
- Topics: ansible, apache, lamp, lamp-setup, lamp-stack, linux, mariadb, php, php56, php56-fpm, php72-fpm, php74, php74-fpm
- Language: Python
- Homepage:
- Size: 1010 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Setup LAMP with multiple PHP versions in Ansible
=========![Image](images/ansible.png)
Setting up LAMP(Linux, Apache, MariaDB, PHP) with 5.6, 7.2, 7.4 versions of PHP in Ansible
Requirements
------------Minimum 2 Managed nodes(in my case CentOS7, you may see problems with other distros) and 1 Control node
Dependencies
------------Dependencies will downloaded and ready in "collections" section.
Example Playbook
----------------After changing ansible.cfg and inventory files, Run lamp.yml file to start the Setup of the LAMP Stack
ansible-playbook lamp.yml
But, If you run the playbook twice or more, run this command
ansible-playbook lamp.yml --skip-tags run_only_once
Images from Project
-------![Image](images/php-56.png)
---
![Image](images/php-72.png)
---
![Image](images/php-74.png)License
-------Apache License
Author Information
------------------[LinkedIn](https://www.linkedin.com/in/imannovv/)