Skip to main content
43
results
Andrew Fletcher
When managing a server or developing applications, particularly on an Ubuntu system running Nginx, it's often necessary to verify the existence of files. This is crucial for tasks like deploying new versions, checking configuration files, or ensuring that required assets are in place. In this article, we'll explore how to use command-line queries to check if a file exists, highlighting various options and methods you can use.   Basic File Check with test Command The test command is a simple...
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
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 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
These steps are for Drupal 8 and 9.   Export your database Order here is...
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
git reset, git revert, and git cherry-pick are three Git commands used for different purposes related to managing your version control history. Here's a brief overview of each command: git reset git revert git cherry-pick  Snapshot git revert is to roll back to a previous version of the repo you're working on git reset simply wipe all changes made since the last commit.  You don't want to commit the changes you have locally, however, you want to reinstate the conditions as they...
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...
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...