Skip to main content
40
results
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up 57992.5 MB, where locally the site size is showing 957MB.  There is something serious happening here and I need to establish the problem quickly.  When dealing with a significant discrepancy in site size between a local environment and a server, it's important to identify the root cause of the larger disk usage on the server.    Approaches for discovering the issue(s)   1. Analyse Large...
Andrew Fletcher
When executing the following command, the response I'm getting is npm ERR! code...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default Nginx conf is located /etc/nginx/sites-available/ and contains something similar to: server { listen 80; listen [::]:80; server_name uat.oursite.com; return 301 http://uat.oursite.com$request_uri; } server { listen 80; listen [::]:80; listen 443 ssl; ssl_certificate /etc/ssl/certs/Bundle.crt; ssl_certificate_key /etc/ssl/private/MultidomainWildcard.key; # Security...
Andrew Fletcher
Adding an SSL wildcard certificate to an Ubuntu server involves several steps....
Andrew Fletcher
When logging into Ubuntu server you will see a response similar to Welcome to...
Andrew Fletcher
Forcing https and www or non-www is a process that I was a custom to through...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch both local and remote.   Steps to renaming a branch Rename your local branch: If you are on the branch you want to rename: git branch -m new-nameWhereas, if you're on a different branch: git branch -m old-name new-nameDelete the old-name remote branch and push the new-name local branch: git push origin :old-name new-nameReset the upstream branch for the new-name local branch:Switch to the branch and then: git...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...