More than 455 million websites in the world use Wordpress as a CMS - Content Management System. It is installed on top of the LAMP stack, in this lab you will attempt to automate Wordpress installation using Ansible.
Manual Steps:
- Install the following packages:
- php-mysqlnd
- php-fpm
- mariadb-server
- httpd
- tar
- curl
- php-json
- Allow service HTTP and HTTPS in the firewall
- Start and Enable the mariaDB service
- Create a new database in mariaDB named wordpress and give new user admin access to the wordpress database with an appropriate password
- Download and extract https://wordpress.org/latest.tar.gz
- Copy the wordpress directory to /var/www/html/
- Allow the HTTPD service system user access to the newly copied directory recursively and change SELinux security context to httpd_sys_rw_content_t
- Once done successfully, navigate to your IP and follow the on screen steps.