Skip to main content
129
results
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a private folder in the web root Add a .htaccess file to the private folder Update the settings.php file   Create a private folder in the web root Open a terminal window and navigate to the web root directory of your Drupal site. In your web root add your private folder.  In this instance I'll create a folder named 'prvt-media'.  Use the mkdir command to create a new folder named prvt-media mkdir...
Andrew Fletcher
This page will be a progressive outline of moving those regular run scripts that...
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
Find by file name To perform a find command in terminal use find / -name...
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...