Skip to main content
37
results
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial to understand that the issue lies within the "less" package, not Nginx itself. The vulnerability affects "less" before version 606, where close_altfile in filename.c in less omits shell_quote calls for LESSCLOSE, potentially allowing shell command injection. The current less version is 551, which is vulnerable. You'll need to upgrade "less" to a version at or beyond 606. CVE-2022-48624 close_altfile in filename.c in...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
In our projects, team members frequently generate new Git branches linked to the...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
Adding an SSL wildcard certificate to an Ubuntu server involves several steps.  A wildcard certificate can secure subdomains of a domain with a single certificate. Here's a general outline of the process: I'll be using an existing wildcard certificate. sudo apt update && sudo apt upgrade -y  Copy the certificate sudo cp /etc/letsencrypt/live/your_domain/fullchain.pem /etc/ssl/your_domain.crt sudo cp /etc/letsencrypt/live/your_domain/privkey.pem /etc/ssl/your_domain.keyAdd the...
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
git reset, git revert, and git cherry-pick are three Git commands used for...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
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
Git filename error when running the git add command.  The error I'm...
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...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...