by johncausing | Feb 26, 2021 | coding, linux, wordpress
Part 1. Ansible palybook demo updating php.ini (memory_limit to 512M) to multiple hosts. The goal is to make sure we are targeting the correct running/active php version using this command: ps -aux | grep /etc/php/ | grep -v grep | awk ‘{print $14}’ | awk...
by johncausing | Aug 18, 2020 | coding, linux, wordpress
This is a short video on how to deploy multiple WordPress sites using HAProxy + Cloudflare and other tools like LXD, Ansible and jq. Requirements Ansible – apt install ansibleLXD – lxd initjq – This is for cloudflare string parsing – apt...
by johncausing | Aug 11, 2020 | linux, wordpress
Introduction: Just a short intro. So LXD/LXC it creates an isolated container I just discovered the power of Ansible where it deploys and manage a server/container. So I was thinking that just use a linux script to automate all creating a linux container and install a...
by johncausing | Aug 1, 2020 | coding, wordpress
How to deploy your Bedrock + Trellis site to Kinsta Github adding repositoryEditing files in Trellis (Staging) Ansible.cfgtrellis/group_vars/staging/wordpress_sites.yml and...
by johncausing | Jul 31, 2020 | coding, wordpress
Composer (Requirement #1)Virtual Box (Requirement #2)Vagrant (Requirement #3)Generate github SSH key and add it to ssh agent (3 steps)Editing the development environment filesStarting up our WordPress site (vagrant up) Installing Bedrock + Trellis in Windows 10 using...
by johncausing | Apr 29, 2020 | coding, wordpress
If you are curious about how shortcodes on your site were created like if you saw something like a shortcodes that generates your form, contents and others, see the steps by on how to create basic PHP shortcodes for your WordPress site. Step 1: Register a shortcode...