Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 907 Bytes

Lab - Wordpress.md

File metadata and controls

21 lines (18 loc) · 907 Bytes

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:

  1. Install the following packages:
  • php-mysqlnd
  • php-fpm
  • mariadb-server
  • httpd
  • tar
  • curl
  • php-json
  1. Allow service HTTP and HTTPS in the firewall
  2. Start and Enable the mariaDB service
  3. Create a new database in mariaDB named wordpress and give new user admin access to the wordpress database with an appropriate password
  4. Download and extract https://wordpress.org/latest.tar.gz
  5. Copy the wordpress directory to /var/www/html/
  6. Allow the HTTPD service system user access to the newly copied directory recursively and change SELinux security context to httpd_sys_rw_content_t
  7. Once done successfully, navigate to your IP and follow the on screen steps.