Skip to main content
65
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
To review the content of files being generated in the /tmp directory on an...
Andrew Fletcher
A growing list of commands I've used and what they do in no specific order sudo...
Andrew Fletcher
When attempting to install python libraries on my OSX pip3 install pandas,...
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server...
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
The "Too many open files" error in Python typically occurs when your program has...
Andrew Fletcher
You can use the pip list --outdated command to view a list of installed Python...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
Snapshot of the error File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1271, in putheader if _is_illegal_header_value(values[i]):The above error points to the putheader definition in client.py file located  python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/The putheader definition in the client.py file: 1250 def putheader(self, header, *values): 1251 """Send a...
Andrew Fletcher
To begin, note that Lando is often used for web development and it may not be...
Andrew Fletcher
You can perform the following steps: Check Apache Modules Apache Struts 2 is...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
The error message "RuntimeError: Directory 'static/' does not exist" typically...