Implementing https on site

Implementing SSL security on a website is now quite easy -- and free, using the Let's Encrypt free and automated certificate authority.

The process is well described here which takes you through the setup of the certificate and implementing it on an apache website. It includes setting up auto-renewal, to guarantee fresh certificates at all times.

MOMA - February 2016

Paul and I decided to visit the Museum of Modern Art for our latest photo expedition. This is the first either of us had visited it since its major rebuild a few years ago.

Still another wysiwyg test

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit.

Another post as editor

Let's see if inserting an image works now with filtered hrml.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit.

CKEditor - editor test

This is a test of using CKEditor as an Editor (drupal role).

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla.

CKEditor and IMCE Modules

frammis

I enabled CKEditor and IMCE using drush. CKEditor is a WYSIWYG editor and IMCE integrates in-line images into CKEditor. The image at right was uploaded using the pictures button in the toolbar above which also generated the 180x180 thumb.

It seems to be an align right and test is flowing around it in the editor.

Tags:

Adding modules and themes with drush

Adding new modules couldn't be easier with drush.

List modules on site

First, let's see what modules are loaded on our site:

cd [site document root]
drush pml

Tags:

Backup and Upgrade with drush

One of the biggest features of drush is the ease of doing site upgrades. With security updates coming every few days, automating the process is essential.

As always, you need to cd to the site's document root folder.

Backups

Creating an archive of the site is the first step. The simplest approach is:

sudo drush archive-dump

which puts a tgz of both the document root and a sql dump into ~/drush-backups.

Tags:

Some apt-get commands

Ubuntu uses the apt package management system which makes updates and upgrades pretty simple.

When logging on, ubuntu summarizes available updates. Use the following to do the updates:

sudo apt-get upgrade

Note, though:

However, if you want to upgrade, unconcerned of whether software packages will be added or removed to fulfill dependencies, use the ‘dist-upgrade‘ sub command.

Tags:

drush - Drupal's command line utility

While I have noticed numerous references to Drupal's command-line shell, I never, until tonight, took the time to investigate it.

A good starting point is "A Beginner's Guide To Drush: The Drupal Shell". This gives a quick introduction to several useful commands, including Status, Download (DL) and Enable (EN).

drush.org's site (http://drush.ws/) lists and details all the commands and parameters.

Pages

Subscribe to Acheson Home RSS