Fork the project and enjoy.
Atention for pre requisites and License!!!
Virtual Box
Vagrant
Ansible
Python3
Marcos Silvestrini
This project is licensed under the MIT License - see the LICENSE.md file for details
https://www.virtualbox.org/wiki/Documentation
https://www.vagrantup.com/docs/index.html
https://docs.ansible.com/
https://www.alura.com.br/formacao-devops
https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.rpm
sudo wget https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.rpm
sudo yum localinstall vagrant_2.2.7_x86_64.rpm -y
vagrant ––version
Vagrantfile with distribution boxes. If you to change other SO, replace this file in .\Vagrantfile
Boxes this project: Centos 8 and Oracle Linux 8
Centos 8 box has a bug in virtualbox guest plugin,however there is a workaround solution applied to Vagrantfile, but this makes the provisioning of machines extremely slow!
Ansible structure with inventory, playbooks and roles. This structure is responsible for provisioning the infraestructure of project
Important!!!
This structure is path for generate your ssh key pair.
clone this reposotory
Generate your ssh pub key and copy to security folder
Switch your box. Default is Oracle Linux
cd vagrant-wordpress
vagrant validate
vagrant up
Configure Network
Configure Mounts
Configure ssh
Configure Firewall (firewalld or iptables)
Configure Selinux
Install Updates
Install Python 3
Install Mysql and packages
Create database
Create User
Configure Mysql
Set default repositories for download packages(Epel\Remi)
Install Apache,PHP and packages
Configure Apache and PHP
Install Wordpress
Configure Wordpress