Skip to main content
89
results
Andrew Fletcher
Recently, after upgrading to Ubuntu 24.04, we encountered a significant challenge with our Apache Solr service—it refused to restart. This post documents the steps I took to diagnose and resolve the issues, providing a clear guide for anyone facing similar troubles.   Initial troubleshooting The journey began with a simple command to check the status of our Solr service: sudo service solr statusThe response indicated that the service had failed: × solr.service - LSB: Controls Apache Solr as...
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
On a server directory with over 100,000 PDF files, I needed to verify the...
Andrew Fletcher
Managing files on a server often includes tasks like clearing logs or resetting...
Andrew Fletcher
To review the content of files being generated in the /tmp directory on an...
Andrew Fletcher
Managing large directories, especially those filled with a diverse mix of media such as documents and images, can quickly become cumbersome. In my latest project, dealing with a directory that totals a whopping 87GB, the need for efficient file compression and selective archiving became apparent. How can we streamline this process using the zip command, particularly when we want to exclude non-essential files and directories?   The routine of zipping files in Linux In Linux, zipping files...
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
A growing list of commands I've used and what they do in no specific order sudo...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
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
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
Having updated Solr, re-indexing wasn't working. The error in the logs...
Andrew Fletcher
On an Ubuntu 20.02 system with Nginx, you can utilize the following commands to...