Skip to main content
55
results
Andrew Fletcher
When managing a server or developing applications, particularly on an Ubuntu system running Nginx, it's often necessary to verify the existence of files. This is crucial for tasks like deploying new versions, checking configuration files, or ensuring that required assets are in place. In this article, we'll explore how to use command-line queries to check if a file exists, highlighting various options and methods you can use.   Basic File Check with test Command The test command is a simple...
Andrew Fletcher
Managing large directories, especially those filled with a diverse mix of media...
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
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
Lando is a local development environment tool, and it might not directly support...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
Create a Lando setup running Drupal 10. The command you provided appears to be a...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
  Install the CKAN package Begin by cleaning up your server environment.  Do this by updating Ubuntu’s package index: sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions): sudo apt install -y libpq5 redis-server nginx supervisorResponse Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fontconfig-config...
Andrew Fletcher
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
CKAN extensions - adding to your installation   Following the information...
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...