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
42
results
Andrew Fletcher
•
Supervisor running as root error when running the command
sudo service supervisor statusResponse error
604 CRIT Server 'unix_http_server' running without any HTTP authentication checkingCheck the supervisord.conf file in the directory
cd /etc/supervisor/The file content was
; supervisor config file
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default...
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...
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 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 a utility called...
Andrew Fletcher
•
Working through a CKAN installation on Ubuntu 20.04
User sees a server 500...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
It is really simple to switch users in Ubuntu or any other Linux distribution...
Andrew Fletcher
•
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.
Cleaning the cache
sudo yum clean all
rm -rf /var/cache/yum/*
To make the cache
sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.
Updating
When running an update command run
sudo yum -y...
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....