Skip to main content
48
results
Andrew Fletcher
When managing large directories filled with media like documents and images.  My current project directory totalling 32GB, therefore it's necessary to compress these files for easier handling and storage. However, not all files and subdirectories are needed in every archive. For instance, you might want to exclude temporary or non-essential folders from the compression. Is there a way to perform this selectively, using the zip command while specifying directories to exclude? When working on...
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
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du (disk usage) command. The syntax for this command can vary slightly depending on the operating system you are using, but a common way to use it is as follows:   For Linux and macOS du -sh /path/to/directory du Disk usage -s Summarise the total size of the directory and do not include the size of each individual file within the directory -h Human-readable format, making the size easier to understand (e.g.,...
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...
Andrew Fletcher
Cleaning out or clearing data in Solr can be done in a few different ways,...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install <package> npm i <package>npm install --save <package> npm i -S <package>npm install --save-dev <package> npm i -D <package>npm install --global <package> npm i -G <package>npm test npm t  Update and outdated Use outdated to discover dependencies that are out of date npm outdatedUse update to perform safe dependency upgrades npm updateUse install <packagename>@latest to...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...