Skip to main content
52
results
Andrew Fletcher
At first, I attempted echo 1 > /proc/sys/vm/drop_cachesResponse -bash: /proc/sys/vm/drop_caches: Permission deniedAdding sudo in front of the command was met with the same result.  What about if I execute the shell as root sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Success.  Caches cleared.   Different types of clearing cache   Clear PageCache only sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Clear dentries and inodes sudo sh -c 'echo 2 >...
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,...
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
An approach to generating a backup server is using a shell script.  A script can define directories to backup, and pass those directories as arguments to the tar utility, which creates an archive file. The archive file can then be moved or copied to another location.   Example Shell Script #!/bin/bash # # Backup script # # NAME: daily-backup.sh # PATH: /mnt/e/bin # DESC: Backup scripts, documents and configuration files to .tar # # What to backup # backup_files="/home...
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
Following the instructions on CKAN DataStore with a little...
Andrew Fletcher
Supervisor running as root error when running the command sudo service...
Andrew Fletcher
Supervisor running as root error when running the command sudo service supervisor statusResponse error 892 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.Check the supervisord.conf file in the directory cd /etc/supervisor/The file contents for me was ; supervisor config file [unix_http_server] file=/var/run/supervisor.sock ; (the...
Andrew Fletcher
Listen in on the ports being used on your server.  To do so, run the...
Andrew Fletcher
Error with Nginx When running an Nginx test, the following response was being...
Andrew Fletcher
The following the CKAN source install docs from start to finish including solr....
Andrew Fletcher
Goal: Restrict content access through username and password entry. 1: Apache...