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 | Jan 11, 2021 | coding, linux
Testing a server with 1 CPU and 5 php workers. Using netstat command with watching every 3 seconds to capture the IP of the incoming connection. Sending 30 php request per seconds (last 30 seconds) Github source:...
by johncausing | Jan 10, 2021 | coding, linux
Basic bash script for fetching proxy (socks 4) and tester. Screenshot below shows the demo of this script. Source code from github: https://github.com/jmcausing/proxy-fetcher
by johncausing | Jan 8, 2021 | linux
Get the current firewall rules (LIST) iptables -L Screenshot above shows the default firewall rule of that centos7 linux machine. No rules added so far. Inserting rule to block a specific IP Address iptables -A INPUT -s 35.33.11.192 -j DROP Screenshot below shows that...
by johncausing | Oct 4, 2020 | coding, linux
This is a short video where it shows on how to host multiple WordPress sites using LXD and Nginx Reverse Proxy and comes with these features: – Adding sub-domain to Cloudflare automatically -SSL (Let’s Encrypt) -WP-CLI Phpmyadmin Hosted in Google Cloud...