Skip to main content
68
results
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options.  This depends on whether you want the variable to be system-wide or specific to a user's session.  Here are a couple of more common methods for setting environment variables: Setting environment variables for the current session You can set an environment variable for the current user's session by using the export command in your shell. The variable will be available as long as the session is active. To set an...
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....
Andrew Fletcher
When logging into Ubuntu server you will see a response similar to Welcome to...
Andrew Fletcher
Forcing https and www or non-www is a process that I was a custom to through .htaccess.  In fact I had become very strong at managing and working my .htaccess files.  However, what I had become strong in one area, I was oblivious to using other methods.  My bad. Well that was until I had to change my way.  Working on an Nginx server, .htaccess was not in play.  Instead, I needed to configure the /etc/nginx/sites-available directory. For me to force SSL and www I...
Andrew Fletcher
git reset, git revert, and git cherry-pick are three Git commands used for...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
Logging into the server, and there are packages to be updated.  You know...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
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
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Git filename error when running the git add command.  The error I'm...