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 | 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...
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 15, 2020 | coding, linux
A little basic script to add, update dns records from Cloudflare. jq is required. apt install jq Source: https://github.com/jmcausing/Cloudflare-DNS-Manger-Linux-Script Creating A record ./cfdns.sh create Updating A record ./cfdns.sh create Deleting DNS record...
by johncausing | Aug 14, 2020 | coding, linux
We are following this original tutorial by Simos so we are just tweaking this for Google Cloud Platform to make sure HAProxy will work properly. We assume that LXD has been already setup from that guide and we are now on step 3 where containers are already created....