Skip to main content
52
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
Drush open_basedir restriction error PHP Warning: include(): open_basedir...
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...
Andrew Fletcher
You can perform the following steps: Check Apache Modules Apache Struts 2 is...
Andrew Fletcher
These steps are for Drupal 8 and 9.   Export your database Order here is important.  First you want to clear all the Drupal caches.  Then export / dump the db the sql database to a file in your home directory. drush cr drush sql-dump > path/to/your/file/ourpout/sql-dump-file-name.sqlor drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2022-12-07.sqlWithout having to manually set the date drush sql-dump --extra-dump=--no-tablespaces...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...
Andrew Fletcher
Permission error Traceback (most recent call last): File...
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options....
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...
Andrew Fletcher
Ubuntu 20.04 comes with Python 3.8 installed.  If you run the update script, you'll be informed that the latest version of Python is running.  But here is the kicker, the actual latest version is currently 3.11.6... see https://www.python.org/downloads/source/ Use the following commands to download the Python 3.11.6 source code   Download the latest version cd /usr/src sudo wget https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz   Extract archive Once the download 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
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...