Skip to main content
66
results
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx server. 1: Apache Utilities Package First, update your server’s package index: sudo apt updateCheck if the utilities package exists in your environment by executing the command dpkg --get-selections | grep apacheResponse: apache2-utils install libapache-pom-java installSo it exists.  But what do you do if it doesn't exist? How come I need to install apache-utils?  To restrict access you will be using...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
This issue I have a folder with about 10,000 files in it.  I want to scan...
Andrew Fletcher
Using Homebrew for speed tests... I'm using Speediest CLI - for more details go...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How to count the number of files in a directory.  At some point you'll have a directory or directories that you need to know the number of files in them.  On Linux, the list command (ls) is piped with the wc -l command. ls | wc -lThis command works great if all the files are located in one directory.  What about if you have multiple directories.  Then you will need to use the find command piped with the wc command find <directory> -type f | wc -lThis command only...
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
At first, I attempted echo 1 > /proc/sys/vm/drop_cachesResponse -bash:...
Andrew Fletcher
Error when running ckan.ini init from flask_debugtoolbar import...
Andrew Fletcher
My goal was to install a requirements.txt file using pip.  First, I wanted to cross-check if I had pip installed on Ubuntu.  Easy to do by running a simple command: pip -VHowever, I was receiving the following response Traceback (most recent call last): File "/usr/lib/ckan/default/bin/pip", line 5, in <module> from pip._internal.cli.main import main File "/usr/lib/ckan/default/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 10, in <module> ...
Andrew Fletcher
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...