Skip to main content
151
results
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
Setting up the admin password.   Process: 1. Edit jetty.xml To begin you...
Andrew Fletcher
Find by file name To perform a find command in terminal use find / -name...
Andrew Fletcher
Warning from Google Play Store when uploading an App You must complete the...
Andrew Fletcher
Uploading a new version of an Android app to Google Play and I'm seeing this error Version code 1 has already been used. Try another version code.There are three areas to observe: Version Code: {whole integer} Version Name: {String} Version Name Suffix: {Integer}Currently, my settings are: Version Code: 2 Version Name: 2.0.1 Version Name Suffix: 1While that is true for the app, cross-check the Play Store and what version is currently set in that environment.  The details there...
Andrew Fletcher
Whilst uploading a new version of our Android app, I had the following error...
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
If you have a situation where either you have forgotten a Keystore password or...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a Ubuntu backup shell script.  With a backup in hand, now it was time to test how to unpack a backup and overwrite the directories. First I unpacked the backup to a temporary directory tmp-cc. Now I wanted to replace several of the directories on the server.  Starting with home, var and etc.   But what is an efficient method to overwrite a directory?   Also removing any directories that aren't in the...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too...
Andrew Fletcher
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini).  When I run the...
Andrew Fletcher
Listen in on the ports being used on your server.  To do so, run the...