Skip to main content
64
results
Andrew Fletcher
A growing list of commands I've used and what they do in no specific order sudo snap install bw ps aux | grep java whoami ip addr show uptime sudo apt update && sudo apt upgrade -y cat /etc/os-release sudo apt-get install needrestart sudo reboot sudo needrestart sudo ckan sysadmin add {name} sudo ckan sysadmin list sudo ckan user list sudo ckan --config /etc/ckan/default/ckan.ini config validate hstr sudo nano /etc/ckan/default/ckan.ini exit  Here's a breakdown of what each of these...
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
When executing the following command, the response I'm getting is npm ERR! code...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
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
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
You can perform the following steps: Check Apache Modules Apache Struts 2 is...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...
Andrew Fletcher
Permission error Traceback (most recent call last): File "/var/www/html/open-ai/summarise-ai.py", line 144, in <module> getfiles() File "/var/www/html/open-ai/summarise-ai.py", line 26, in getfiles summarise(filename) File "/var/www/html/open-ai/summarise-ai.py", line 105, in summarise savedata(filename, refine_outputs['output_text']) File "/var/www/html/open-ai/summarise-ai.py", line 118, in savedata with open(file_name, 'w') as json_file: ...
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options....
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...
Andrew Fletcher
Ubuntu 20.04 comes with Python 3.8 installed.  If you run the update...
Andrew Fletcher
Adding an SSL wildcard certificate to an Ubuntu server involves several steps....