developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
59
results
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx server.
1: Apache Utilities Package
First, update your server’s package index:
sudo apt updateCheck if the utilities package exists in your environment by executing the command
dpkg --get-selections | grep apacheResponse:
apache2-utils install
libapache-pom-java installSo it exists. But what do you do if it doesn't exist?
How come I need to install apache-utils? To restrict access you will be using...
Andrew Fletcher
•
This guide has been compiled as a reference tool on how to access field values...
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,...
Andrew Fletcher
•
In this article I'll walk through the steps I went through to install Solr on Ubuntu.
Step 1: Java
Check if Java is installed on your server:
java -versionNot there - then Java is the first step for you to set up for Solr. JAVA SE 8 or Later is required to run Apache Solr 8. Utilisation taking after order to check in the event that you have Java introduced as of now on your system.
sudo apt install openjdk-11-jdkVersion check again and you now will get a response...
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...
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 information.
Enable the plugin
In your CKAN config file (/etc/ckan/default/ckan.ini), update the datastore plugin
ckan.plugins = datastore
Set-up the database
The DataStore requires a separate PostgreSQL database to save the DataStore resources. List the existing databases:
sudo -u postgres psql -lResponse
List of databases
Name | Owner | Encoding |...
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...
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...